>>Date: Thu, 24 Jan 2002 09:32:55 +0100 (CET)
>>From: Guenter Milde <[EMAIL PROTECTED]>
>>Subject: Re: Re: font question
>>To: LyX users <[EMAIL PROTECTED]>
>>
>>On Wed, 23 Jan 2002 13:17:36 +0200 wrote Robin Turner <[EMAIL PROTECTED]>:
>>
>>> Rodney K wrote:
>>> > 
>>> > I am trying to create a document using the helvetica font. However,
>>> > selecting the helvetica font from the document properties dialog box
>>> > does not change the font from the default (romans?) to helvetica. How do
>>> > I do this?
>>> 
>>> This may be a dumb answer, but are you mixing up screen fonts and
>>> printer fonts? The fonts you see in LyX have nothing to do with
>>> the ones you see in the print previewer (which are the ones that
>>> actually get printed).  Hit Ctrl-t to check your PostScript
>>> output.
>>
>>While the above is true, it is indeed the case, that 
>>> > selecting the helvetica font from the document properties dialog box
>>> > does not change the font from the default (romans?) to helvetica.
>>It loads the package helvetica.sty this package just uses helvetica instead
>>of computer-modern-sans-serif for sans serif.
>>
>>
>>To change to helvetica as default, you need to put
>>
>>   % Default font is sans serif
>>   \renewcommand{\familydefault}{\sfdefault}
>>   
>>   and optional:
>>   % change this also in Formulas:
>>   \renewcommand{\textrm}{\textsf}    % für "Text in Math"
>>   % \renewcommand{\mathrm}{\mathsf}  % this may be too much
>>
>>in the LaTeX preamble.
>>
>>
>>After that, the fonts in LyX are still the same, but in dvi and ps are
>>sans-serif.
>>
>>Actually, I consider the helvetica option from the document properties
>>dialog box to be misleading and I wished it would go.

The point is that the Layout->Document->Font selects the fonts
for each of the three families, so that's OK.
If you want to be more precise, you have to look at the .sty file
to know what happens
(e.g. palatino changes only the serif font, but sets
sans-serif and typewriter to ps fonts).

It's always possible to change the family locally 
with Layout-Character (if it makes sense typographically), 
what is missing is a selector between
serif, sans-serif and typewriter.

It can be done in the Layout->Document->Font-family menu,
but also (more easily ?) with a marker in the Style menu,
coded in a .inc which is always loaded.

Are there plans about it ?
This becomes a V(ery)FAQ.

-- 
Jean-Pierre


Reply via email to