summaryrefslogtreecommitdiffstats
path: root/aux.otx
diff options
context:
space:
mode:
Diffstat (limited to 'aux.otx')
-rw-r--r--aux.otx23
1 files changed, 23 insertions, 0 deletions
diff --git a/aux.otx b/aux.otx
index e4797a0..8beb691 100644
--- a/aux.otx
+++ b/aux.otx
@@ -3,3 +3,26 @@
\margins/2 fold (0.65,0.5,0.6,0.7)in
\footlinedist=12pt
}
+
+% --- 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
+}
+
+
+\_sdef{_tocl:0}#1#2#3{\_bigskip \_bf\_llaptoclink{#1}{#2}\_nobreak\_hfill \_pgn{#3}\_tocpar}
+\_sdef{_tocl:1}#1#2#3{\_llaptoclink{#1}{#2}\_nobreak\_hfill \_pgn{#3}\_tocpar}
+\_sdef{_tocl:2}#1#2#3{{\typoscale[900/]\it\_llaptoclink{#1}{#2}\_tocdotfill \_pgn{#3}\_tocpar}}
+\_sdef{_tocl:3}#1#2#3{\_advance\_leftskip by\_iindent \_cs{_tocl:2}{#1}{#2}{#3}}
+
+\fontfam[Latin Modern]
+\fontfam[Pagella]
+\Pagella\rm
+
+\_def \_printfnotemark {\_quitvmode\_hbox{\typoscale[850/]$^{\_fnotenum}$}} % default footnote mark \ No newline at end of file