[texhax] latex default output font

William Adams will.adams at frycomm.com
Mon Feb 20 13:17:06 CET 2006


On Feb 19, 2006, at 4:43 AM, lorenzo cavini wrote:

> I am relatively new to TeX so I am not aware of many of its features
> yet.
> I would like to use a sans serif font for the whole document  
> instead of
> roman. As this would be the choice for the whole text in the document,
> the command
>
> \sftext{...}
>
> doesn't seem to me to be the best solution...
>
> Is there a way to set the default font to sans serif?

\renewcommand\rmdefault{\sfdefault}

will work for the text.

Check the docs of your system for the PSNFSS and related references.

To do math as well, get the nifty package ``sansmath.sty'' from CTAN.

William

-- 
William Adams
senior graphic designer
Fry Communications



This email message and any files transmitted with it contain information
which is confidential and intended only for the addressee(s). If you are
not the intended recipient(s), any usage,  dissemination, disclosure, or
action taken in  reliance on it is prohibited.  The reliability of  this
method of communication cannot be guaranteed.  Email can be intercepted,
corrupted, delayed, incompletely transmitted, virus-laden,  or otherwise
affected during transmission. Reasonable steps have been taken to reduce
the risk of viruses, but we cannot accept liability for damage sustained
as a result of this message. If you have received this message in error,
please immediately delete it and all copies of it and notify the sender.



More information about the texhax mailing list