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/05/25 19:32] – joseph.wright | 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: | ||
- | --- | + | ====== Comment changer l' |
- | category: floats | + | |
- | tags: tables figures | + | |
- | permalink: / | + | |
- | date: 2014-06-10 | + | |
- | --- | + | |
- | # Vertical layout of float pages | + | 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: | + | * '' |
+ | * '' | ||
+ | * '' | ||
- | - `fptop` defines the distance from the | + | < |
- | top of the page to the top of the first float, | + | En fait, la routine de sortie place un saut de hauteur '' |
- | - `fpsep` defines the separation between | + | mais les sauts de hauteur '' |
- | floats, and | + | </ |
- | - `fpbot` defines the distance from the | + | |
- | | + | |
- | (In fact, the output routine places a skip of `fpsep` above each float, so | + | Les valeurs par défaut de < |
- | the `fptop` skip is always followed by a correction for that.) | + | ==== ==== |
+ | <code latex> | ||
+ | \@fptop = 0pt + 1fil | ||
+ | \@fpsep = 8pt + 2fil | ||
+ | \@fpbot = 0pt + 1fil | ||
+ | </ | ||
+ | ===== ===== | ||
- | The LaTeX defaults are: | + | de sorte que les espaces s' |
- | | + | S'il y a plus d'un flottant sur la page, les espaces entre eux s' |
- | `fpsep` | + | ===== Modification des paramètres ===== |
- | `fpbot` = `0pt + 1fil` | + | 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 : |
- | so that the gaps expand to fill the space not occupied by floats, but | + | ==== ==== |
- | if there is more than one float on the page, the gap between them will | + | < |
- | expand to twice the space at top and bottom. | + | |
- | + | ||
- | Those who understand this stuff will be able to play elaborate games, | + | |
- | but the commonest requirement, | + | |
- | page, is a simple thing to do: | + | |
- | ```latex | + | |
\makeatletter | \makeatletter | ||
\setlength{\@fptop}{0pt} | \setlength{\@fptop}{0pt} | ||
\makeatother | \makeatother | ||
- | ``` | + | </ |
- | Surprisingly, | + | ===== ===== |
- | the page. One can justify a value of `5pt` (in place of | + | |
- | `0pt`)& | + | Vous serez peut-être surpris de constater que ce paramètre positionne vos flottants trop haut sur la page. |
- | and the height of normal (`10pt`) text. | + | Vous pourrez donc préférer une valeur de '' |
+ | entre '' | ||
- | Note that this is a '' | + | Notez qu'il s'agit d'un paramètre « global |
- | file, or at worst in the document | + | Effectuer le changement pour une seule page de flottants s' |
- | single float page is likely (at the least) to be rather tricky. | + | |
+ | ----- | ||
+ | //Source:// [[faquk> | ||
+ | {{htmlmetatags> | ||
+ | metatag-og: | ||
+ | metatag-og: | ||
+ | }} |