Changes

Jump to navigation Jump to search
110 bytes added ,  08:29, 2 July 2022
m
Text replacement - "pragma-ade.com" to "pragma-ade.nl"
Alternative grid snapping methods are discussed in the description of
[[Command/setuplayout#Grid Setups|{{cmd|setuplayout|link=no}}]]., and also in [[snaptogrid]] (to merge ?) [[Category:ToDo]]
==Placing titles on the grid==
===Adjusting the section head placement===
Lots of examples and the commands and options for head placement are provided in the manual [http://www.pragma-ade.comnl/general/manuals/details.pdf It's in the details!]. However, it is not covered how to place the ''first'' line of a multi-line structure head onto the grid. The solution is to frame the structure head and instruct to typeset the first line on the grid.
====Example====
\unprotect
\newdimen\section_frame_width
\unexpanded\def\section_command#number#title{%
\section_frame_width\hsize % we need to calculate the remaining
\setbox\scratchbox\hbox{#number\space} % horizontal space
{{todo|this page is too short}}
 
[[Category:Basics]]
[[Category:Layout]]

Navigation menu