Difference between revisions of "Command/showlayout"

From Wiki
Jump to navigation Jump to search
(Created page with "Documentation for \showlayout")
 
Line 28: Line 28:
 
<cd:examples><cd:example title=""><context source="yes">
 
<cd:examples><cd:example title=""><context source="yes">
 
\setuppapersize[A6]
 
\setuppapersize[A6]
\setupbodyfont[8pt]
+
\setupbodyfont[7pt]
  
 
\starttext
 
\starttext

Revision as of 11:05, 30 November 2021


\showlayout

Summary

The command \showlayout shows page layout variable values

Settings

\showlayout[...,...]
[...,...]pt bp cm mm dd cc pc nd nc sp in number

OptionExplanation
Each selected dimension produces a column of used values
number number of pages to generate

Description

Displays information about the papersize, margins, fontsize and how to access the information in your TeX file. Draws a frame around the text area, the margins, and the edge of the paper.


Examples

Example 1

\setuppapersize[A6]
\setupbodyfont[7pt]

\starttext
    \showlayout
\stoptext

Notes

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: