From 377f30878c453b5d59b7a6c929c22d10b2d73082 Mon Sep 17 00:00:00 2001 From: p Date: Thu, 19 Dec 2024 03:15:15 -0500 Subject: add parts --- sal.otx | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/sal.otx b/sal.otx index b3268cd..9f86cf3 100644 --- a/sal.otx +++ b/sal.otx @@ -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] -- cgit v1.2.3