Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
composition:flottants:composition_verticale_d_une_page_de_flottants [2018/12/03 23:12] – jejust | 3_composition:flottants:composition_verticale_d_une_page_de_flottants [2021/11/20 12:02] (Version actuelle) – Correction de la mise en forme. yannick.tanguy | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | ====== | + | ====== |
+ | Lorsque < | ||
+ | Certains auteurs n' | ||
+ | dans les profondeurs des commandes internes de < | ||
- | By default, LaTeX vertically centers the floats on a float page; | + | ===== Paramètres de mise en forme ===== |
- | the present author is not alone in not liking this arrangement. | + | |
- | Unfortunately, | + | |
- | LaTeX-internal commands, so some care is needed to change the | + | |
- | layout. | + | |
- | Float pages use three LaTeX lengths (i.e., TeX skips) to define | + | Les pages de flottants utilisent trois longueurs < |
- | their layout: | + | |
- | + | | |
- | - '' | + | |
- | top of the page to the top of the first float, | + | |
- | - '' | + | |
- | | + | |
- | - '' | + | |
- | bottom of the last float on the page to the bottom of the page. | + | |
- | + | ||
- | (In fact, the output routine places a skip of '' | + | |
- | the '' | + | |
- | + | ||
- | The LaTeX defaults are: | + | |
+ | < | ||
+ | En fait, la routine de sortie place un saut de hauteur '' | ||
+ | mais les sauts de hauteur '' | ||
+ | </ | ||
+ | Les valeurs par défaut de < | ||
+ | ==== ==== | ||
<code latex> | <code latex> | ||
- | | + | \@fptop = 0pt + 1fil |
- | \@fpsep = 8pt + 2fil | + | \@fpsep = 8pt + 2fil |
- | \@fpbot = 0pt + 1fil | + | \@fpbot = 0pt + 1fil |
</ | </ | ||
+ | ===== ===== | ||
- | so that the gaps expand to fill the space not occupied by floats, but | + | de sorte que les espaces s' |
- | if there is more than one float on the page, the gap between them will | + | S'il y a plus d'un flottant sur la page, les espaces entre eux s' |
- | expand to twice the space at top and bottom. | + | |
- | Those who understand this stuff will be able to play elaborate games, | + | ===== Modification des paramètres ===== |
- | but the commonest requirement, | + | |
- | page, is a simple thing to do: | + | |
+ | Une fois ceci compris, des modifications élaborées peuvent être faites. Le besoin le plus courante consiste à obtenir des flottants commençant en haut de la page. C'est assez simple à obtenir : | ||
+ | |||
+ | ==== ==== | ||
<code latex> | <code latex> | ||
\makeatletter | \makeatletter | ||
Ligne 43: | Ligne 39: | ||
\makeatother | \makeatother | ||
</ | </ | ||
- | Surprisingly, | + | ===== ===== |
- | the page. One can justify a value of '' | + | |
- | '' | + | |
- | and the height of normal ('' | + | |
- | Note that this is a " | + | Vous serez peut-être surpris de constater que ce paramètre positionne vos flottants trop haut sur la page. |
- | file, or at worst in the document preamble); making the change for a | + | Vous pourrez donc préférer une valeur de '' |
- | single float page is likely | + | entre '' |
+ | Notez qu'il s'agit d'un paramètre « global ». Le mieux est de le définir dans un fichier de style, ou au moins dans le préambule du document. | ||
+ | Effectuer le changement pour une seule page de flottants s' | ||
----- | ----- | ||
- | |||
//Source:// [[faquk> | //Source:// [[faquk> | ||
- | {{htmlmetatags> | + | {{htmlmetatags> |
- | metatag-og: | + | metatag-og: |
metatag-og: | metatag-og: | ||
}} | }} | ||
- |