Open main menu

Changes

10 bytes added ,  08:29, 2 July 2022
m
Text replacement - "pragma-ade.com" to "pragma-ade.nl"
===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