drwho.tex: Determine the title width after we sent the font size.
authorMark Wooding <mdw@distorted.org.uk>
Thu, 25 Nov 2021 23:39:57 +0000 (23:39 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Thu, 25 Nov 2021 23:39:57 +0000 (23:39 +0000)
The tracks are 2 em wide, but that depends on the body font size.  Do
this in the right place so we don't have to hardcode (the wrong) width.

drwho.tex

index 168b78e..58ce438 100644 (file)
--- a/drwho.tex
+++ b/drwho.tex
@@ -30,7 +30,7 @@
 \voffset=-1in \topmargin=20mm \headheight=0mm \headsep=0mm
 \textheight=\paperheight \advance\textheight by -2\topmargin
 
-\newdimen\titlewidth \titlewidth=0.5\textwidth \advance\titlewidth by -40pt
+\newdimen\titlewidth
 
 \pagestyle{empty}
 \errorcontextlines=50
 \lineskip=0pt
 \footnotesize
 
+\titlewidth=0.5\textwidth \advance\titlewidth by -4em
+
 \global\def\\{&&&&&\cr}
 \halign%
   {\strut\hbox to \titlewidth{\qquad\ignorespaces#\unskip\hfil}%