Changes

Jump to navigation Jump to search
1,938 bytes added ,  11:04, 30 November 2021
Created page with "Documentation for \showlayout"
<cd:commandgroup name="showlayout" xmlns:cd="http://wiki.contextgarden.net/commanddoc/20200807">
<cd:shortdesc>The command <tt>\showlayout</tt> shows page layout variable values
</cd:shortdesc>
<cd:variants>
<cd:command category="layout" file="page-run.mkiv" interfacedate="2020-07-14T09:24" interfacefile="i-layout.xml" level="document" name="showlayout" variantnumber="1">
<cd:arguments>
<cd:keywords list="yes" optional="yes" ordinal="1">
<cd:keywordsdoc>Each selected dimension produces a column of used values</cd:keywordsdoc>
<cd:constant default="yes" type="pt"></cd:constant>
<cd:constant type="bp"></cd:constant>
<cd:constant default="yes" type="cm"></cd:constant>
<cd:constant type="mm"></cd:constant>
<cd:constant type="dd"></cd:constant>
<cd:constant type="cc"></cd:constant>
<cd:constant type="pc"></cd:constant>
<cd:constant type="nd"></cd:constant>
<cd:constant type="nc"></cd:constant>
<cd:constant type="sp"></cd:constant>
<cd:constant type="in"></cd:constant>
<cd:constant type="cd:number">number of pages to generate</cd:constant>
</cd:keywords>
</cd:arguments>
</cd:command>
</cd:variants>
<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>
<cd:examples><cd:example title=""><context source="yes">
\setuppapersize[A6]
\setupbodyfont[8pt]

\starttext
\showlayout
\stoptext
</context>
</cd:example></cd:examples>
<cd:notes></cd:notes>
<cd:seealso>
<cd:source file="page-run.mkiv" originator="system"></cd:source>
<cd:wikipage originator="system" page="Category:Layout"></cd:wikipage>
<cd:commandref name="showframe"></cd:commandref>
<cd:commandref name="showgrid"></cd:commandref>
<cd:commandref name="setuplayout"></cd:commandref></cd:seealso>
</cd:commandgroup>

Navigation menu