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:faire_couler_le_texte_autour_d_une_figure2 [2021/01/13 00:17] – Ajout d'un lien externe. Remise en forme de la page. jejust | 3_composition:flottants:faire_couler_le_texte_autour_d_une_figure2 [2021/06/28 18:53] (Version actuelle) – Suppression de la page après intégration à "3_composition/flottants/habiller_une_image_avec_du_texte". jejust | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | ====== Flowing text around figures ====== | ||
- | |||
- | There are several LaTeX packages that purport to do this, but they | ||
- | all have their limitations because the TeX machine isn't really | ||
- | designed to solve this sort of problem. | ||
- | [[https:// | ||
- | |||
- | * [[ctanpkg> | ||
- | |||
- | <code latex> | ||
- | \begin{floatingfigure}[options]{width of figure} | ||
- | % Figure contents | ||
- | \end{floatingfigure} | ||
- | </ | ||
- | |||
- | There is a (more or less similar) '' | ||
- | |||
- | The tables or figures can be set left or right, or alternating on | ||
- | even/odd pages in a double-sided document. | ||
- | |||
- | The package works with the [[ctanpkg> | ||
- | in the neighbourhood of list environments (unless you change your LaTeX document). | ||
- | |||
- | * [[ctanpkg> | ||
- | |||
- | <code latex> | ||
- | \begin{wrapfigure}[height of figure in lines]{l, | ||
- | % Figure, caption, etc. | ||
- | \end{wrapfigure} | ||
- | </ | ||
- | |||
- | The syntax of the '' | ||
- | |||
- | The '' | ||
- | be calculated from the size of the figure; the package will use | ||
- | the greater of the specified and the actual width. | ||
- | The '' | ||
- | '' | ||
- | two-sided documents, and uppercase may be used to indicate | ||
- | that the picture should float. | ||
- | to be moved into the margin. | ||
- | into the list of figures or tables if you use the '' | ||
- | |||
- | The environments do not work within list environments that end | ||
- | before the figure or table has finished, but can be used in a | ||
- | '' | ||
- | |||
- | * [[ctanpkg> | ||
- | <code latex> | ||
- | \parpic(width, | ||
- | % Paragraph text | ||
- | </ | ||
- | | ||
- | All parameters except the '' | ||
- | can be positioned left or right, boxed with a rectangle, oval, | ||
- | shadowbox, dashed box, and a caption can be given which will be | ||
- | included in the list of figures. | ||
- | |||
- | Unfortunately (for those of us whose understanding of German is not | ||
- | good), the documentation is in German. | ||
- | a summary in English. | ||
- | |||
- | All of the above deal insertions at one or other margin; they are able | ||
- | to take advantage of the TeX '' | ||
- | you to adjust the margins of the text of a paragraph, by line (Knuth | ||
- | provides an example of such use, with text typeset in a circle, | ||
- | half-overlapping the margin, in chapter 14 of the TeXbook). | ||
- | place insertions in the middle of a paragraph requires effort of an | ||
- | entirely different sort; the [[ctanpkg> | ||
- | you. It requires a set of "part line widths" | ||
- | typesets the " | ||
- | examples in the package documentation look enticing. | ||
- | |||
- | Plain TeX users only have one option: [[ctanpkg> | ||
- | doesn' | ||
- | figures at the start of the paragraph, but it seems perfectly | ||
- | functional. Syntax is | ||
- | <code latex> | ||
- | \figflow{< | ||
- | </ | ||
- | (the user is responsible for having the dimensions correct, and for | ||
- | ensuring the figure fits on the page). | ||
- | |||
- | |||
- | ----- | ||
- | //Source:// [[faquk> | ||
- | |||
- | {{htmlmetatags> | ||
- | metatag-og: | ||
- | metatag-og: | ||
- | }} | ||