🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text.tex
Article #1915

Re: Definition of \tenrm

#1915
From: Geoffrey Tobin
Date: Tue, 01 Sep 1992 02:33
33 lines
1589 bytes
(I suspect that my mail won't get through to Pierre's address, so I
post.)

The TeXbook indexes "\font", which is the current font.  At the
primitive level, fonts are manipulated using \font.

Defining \ninerm as a switch to the CM 9pt roman font:

    \font\ninerm=cmr9   % TeXbook, p 16

The current font is denoted by \font.  In the above context, both of
the following two lines expand to "cmr9":

    \fontname\font     % p 213
    \fontname\ninerm   % same paragraph

Equality of font control sequences can be tested.  Now, what I don't
know is whether that should be the simpler looking:

    \ifx\font\ninerm ... \else ... \fi    % p 210, top paragraph

OR (trying to read b/w Knuth's lines):

    \ifx\the\font\ninerm ... \else ... \fi    % p 214, last paragraph

If anyone reading this would like to write a textbook more clearly
than Knuth, may I suggest MORE EXAMPLES ?  Knuth tries to do too much
at once, as research-minded people often do, but this is no way to
teach.  Let's remember that teaching a new subject means that the
students are learning it for the FIRST time.

All the Best!
Geoffrey Tobin
Technical Details
Message-ID: <1992Sep1.023338.1535@lugb.latrobe.edu.au>
Path: arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!ariel!ucsvc.ucs.unimelb.edu.au!lugb!luxor.latrobe.edu.au!ecsgrt
References: <3481.109.uupcb@ssr.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!ariel!ucsvc.ucs.unimelb.edu.au!lugb!luxor.latrobe.edu.au!ecsgrt
From: ecsgrt@luxor.latrobe.edu.au (Geoffrey Tobin)
Newsgroups: comp.text.tex
Subject: Re: Definition of \tenrm
Message-ID: <1992Sep1.023338.1535@lugb.latrobe.edu.au>
Date: 1 Sep 92 02:33:38 GMT
References: <3481.109.uupcb@ssr.com>
Sender: news@lugb.latrobe.edu.au (USENET News System)
Organization: La Trobe University
Lines: 33