Difference between revisions of "Command/showlayout"
< Command
Jump to navigation
Jump to search
Line 25: | Line 25: | ||
<cd: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. | <cd: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. | ||
+ | This command is basically a combination of {{cmd|showframe}} and {{cmd|showsetups}}. | ||
</cd:description> | </cd:description> | ||
<cd:examples><cd:example title=""><context source="yes"> | <cd:examples><cd:example title=""><context source="yes"> | ||
Line 41: | Line 42: | ||
<cd:commandref name="showframe"></cd:commandref> | <cd:commandref name="showframe"></cd:commandref> | ||
<cd:commandref name="showgrid"></cd:commandref> | <cd:commandref name="showgrid"></cd:commandref> | ||
− | <cd:commandref name="setuplayout"></cd:commandref></cd:seealso> | + | <cd:commandref name="setuplayout"></cd:commandref> |
+ | <cd:commandref name="showsetups"></cd:commandref></cd:seealso> | ||
</cd:commandgroup> | </cd:commandgroup> |
Latest revision as of 14:06, 30 November 2021
Contents
\showlayout
Summary
The command \showlayout shows page layout variable values
Settings
\showlayout[...,...] | |
[...,...] | pt bp cm mm dd cc pc nd nc sp in number |
Option | Explanation |
---|---|
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.
This command is basically a combination of \showframe and \showsetups.
Examples
Example 1
\setuppapersize[A6] \setupbodyfont[7pt] \starttext \showlayout \stoptext