Newsgroups: comp.text.tex
Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!snorkelwacker.mit.edu!ira.uka.de!rusmv1!texinfo1
From: texinfo1@rusmv1.rus.uni-stuttgart.de (Rainer Schoepf)
Subject: Re: LaTeX font selection problem
Message-ID: <1991Jun12.180610.13619@rusmv1.rus.uni-stuttgart.de>
Organization: Comp.Center (RUS), U of Stuttgart, FRG
References: <1991Jun7.155623.9082@sics.se>
Date: Wed, 12 Jun 1991 18:06:10 GMT
Lines: 35

In article <1991Jun7.155623.9082@sics.se> bjornl@sics.se (Bj|rn Lisper) writes:
>I have a problem with the new font selection scheme of LaTeX. When the old
>one was around, I wrote a simple little slides.sty to enlarge text for
>use on slides. The code is below:
>
>%My personal slides style file. No pagenumbers and defines a macro
>%``\beginslide'' that sets sizes to LARGE. 900926/BjL
>\pagestyle{empty}		% no pagenumbers
>\parindent=0pt			% no indentation for new paragraph
>\def\beginslide{\LARGE\it \LARGE\sl \LARGE\bf \LARGE\boldmath \LARGE}

Not that I understand this. All but the two last commands (\boldmath \LARGE)
don't have any effect since \LARGE resets everything back to \rm.
>
>This works fine with the old font selection scheme, but with the new scheme
>I get some bold italic (boldmath?) all over the place. (I of course want
>roman as default.) I've tried to fix it in several ways but to no avail.
>Anybody out there who knows what's going on and can give me a clue to how to
>fix it?

Well, in the NFSS with newlfont option, \it and \bf change the shape to
italic and the weight to bold, respectively. In contrast to the old one,
these changes are orthogonal.

Define \beginslide as

\newcommand{\beginslide}{\LARGE}

or use \LARGE in the first place.


Another possibility is to use the oldlfont style option.

Rainer Schoepf

