summaryrefslogtreecommitdiffstats
path: root/aux.otx
blob: 620d9e955fb74205f004df77b19d1da16b4f7abd (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
\picdir={img/}
\long\def\cent#1{{\leftskip=0pt plus1fil\rightskip=0pt plus1fil\parfillskip=0pt\parindent=0pt\parskip=0pt #1\par}}

\def\fixnote{\Red\ednote{fix}\Black}

\def\cookedfolio{
    \_folio}

\def\romanfolios{
    \def\cookedfolio{\romannumeral\_folio}}

\def\latinfolios{
    \def\cookedfolio{\_folio}}

\def\blankstyle{
    \headline={}
    \footline={}}

\def\normalstyle{
    \headline={}
    \footline={}
    \footline={\_hss\_rmfixed \cookedfolio \_hss}}

\def\sc#1{{\typoscale[1200/]\caps\rm #1}}

\def\Qs#1{\vskip 0.5em{\typoscale[900/]\rightskip=2.5em\leftskip=0pt plus1fill\parfillskip=0pt
    #1\par}}

\def\playtitle#1{\e{#1}}
\def\poemtitle#1{\e{#1}}
\def\B#1{{\bf #1}}
\long\def\ldq#1{“#1”}

% -------

\_def \_chapfont {\_scalemain\_typoscale[1800/]\caps\rm}
\_def\_printchap #1{{\_vfill\_supereject \_prevdepth=0pt
\leftskip=0pt plus1fil\rightskip=0pt plus1fil\parfillskip=0pt
  \_vglue\_medskipamount % shifted by topkip+\medskipamount
  {\_chapfont \_noindent \_printrefnum[@]
  #1\_nbpar}\_mark{}%
  \_nobreak \_belowtitle{\_bigskip}%
  \par\_firstnoindent}}

\_def\_secfont{\_typoscale[1100/]\bf}
\_def\_printsec#1{\_par{\leftskip=0pt plus1fill\rightskip=0pt plus1fill\parfillskip=0pt
  \_abovetitle{\_penalty-151}\_bigskip
  {\_secfont \_noindent \_raggedright \_printrefnum[@\_quad]#1}\_insertmark{#1}%
  \par}\_nobreak\vskip 0.5em\_firstnoindent}

% --------

\long\def\ednote#1{{\Red\fnote{{\Red\Dejavu\sans\rm #1}}\Black}}
\def\date#1{\rightline{\e{#1}}\vskip 0.5em}
\def\nudge{\hskip\parindent}
\long\def\Q#1{{\typoscale[950/]\narrower\parindent=0pt\parskip=0.5em #1\par}}
\def\booktitle#1{\e{#1}}