From 9961c679025d825bb99ee94f77a450fc0c6e19e1 Mon Sep 17 00:00:00 2001 From: p Date: Thu, 21 Nov 2024 02:49:38 -0500 Subject: tweax --- aux.otx | 26 +++++++++++++++++++++++--- 1 file changed, 23 insertions(+), 3 deletions(-) (limited to 'aux.otx') diff --git a/aux.otx b/aux.otx index 56b191d..fc47e4c 100644 --- a/aux.otx +++ b/aux.otx @@ -7,6 +7,13 @@ \footlinedist=14pt \footline={\_hss\rmfixed \romannumeral\_folio \_hss}} +\def\headlinefont{\_scalemain\_typoscale[800/]\caps\it} +\def\mainstyle{ + \pageno=0 + \headline={{\headlinefont\headtitle\hrulefill}} + \footlinedist=14pt + \footline={\_hss\rmfixed \_folio \_hss}} + % ---------- functionality mimicking "figures" from latex \_refdecl{% \_def\lotlist{} \_def\loflist{}^^J @@ -29,12 +36,13 @@ % ---------- \def\photopage#1#2#3#4{{ - \break\hfill\vbox{\hsize=4in + \break\hbox to 0.9\hsize{\hfill\vbox{\leftskip=0.2in\rightskip=0.2in \picw=4in\inspic{#1} + \scalemain\typoscale[800/] \vskip 1em \noindent #2 \hfill {\it (photo by #4)}\vskip 1em \captionF [label]{#3} #3\par} - \hfill\break}} + \hfill\break}}} \def\essaytitle#1{\ul{#1}} @@ -61,6 +69,17 @@ \def\cancelparams{1 0 0 RG 1 J .6 w} % color RG linetype J linewidth w % --------- +% --- "parts" as higher sections +\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 +} + % ---- division title styles \_def \_chapfont {\_scalemain\_typoscale[1800/]\caps\rm} @@ -74,4 +93,5 @@ % --- \fontfam[Pagella] -\typosize[10/13] \ No newline at end of file +\typosize[10/13] +\def\headtitle{Blueprint for a Higher Civilization} \ No newline at end of file -- cgit v1.2.3