diff options
author | p <grr@lo2.org> | 2024-11-20 18:23:58 -0500 |
---|---|---|
committer | p <grr@lo2.org> | 2024-11-20 18:23:58 -0500 |
commit | 4d9a47fc2544602b36498608e6d3e0d6c4a89f4a (patch) | |
tree | 1bfeb2828700075872acc35d881c40be558c1ad4 /aux.otx | |
parent | b2fa572ad0c9b9ae693f0dbca745863c66b7fdf1 (diff) | |
download | blueprint-4d9a47fc2544602b36498608e6d3e0d6c4a89f4a.tar.gz |
more shitscraping. second intro
Diffstat (limited to 'aux.otx')
-rw-r--r-- | aux.otx | 42 |
1 files changed, 42 insertions, 0 deletions
@@ -4,8 +4,37 @@ \def\frontmatterstyle{ \headline={} + \footlinedist=14pt \footline={\_hss\rmfixed \romannumeral\_folio \_hss}} +% ---------- functionality mimicking "figures" from latex +\_refdecl{% + \_def\lotlist{} \_def\loflist{}^^J + \_def\Xtab#1#2#3{\_addto\lotlist{\lline{#1}{#2}{#3}}\_ea\_addto\_ea\lotlist\_ea{\_currpage}}^^J + \_def\Xfig#1#2#3{\_addto\loflist{\lline{#1}{#2}{#3}}\_ea\_addto\_ea\loflist\_ea{\_currpage}} +} +\def\captionT [#1]#2{\caption/t[#1]\_ewref\Xtab{{#1}{\_thetnum}{#2}}\ignorespaces} +\def\captionF [#1]#2{\caption/f[#1]\_ewref\Xfig{{#1}{\_thefnum}{#2}}\ignorespaces} + +\def\lline#1#2#3#4#5{\line{\hskip2em\llap{\bf#2\enspace}#3 \_tocdotfill\ \_ilink[pg:#4]{#5}}} + +\def\makell#1#2{\par + \ifx#1\undefined \opwarning{no data for list of #2, try to run TeX again}\openref + \else #1\fi +} + +\def\makeLOF{\makell\loflist{figures}} +\def\makeLOT{\makell\lotlist{tables}} + +% ---------- + +\def\photopage#1#2#3#4{{ + \break\hfill\vbox{\hsize=4in + \picw=4in\inspic{#1} + \vskip 1em + \noindent #2 \hfill {\it (photo by #4)}\vskip 1em + \captionF [label]{#3} #3\par} + \hfill\break}} \def\essaytitle#1{\ul{#1}} @@ -32,4 +61,17 @@ \def\cancelparams{1 0 0 RG 1 J .6 w} % color RG linetype J linewidth w % --------- +% ---- division title styles + +\_def \_chapfont {\_scalemain\_typoscale[1800/]\caps\rm} +\_def\_printchap #1{{\_vfill\_supereject \_prevdepth=0pt + \_vglue\_medskipamount % shifted by topkip+\medskipamount + {\_chapfont \_noindent \_printrefnum[@] + \hskip 0.15in plus 0.75in\leaders\hrule\hfil\hskip0.15in plus0.75in #1\_nbpar}\_mark{}% + \_nobreak \_belowtitle{\_bigskip}% + \_firstnoindent}} + +% --- + +\fontfam[Pagella] \typosize[10/13]
\ No newline at end of file |