Command/startTEXpage

From Wiki
< Command
Revision as of 20:17, 16 March 2026 by Zsd (talk | contribs) (Add ref to LMTX source)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

\startTEXpage

Syntax (autogenerated)

\startTEXpage[...=...,...] ... \stopTEXpage
...=...,...inherits from \setupfittingpage
instance of startfittingpage, generated by \definefittingpage


Syntax

\startTEXpage
\startTEXpage[...=...]
strut no yes global local
align normal flushleft flushright middle normal high low lohi
offset none overlay dimension
width fit dimension
height fit dimension
frame on off

Description

Start a page that fits its contents exactly. Or has some extra space around the edges, if you specify offset. It only works if the contents are small enough. If the contents are too big, then you should use something like "\startTEXpage[align=normal,width=100cm,autowidth=force]"

Example

  • \showframe
    \startTEXpage
    asdf
    \stopTEXpage
    
  • \showframe
    \startTEXpage[offset=10pt]
    asdf
    \stopTEXpage
    
  • \setuppapersize[A10, landscape]
    \showframe[]
    \starttext
    asdf
    \stoptext
    

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: