Difference between revisions of "Command/headsetupspacing"
< Command
Jump to navigation
Jump to search
Line 3: | Line 3: | ||
|attributes= | |attributes= | ||
}} | }} | ||
+ | |||
+ | == [[Help:Reference|Syntax]] (autogenerated) == | ||
+ | <syntax>leftaligned</syntax> | ||
== [[Help:Reference|Syntax]] == | == [[Help:Reference|Syntax]] == |
Revision as of 19:26, 13 January 2020
\headsetupspacing
Syntax (autogenerated)
\leftaligned{...} | |
{...} | content |
Syntax
\headsetupspacing |
Description
This macro is to be used inside custom defined section commands to propagate the options set in \setuphead. The options which are set locally by \headsetupspacing are align, tolerance, and strut. The values for these are inherited from \setuphead.
The definition of \headsetupspacing is found in strc-ren.mkiv. There one can also find the historic synonym \localheadsetup. The name \localheadsetup might vanish in the future; don't use it!
Example
In this example we use \showstruts to emphasize that even though we set strut=no
it is not forwarded and struts still appear. If we use \headsetupspacing, however, the struts are gone.
\showstruts \setuphead [section] [ strut=no, command=\printsection, ] \starttext \define[2]\printsection{#1 #2} \section{First} \define[2]\printsection{\headsetupspacing #1 #2} \section{Second} \stoptext
Help from ConTeXt-Mailinglist/Forum
All issues with: