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/06/03 13:17] – samcarter | 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' |
- | title: Vertical layout of float pages | + | |
- | category: floats | + | |
- | tags: tables figures | + | |
- | permalink: / | + | |
- | date: 2014-06-10 | + | |
- | --- | + | |
- | By default, | + | Lorsque < |
- | the present author is not alone in not liking this arrangement. | + | Certains auteurs n' |
- | Unfortunately, the control of the positioning is " | + | dans les profondeurs des commandes internes de < |
- | LaTeX-internal commands, so some care is needed to change the | + | |
- | layout. | + | |
- | Float pages use three LaTeX lengths (i.e., TeX skips) to define | + | ===== Paramètres de mise en forme ===== |
- | their layout: | + | |
- | - `\@fptop` defines the distance | + | Les pages de flottants utilisent trois longueurs < |
- | top of the page to the top of the first float, | + | * '' |
- | - `\@fpsep` defines the separation between | + | * '' |
- | floats, and | + | * '' |
- | - `\@fpbot` defines the distance | + | |
- | bottom of the last float on the page to the bottom of the page. | + | |
- | (In fact, the output | + | < |
- | the `\@fptop` skip is always followed by a correction | + | En fait, la routine |
+ | mais les sauts de hauteur '' | ||
+ | </ | ||
- | The LaTeX defaults are: | + | Les valeurs par défaut de < |
- | `\@fptop` = `0pt + 1fil` | + | ==== ==== |
+ | <code latex> | ||
+ | \@fptop = 0pt + 1fil | ||
+ | \@fpsep = 8pt + 2fil | ||
+ | \@fpbot = 0pt + 1fil | ||
+ | </ | ||
+ | ===== ===== | ||
- | `\@fpsep` = `8pt + 2fil` | + | de sorte que les espaces s' |
+ | S'il y a plus d'un flottant sur la page, les espaces entre eux s' | ||
- | `\@fpbot` | + | ===== Modification des paramètres ===== |
- | so that the gaps expand to fill the space not occupied by floats, but | + | 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 : |
- | 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`)& | + | |
- | and the height of normal (`10pt`) text. | + | |
- | 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> | ||
+ | |||
+ | {{htmlmetatags> | ||
+ | metatag-og: | ||
+ | metatag-og: | ||
+ | }} |