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:centrer_un_flottant_tres_large [2018/06/03 13:20] – d.p.carlisle | 3_composition:flottants:centrer_un_flottant_tres_large [2021/06/02 12:02] (Version actuelle) – Traduction de l'article anglais et mise à jour de la structure et des liens. yannick.tanguy | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | --- | + | ====== Comment centrer une figure |
- | title: Centring a very wide figure | + | |
- | category: floats | + | |
- | tags: | + | |
- | - tables | + | |
- | - figures | + | |
- | permalink: / | + | |
- | --- | + | |
- | The normal means of centring a figure | + | Pour centrer une figure |
- | `\centering` at the top of the float. This doesn't help if the | + | |
- | object is wider than `\textwidth`& | + | |
- | margin and juts out into the right margin | + | |
- | unsatisfactory, since as well as looking bad, the float won't be | + | |
- | placed until the next `\clearpage` or the like.) | + | |
- | You can avoid the problem by rescaling the figure or table to fit, but | + | ===== Avec un redimensionnement du flottant ===== |
- | this is often not satisfactory, | + | |
- | Otherwise, if the object is wider than the printable area of the page, | + | Vous pouvez éviter ce problème en redimensionnant la figure ou le tableau pour l' |
- | you've no choice other than to [rotate it](FAQ-landscape). If, | + | |
- | however, the object is _just_ wider than the text block, you can | + | ===== Avec une rotation du flottant ===== |
- | make it pretend to be the right size by: | + | |
- | ```latex | + | Aussi, si l' |
+ | |||
+ | ===== Avec la commande \makebox ===== | ||
+ | |||
+ | Cependant, si l' | ||
+ | |||
+ | < | ||
\begin{figure} | \begin{figure} | ||
\noindent | \noindent | ||
- | \makebox[\textwidth]{\includegraphics{my-wide-figure}}% | + | \makebox[\textwidth]{\includegraphics{ma-figure-large}}% |
- | \caption{This figure | + | \caption{Cette figure |
\end{figure} | \end{figure} | ||
- | ``` | + | </ |
- | Note the `\noindent`: the `\makebox` starts a paragraph, and you | + | |
- | really don't want that indented by `\parindent`. | + | Notez ici la présence de '' |
+ | ----- | ||
+ | //Source:// [[faquk> | ||
+ | {{htmlmetatags> | ||
+ | metatag-og: | ||
+ | metatag-og: | ||
+ | }} |