Difference between revisions of "Command/startplacefigure"

From Wiki
Jump to navigation Jump to search
m (Text replacement - "<syntax>start" to "<syntax type=“environment”>")
Line 5: Line 5:
  
 
== [[Help:Reference|Syntax]] ==
 
== [[Help:Reference|Syntax]] ==
<syntax>startplacefigure</syntax>
+
<syntax type=“environment”>placefigure</syntax>
<syntax>startplacefloat</syntax>
+
<syntax type=“environment”>placefloat</syntax>
  
 
== Description ==  
 
== Description ==  

Revision as of 19:46, 24 July 2020

\startplacefigure

Syntax

\placefigure[...,...][...,...]{...}{...}
[...,...]split 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
[...,...]reference
{...}text
{...}content
instance of placefloat, generated by \definefloat


\placefloat[...][...,...][...,...]{...}{...}
[...]singular
[...,...]split 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
[...,...]reference
{...}text
{...}content


Description

\startplacefigure[
    location=<location>,
    reference=<reference>,
    title=<title>] % marking=...,bookmark=...,list=...
 <content>
 \stopplacefigure

Example

\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

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: