Received: by nummer-3.proteosys id <01C19443.3D1CEB94@nummer-3.proteosys>; Thu, 3 Jan 2002 11:41:45 +0100 Return-Path: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C19443.3D1CEB94" x-vm-v5-data: ([nil nil nil nil nil nil t t nil][nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil]) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message Subject: Re: ?@SETSIZE Date: Sat, 2 Feb 1991 04:51:13 +0100 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: From: "LaTeX-L Mailing list" Sender: "Don Hosek" To: "Rainer M. Schoepf" Reply-To: "LaTeX-L Mailing list" Status: R X-Status: X-Keywords: X-UID: 286 This is a multi-part message in MIME format. ------_=_NextPart_001_01C19443.3D1CEB94 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable >> Is there any reason why the lfonts.new \@setsize command does not >> set \@currsize? This is a feature which I've used in some of my >> document styles and really would like to have back if I could. >> >I have my reservations to add a feature like \@currsize at the >moment because it will not be kept this way when the new style >designer interface eventually appears. >A style that currently like to uses this should set up >the two lines with \@setsize itself. >I will put it on the request list, but I don't like to build >a feature system (always adding a new feature on top of the >old features when something doesn't work ...) >It is better to study the requirements as a complex. But this isn't adding a new feature, it's restoring one that probably should never have been deleted. I know exactly what the standard LaTeX files use it for: making \normalsize do a \rm if we're already in \normalsize (which is no longer an issue with the new font selection scheme which handles that optimization a little more elegantly). However, the usefulness of it extends beyond that. And the code to work around it is a bit more than two lines. Here is what I use now: % This is CURRSIZE.STY as of 21-Jan-1991 % Copyright 1991 Don Hosek \typeout{CURRSIZE.STY as of 21-Jan-1991} \def\newold@setsize#1#2#3#4{\@nomath#1\size{#4}{#2}% \family\default@family \series\default@series\shape\default@shape \selectfont} \def\newnew@setsize#1#2#3#4{\@nomath#1% \size{#4}{#2}\selectfont} \def\old@setsize#1#2#3#4{\@nomath#1\let\@currsize#1\baselineskip #2\setbox\strutbox\hbox{\vrule height.7\baselineskip depth.3\baselineskip = width\z@}\baselineskip\baselinestretch\baselineskip \normalbaselineskip\baselineskip#3#4} \ifx\@setsize\newold@setsize \def\@setsize#1#2#3#4{\@nomath#1\size{#4}{#2}% \let\@currsize#1% \family\default@family \series\default@series\shape\default@shape \selectfont} \ifx\@setsize\newnew@setsize \def\@setsize#1#2#3#4{\@nomath#1% \let\@currsize#1% \size{#4}{#2}\selectfont} -dh ------_=_NextPart_001_01C19443.3D1CEB94 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Re: ?@SETSIZE

>> Is there any reason why the lfonts.new = \@setsize command does not
>> set \@currsize? This is a feature which I've = used in some of my
>> document styles and really would like to = have back if I could.
>>
>I have my reservations to add a feature like = \@currsize at the
>moment because it will not be kept this way when = the new style
>designer interface eventually appears.
>A style that currently like to uses this should = set up
>the two lines with \@setsize itself.

>I will put it on the request list, but I don't = like to build
>a feature system (always adding a new feature on = top of the
>old features when something doesn't work = ...)
>It is better to study the requirements as a = complex.

But this isn't adding a new feature, it's restoring = one that
probably should never have been deleted. I know = exactly what the
standard LaTeX files use it for: making \normalsize = do a \rm if
we're already in \normalsize (which is no longer an = issue with
the new font selection scheme which handles that = optimization a
little more elegantly). However, the usefulness of it = extends
beyond that.

And the code to work around it is a bit more than two = lines.
Here is what I use now:

% This is CURRSIZE.STY as of 21-Jan-1991
% Copyright 1991 Don Hosek

\typeout{CURRSIZE.STY as of 21-Jan-1991}

\def\newold@setsize#1#2#3#4{\@nomath#1\size{#4}{#2}%
    \family\default@family
    = \series\default@series\shape\default@shape
    \selectfont}
\def\newnew@setsize#1#2#3#4{\@nomath#1%
          &nbs= p;            = ; \size{#4}{#2}\selectfont}
\def\old@setsize#1#2#3#4{\@nomath#1\let\@currsize#1\baselineskip=
   #2\setbox\strutbox\hbox{\vrule = height.7\baselineskip
      depth.3\baselineskip = width\z@}\baselineskip\baselinestretch\baselineskip
   = \normalbaselineskip\baselineskip#3#4}

\ifx\@setsize\newold@setsize
  = \def\@setsize#1#2#3#4{\@nomath#1\size{#4}{#2}%
    \let\@currsize#1%
    \family\default@family
    = \series\default@series\shape\default@shape
    \selectfont}

\ifx\@setsize\newnew@setsize
  \def\@setsize#1#2#3#4{\@nomath#1%
    \let\@currsize#1%
    \size{#4}{#2}\selectfont}

-dh


------_=_NextPart_001_01C19443.3D1CEB94--