Changes

Jump to navigation Jump to search
1,131 bytes added ,  21:19, 24 August 2004
explanation of placements, added cmd links
Floats are ConTeXt's "base class" for everything that uses a <tt>\place...</tt> command (table, figure, own floats).
If you search options of e.g. <ttcmd>\placeexternalfigure</ttcmd> you must look after <ttcmd>\placefloat</ttcmd> in the manual! (same for <tt>\setup...</tt> etc.) The float types "graphic", "figure", "table" and "intermezzo" are readily defined. If you need more (i.e. if you need another numbering or table of something), you can easily define your own floats with <cmd>definefloat</cmd>.
<pre>
\placefloat[place][reference]{caption}{some float}
</pre>
'''place''' is one or several (comma separated) of: (PLEASE SOMEONE ADD DESCRIPTIONS!)* <table><tr bgcolor="#AAAAAA"><th>preference</th><th align="left">result</th></tr><tr bgcolor="#DDDDDD"><td>left</td><td>left of text</td></tr>* <tr><td>right</td><td>right of text</td></tr>* <tr bgcolor="#DDDDDD"><td>here</td><td>preferably here</td></tr>* <tr><td>top</td><td>at top of page</td></tr>* <tr bgcolor="#DDDDDD"><td>bottom</td><td>at bottom of page</td></tr>* <tr><td>inleft</td><td>in left margin</td></tr>* <tr bgcolor="#DDDDDD"><td>inright</td><td>in right margin</td></tr>* <tr><td>inmargin</td><td>in the margin (left or right)</td></tr>* <tr bgcolor="#DDDDDD"><td>margin</td><td>in the margin (margin float)</td></tr>* <tr><td>page</td><td>on a new (empty) page</td></tr>* <tr bgcolor="#DDDDDD"><td>opposite</td><td>on the left page</td></tr>* <tr><td>always</td><td>precedence over stored floats</td></tr>* <tr bgcolor="#DDDDDD"><td>force</td><td>per se here</td></tr></table>(table copied from the manual) '''reference''' * tallIf you don't need to refer to your float, you can leave this parameter out.
'''caption'''
 
You get ''no'' caption with <tt>none</tt>.

Navigation menu