Difference between revisions of "Command/ startplacefloat"

From Wiki
Jump to navigation Jump to search
(Created page with "Documentation for \start<i>placefloat</i> ... \stop<i>placefloat</i>")
 
Line 4: Line 4:
 
<cd:shortdesc>
 
<cd:shortdesc>
 
<!-- a short command summary goes here -->
 
<!-- a short command summary goes here -->
The instances of  <tt>\start<i>placefloat</i> ... \stop<i>placefloat</i></tt> are used for ...
+
The instances of  <tt>\start<i>placefloat</i> ... \stop<i>placefloat</i></tt> are used for placing floating elements
 
</cd:shortdesc>
 
</cd:shortdesc>
 
<cd:sequence>
 
<cd:sequence>
Line 39: Line 39:
 
     </cd:parameter>
 
     </cd:parameter>
 
     <cd:parameter name="location">
 
     <cd:parameter name="location">
       <cd:paramdoc></cd:paramdoc>
+
       <cd:paramdoc>See {{cmd|placefloat}} for option values</cd:paramdoc>
 
       <cd:constant type="split"></cd:constant>
 
       <cd:constant type="split"></cd:constant>
 
       <cd:constant type="always"></cd:constant>
 
       <cd:constant type="always"></cd:constant>
Line 126: Line 126:
 
</cd:description>
 
</cd:description>
 
<cd:examples>
 
<cd:examples>
<!--  command example(s)
 
 
<cd:example title="">
 
<cd:example title="">
 +
<context source="yes">
 +
\starttext
 +
 +
  \startplacefigure[title={}]
 +
    \externalfigure[folder/file.jpg][width=.5\textwidth]
 +
  \stopplacefigure
 +
 +
  \input tufte
 +
 +
  \blank[big]
 +
 +
  Also take a look at figure \in[gfxSampleB].
 +
 +
  \blank[big]
 +
 +
  \startplacefigure[title={Sample figure B}, location={right,+3*line}, reference=gfxSampleB]
 +
    \externalfigure[folder/file.jpg][width=.4\textwidth]
 +
  \stopplacefigure
 +
 +
  \input knuth
 +
 +
\stoptext
 +
</context>
 
</cd:example>
 
</cd:example>
-->
 
 
</cd:examples>
 
</cd:examples>
 
<cd:notes>
 
<cd:notes>

Revision as of 13:15, 21 August 2020


\startplacefloat ... \stopplacefloat

Summary

The instances of \startplacefloat ... \stopplacefloat are used for placing floating elements

Instances

\startplacechemical ... \stopplacechemical
\startplacefigure ... \stopplacefigure
\startplacetable ... \stopplacetable
\startplaceintermezzo ... \stopplaceintermezzo
\startplacegraphic ... \stopplacegraphic

Settings instance

\startplaceFLOAT[...=...,...][...=...,...] ... \stopplaceFLOAT
titletext
bookmarktext
markingtext
listtext
locationsplit always left right inner outer backspace cutspace inleft inright inmargin leftmargin rightmargin leftedge rightedge innermargin outermargin inneredge outeredge text opposite reset height depth [+-]line halfline grid high low fit 90 180 270 nonumber none local here force margin [+-]hang hanging tall both middle offset top bottom auto page leftpage rightpage somewhere effective header footer tblr lrtb tbrl rltb fxtb btlr lrbt btrl rlbt fxbt fixd
referencereference
keyvalue

OptionExplanation
location
See \placefloat for option values

Description

Examples

Example 1

\starttext

  \startplacefigure[title={}]
    \externalfigure[folder/file.jpg][width=.5\textwidth]
  \stopplacefigure

  \input tufte

  \blank[big]

  Also take a look at figure \in[gfxSampleB].

  \blank[big]

  \startplacefigure[title={Sample figure B}, location={right,+3*line}, reference=gfxSampleB]
    \externalfigure[folder/file.jpg][width=.4\textwidth]
  \stopplacefigure

  \input knuth

\stoptext

Notes

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: