summaryrefslogtreecommitdiffstats
path: root/sal.otx
diff options
context:
space:
mode:
Diffstat (limited to 'sal.otx')
-rw-r--r--sal.otx11
1 files changed, 11 insertions, 0 deletions
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]