Changes

Jump to navigation Jump to search
102 bytes added ,  15:27, 8 June 2020
m
no edit summary
== Commands ==
* {{cmd|startsetupstartsetups| mysetup}} begins a setup definition(with optional brackets around <tt>mysetup</tt>)* {{cmd|setup|[mysetup]}} or {{cmd|setups|[mysetup]}} invokes a setup.
== Examples ==
<texcode width=50%>
% Create two setups
\startsetup startsetups doc:print
\setuppapersize[A4][A4]
\stopsetupstopsetups
\startsetup startsetups doc:screen
\setuppapersize[S6][S4]
\stopsetupstopsetups
% Use one or another setup
<texcode>
% Set up a headertext. Whitespace is ignored
\startsetupstartsetups[doc:header]
\marking[chapter]
\space
\space
\pagenumber
\stopsetupstopsetups
% Use the setup
% Print message to log and to document
\writestatus{VARIABLES}{namespace:set is being called..}%
\space{\green blue[namespace:set]}
\def\applecolor{red}
% whatever must be done with your variables after you assign a value
\stoptext
</context>
 
[[Category:Tools]]

Navigation menu