<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <meta name="generator" content="hevea 2.32"> <meta name="Author" content="Luc Maranget"> <script type="text/javascript" async src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-MML-AM_CHTML"></script><link rel="stylesheet" type="text/css" href="manual.css"> <title>Figures and Other Floating Bodies</title> </head> <body> <a href="manual030.html"><img src="previous_motif.svg" alt="Previous"></a> <a href="manual022.html"><img src="contents_motif.svg" alt="Up"></a> <a href="manual032.html"><img src="next_motif.svg" alt="Next"></a> <hr> <h2 class="section" id="sec142">B.9  Figures and Other Floating Bodies</h2> <p>Figures and tables are put where they appear in source, regardless of their placement arguments. They are outputted inside a <code>BLOCKQUOTE</code> element and they are separated from enclosing text by two horizontal rules.</p><p>Captions and cross referencing are handled. However captions are not moved at end of figures: instead, they appear where the <code>\caption</code> commands occur in source code. The <code>\suppressfloats</code> command does nothing and the figure related counters (such as <code>topnumber</code>) exist but are useless.</p><p><a id="hevea_default178"></a><a id="hevea_default179"></a><a id="hevea_default180"></a></p><div class="fmarginpar marginparright">Marginal notes go in the right margin by default.</div><div class="fmarginpar marginparleft">To get marginal notes in the left margin, use <span class="c013">\reversemaginpar</span>.</div><p> Marginal notes are handled in an H<span class="c016"><sup>E</sup></span>V<span class="c016"><sup>E</sup></span>A specific way. By default, all notes go in the right margin. Issuing <code>\reversemarginpar</code> causes the notes to go in the left margin. Unsurprisingly, issuing <code>\normalmarginpar</code> reverts to default behaviour.</p><p>The <code>\marginpar</code> command has an optional argument. </p><div class="flushleft">   <code>\marginpar[</code><span class="c019">left_text</span><code>]{</code><span class="c019">right_text</span><code>}</code> </div><p> If optional argument <span class="c019">left_text</span> is present and that notes go in the left margin, then <span class="c019">left_text</span> is the text of the note. Otherwise, <span class="c019">right_text</span> is the text of the note. As a conclusion, marginal notes in H<span class="c016"><sup>E</sup></span>V<span class="c016"><sup>E</sup></span>A always go to a fixed side of the page, which side being controlled by the commands <code>\normalmarginpar</code> (right side) and <code>\reversemarginpar</code> (left side). This departs form L<sup>A</sup>T<sub>E</sub>X that selects a default side depending on the parity of the page counter.</p><p>Marginal notes are styled by the means of two environment style classes (see Section <a href="manual019.html#css%3Achange">9.3</a>) : <code>marginpar</code> and <code>marginparside</code>. The latter <code>marginparside</code> takes care of margins and placement as a float, its value is <code>marginparright</code> for notes in the right margin and <code>marginparleft</code> for notes in the left margin. Users are not expected to alter those. The <code>marginpar</code> environment style class governs the general aspect of all marginal notes. Users can control the aspect of all marginal notes by defining a new style class and assigning the <code>marginpar</code> environment style class. For instance, to get all marginal notes in red font, and taking 10% of the page width (in place of the default 20%), one can issue the following commands in the document preamble. </p><pre class="verbatim">\newstyle{.mynote}{width:10\%; color:red;} \setenvclass{marginpar}{mynote} </pre> <hr> <a href="manual030.html"><img src="previous_motif.svg" alt="Previous"></a> <a href="manual022.html"><img src="contents_motif.svg" alt="Up"></a> <a href="manual032.html"><img src="next_motif.svg" alt="Next"></a> </body> </html>