summaryrefslogtreecommitdiffstats
path: root/aux.otx
blob: 8beb6917c5028015c8116009964910fe0121e545 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
\def\novellalayout{
  \sdef{_pgs:novella}{(5.25,8.25)in}
  \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