[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Separate encoding for \log etc

Jeremy quotes Justin:
>> \note {this font is not for typesetting words. That must be done in
>> text mode.}
>I think I missed something here. Why do we want a separate encoding from
>the text encodings for things like \log etc? They *are* words! 
Hmmm... perhaps a better way of saying this would be:
   Math mode should not be used for setting text phrases in
   mathematical material.  For example:
      $$x=y \quad {\rm is\ a\ direct\ consequence\ of} \quad y=x$$
   would be better input as:
      $$x=y \quad\hbox{\rm is a direct consequence of}\quad y=x$$
   or, better still:
      $$x=y \quad\text{is a direct consequence of}\quad y=x$$
   where \verb|\text| is a macro which sets its argument in horizontal 
   mode.  This avoids unpleasant surprises such as:
      $$X \quad{\rm is\ a\ sub-object\ of}\quad Y$$
   However, for upward compatibility with existing \plain\ \TeX\ 
   documents, it will still be possible to set text phrases in math mode, 
   as long as they only contain $\langle\mbox{character}\rangle$s of type 
Phew, what a lot of work from one side-comment!
>Imho (though
>this is not the topic of MFD) \log etc should be set in a text
>font---family zero if the designer so decides, or perhaps some other
>family, but a text family nonetheless.
The base font (the one used for \log etc) will be a text font, and will 
be usable in horizontal mode for setting text matter.