Received: by nummer-3.proteosys id <01C19443.3FA6678C@nummer-3.proteosys>; Thu, 3 Jan 2002 11:41:49 +0100 MIME-Version: 1.0 x-vm-v5-data: ([nil nil nil nil nil nil nil t nil][nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil]) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C19443.3FA6678C" X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message Subject: RE: Another thought about font selection hooks Date: Fri, 22 Mar 1991 14:36:44 +0100 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: From: Sender: "LaTeX-L Mailing list" To: "Rainer M. Schoepf" Reply-To: "LaTeX-L Mailing list" Status: R X-Status: X-Keywords: X-UID: 308 This is a multi-part message in MIME format. ------_=_NextPart_001_01C19443.3FA6678C Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Don --- >>> I would definitely like to see some hook into the size changing >>> mechanism for style-designer interfaces. For example, the >>> best value of \emergencystretch, IMHO is 1em; of course the v >>> value of an em changes depending on the size, so it would be nice >>> if I could do something like say >>> \addto@hook{\every@sizechange}{\emergencystretch=3D1em} In `Ps-Fonts.TeX' (`An Alternative Font Selection Scheme', in use at = RHBNC but otherwise as yet unpublished), I have the concept of \static and = \dynamic variables, as illustrated in the fragment below (the syntax is subject = to change, but I believe that the underlying idea is sound); \dynamic \baselineskip =3D 1.2 \fontsize \dynamic \parskip =3D 0.5 \baselineskip \dynamic \strutheight =3D 0.85 \fontsize \dynamic \strutdepth =3D 0.35 \fontsize \static \abovedisplayskip =3D \parskip \static \belowdisplayskip =3D \parskip \static \abovedisplayshortskip =3D \parskip \static \belowdisplayshortskip =3D \parskip \static \topskip =3D 12 pt \static \bigskipamount =3D \baselineskip \static \medskipamount =3D 0.5 \baselineskip \static \smallskipamount =3D 0.25 \baselineskip I wonder whether \static and \dynamic variables might have some place in = the NFFS, in which case your need could be very easily addressed with \dynamic \emergencystretch =3D 1 em But shouldn't it also be a function of [what would be called in Plain = TeX] \hsize ? ** Phil. Philip Taylor Royal Holloway and Bedford New College, ``The University of London at Windsor'' ------_=_NextPart_001_01C19443.3FA6678C Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable RE: Another thought about font selection hooks

Don ---

>>> I would definitely like to see some hook = into the size changing
>>> mechanism for style-designer interfaces. = For example, the
>>> best value of \emergencystretch, IMHO is = 1em; of course the v
>>> value of an em changes depending on the = size, so it would be nice
>>> if I could do something like say
>>> = \addto@hook{\every@sizechange}{\emergencystretch=3D1em}

In `Ps-Fonts.TeX' (`An Alternative Font Selection = Scheme', in use at RHBNC but
otherwise as yet unpublished), I have the concept of = \static and \dynamic
variables, as illustrated in the fragment below (the = syntax is subject to
change, but I believe that the underlying idea is = sound);

        \dynamic = \baselineskip =3D 1.2 \fontsize
        \dynamic = \parskip =3D 0.5 \baselineskip
        \dynamic = \strutheight =3D 0.85 \fontsize
        \dynamic = \strutdepth =3D 0.35 \fontsize

        \static = \abovedisplayskip =3D \parskip
        \static = \belowdisplayskip =3D \parskip
        \static = \abovedisplayshortskip =3D \parskip
        \static = \belowdisplayshortskip =3D \parskip
        \static = \topskip =3D 12 pt
        \static = \bigskipamount =3D \baselineskip
        \static = \medskipamount =3D 0.5 \baselineskip
        \static = \smallskipamount =3D 0.25 \baselineskip

I wonder whether \static and \dynamic variables might = have some place in the
NFFS, in which case your need could be very easily = addressed with

        \dynamic = \emergencystretch =3D 1 em

But shouldn't it also be a function of [what would be = called in Plain TeX]
\hsize ?  ** Phil.

        =         =         =         =         Philip = Taylor
        =         =             Royal Holloway and Bedford New = College,
        =         =             ``The University of London at = Windsor''

------_=_NextPart_001_01C19443.3FA6678C--