diff options
author | p <grr@lo2.org> | 2024-12-19 03:15:15 -0500 |
---|---|---|
committer | p <grr@lo2.org> | 2024-12-19 03:15:15 -0500 |
commit | 377f30878c453b5d59b7a6c929c22d10b2d73082 (patch) | |
tree | a6387cb24b5b55405eee23d1d06eff0d7ab126f1 | |
parent | 08363d95c168794e401d81c809eb6617bd50386f (diff) | |
download | sal.otx-377f30878c453b5d59b7a6c929c22d10b2d73082.tar.gz |
add parts
-rw-r--r-- | sal.otx | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -103,6 +103,17 @@ \_nobreak \_belowtitle{\_medskip}% \_firstnoindent} +% ============ parts +\newcount\partnum +\eoldef\part#1{\vfil\break + \incr\partnum \_chapnum=0 \_chapx % reset counters + \vglue100pt + \incr\tocrefnum \dest[toc:\the\tocrefnum] % destination from TOC and outlines + \centerline{\typosize[20/]\bf Part \the\partnum:\quad #1} % Title + \_ewref\_Xtoc{{0}{part}{}{}#1} % TOC line, \part has level 0 + {\nopagenumbers \vfil\break} % single page without pageno +} + % ============ sal style \load[mte] % \load[f_pp_writer] |