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:flottant_non_centre [2018/05/26 20:48] – joseph.wright | 3_composition:flottants:flottant_non_centre [2021/06/09 19:21] (Version actuelle) – Correction du titre. Reformulation. jejust | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| - | --- | + | ====== Pourquoi ma figure |
| - | title: Why is my table/figure/& | + | |
| - | permalink: centre-flt | + | |
| - | date: 2014-06-10 | + | |
| - | --- | + | |
| - | # Why is my table/ | + | |
| + | Vous vouliez un flottant centré horizontalement, | ||
| + | ignore votre environnement '' | ||
| + | Vous avez probablement écrit quelque chose comme ça : | ||
| - | + | < | |
| - | + | ||
| - | You want a float whose contents are centred, but LaTeX ignores your | + | |
| - | `center` environment. | + | |
| - | ```latex | + | |
| \begin{center} | \begin{center} | ||
| \begin{figure} | \begin{figure} | ||
| Ligne 17: | Ligne 11: | ||
| \end{figure} | \end{figure} | ||
| \end{center} | \end{center} | ||
| - | ``` | + | </ |
| - | In this case, LaTeX has '' | + | |
| - | and will typeset it at some location it fancies (it does the same with | + | |
| - | `table`s) the only thing we can say (for sure) about the | + | |
| - | location is that it _won' | + | |
| - | environment. | + | |
| - | left with nothing to do& | + | |
| - | [make a mess of your vertical spacing](FAQ-vertspacefloat.md). | + | |
| + | Quand il a rencontré ce code, LaTeX a pris la figure en charge, | ||
| + | et il va s' | ||
| + | (ce serait la même chose avec un tableau, car c'est le principe même des flottants) ; | ||
| + | du coup, la figure n'est plus à l' | ||
| + | Par conséquent, | ||
| + | sauf [[3_composition: | ||
| - | The solution | + | La solution |
| - | [the same answer](FAQ-vertspacefloat.md), noting that all control of | + | à savoir que tout les commandes contrôlant le rendu d'un flottant tel que '' |
| - | an `figure` or `table` needs to be | + | doivent se trouver **à l'intérieur** de l' |
| - | inside the environment. | + | Vous devrez donc plutôt écrire: |
| - | ```latex | + | |
| + | < | ||
| \begin{figure} | \begin{figure} | ||
| \centering | \centering | ||
| ... | ... | ||
| \end{figure} | \end{figure} | ||
| - | ``` | + | </ |
| - | (or something similar for a `table`). | + | (ce sera le même principe pour un environnement '' |
| + | ----- | ||
| + | //Source:// [[faquk> | ||
| + | {{htmlmetatags> | ||
| + | metatag-og: | ||
| + | metatag-og: | ||
| + | }} | ||

