[texhax] kern inside llap inside headline

Donald Arseneau asnd at triumf.ca
Tue Jan 3 03:08:50 CET 2012


"Suresh Govindachar" <sgovindachar at yahoo.com> writes:

>   % The headline for my plain TeX document compiled via pdftex is
>   % from manmac.tex (extract given below),

>   %       \llap{\tenbf\folio\kern1pc}%
>   %       \rlap{\kern1pc\tenbf\folio}%
>   %
>   % changing the amount of \kern from 0.1pc to 1pc to 10pc has
>   % _no_ effect on the output.

You don't show that \makeheadline actually invokes \leftheadline
or \rightheadline, so that might be the problem.

>     \def\leftheadline{\hbox to \pagewidth{\spaceskip=0pt
>         \vbox to 10pt{}% strut to position the baseline
>         \llap{\tenbf\folio\kern1pc}% folio to left of text
>         \tenit\rhead\hfil% running head flush left
>         }}
>     \def\rightheadline{\hbox to \pagewidth{\spaceskip=0pt
>         \vbox to 10pt{}% strut to position the baseline
>         \hfil\tenit\rhead\/% running head flush right
>         \rlap{\kern1pc\tenbf\folio}% folio to right of text
>         }}
>   %    
>   \def\oddevenpageshift{0.12truein}%

>     \def\plainoutput{\shipout
>       \vbox{\moveleft\ifodd\pageno-\fi\pageshift
>       \vbox{\makeheadline\pagebody\makefootline}}%
>       \advancepageno
>       \ifnum\outputpenalty>-\@MM \else\dosupereject\fi}
>     \catcode`\@=12
>   %    


Donald Arseneau                          asnd at triumf.ca


More information about the texhax mailing list