[texhax] Stretchable \baselineskip, per-page?

Uwe Lueck uwe.lueck at web.de
Thu Oct 7 21:31:39 CEST 2010


"Heiko Oberdiek" <heiko.oberdiek at googlemail.com>, 07.10.2010 10:00:52:
> On Thu, Oct 07, 2010 at 05:22:57AM +0200, Uwe Lueck wrote:
>> 2. However, \baselineskip is reset with every \normalsize. 
>> bk12.clo, e.g., has 
>> \renewcommand\normalsize{%
>>  \@setfontsize\normalsize\@xiipt{14.5}%
[...]
>> copy the entire definition between \makeatletter ... \makeatother 
>> and replace {14.5} by {14.5 \@plus 1pt}
>
> Or \set at fontsize could be overloaded for this, e.g.:
>
> \makeatletter
> \let\org at set@fontsize\set at fontsize
> \def\set at fontsize#1#2#3{%
>   \@defaultunits\@tempskipa#3pt\relax\@nnil
>    % \advance\@tempskipa by 0pt\@plus 1pt\relax
>    \advance\@tempskipa by 0pt\@plus .2\@tempskipa\relax
>    \expandafter\set at fontsize@i\the\@tempskipa\@nil{#1}{#2}%
> }
> \def\set at fontsize@i#1\@nil#2#3{%
>    \org at set@fontsize{#2}{#3}{#1}%
> }
> \makeatother

anyway, I doubt my `14.5 \@plus 1pt'; however, I cannot correct it right now.

Cheers, 

    Uwe.


More information about the texhax mailing list