<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"> <HTML> <HEAD> <META http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <META name="GENERATOR" content="hevea 1.10"> <META name="Author" content="Luc Maranget"> <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.gif" ALT="Previous"></A> <A HREF="manual022.html"><IMG SRC="contents_motif.gif" ALT="Up"></A> <A HREF="manual032.html"><IMG SRC="next_motif.gif" ALT="Next"></A> <HR> <H2 CLASS="section"><A NAME="htoc97">B.9</A>  Figures and Other Floating Bodies</H2><P>Figures and tables are put where they appear in source, regardless of their placement arguments. They are outputed 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 NAME="@default173"></A><A NAME="@default174"></A><A NAME="@default175"></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 <TT>\reversemaginpar</TT>.</DIV><P> Marginal notes are handled in an H<FONT SIZE=2><sup>E</sup></FONT>V<FONT SIZE=2><sup>E</sup></FONT>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 behavior.</P><P>The <CODE>\marginpar</CODE> command has an optional argument. </P><DIV CLASS="flushleft">   <CODE>\marginpar[</CODE><I>left_text</I><CODE>]{</CODE><I>right_text</I><CODE>}</CODE> </DIV><P> If optional argument <I>left_text</I> is present and that notes go in the left margin, then <I>left_text</I> is the text of the note. Otherwise, <I>right_text</I> is the text of the note. As a conclusion, marginal notes in H<FONT SIZE=2><sup>E</sup></FONT>V<FONT SIZE=2><sup>E</sup></FONT>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:change">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.gif" ALT="Previous"></A> <A HREF="manual022.html"><IMG SRC="contents_motif.gif" ALT="Up"></A> <A HREF="manual032.html"><IMG SRC="next_motif.gif" ALT="Next"></A> </BODY> </HTML>