\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