General[font] how to change Roman to San serif?

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
chao
Posts: 20
Joined: Tue Jun 17, 2008 5:52 pm

[font] how to change Roman to San serif?

Post by chao »

How to change the default font from Roman to San serif?
I mean whatever I type in the file without a font specification goes to Roman.
How can I change this to San serif?

Thanks!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

[font] how to change Roman to San serif?

Post by Stefan Kottwitz »

Hi chao,

that could be done by

Code: Select all

\renewcommand{\familydefault}{\sfdefault}
Stefan
LaTeX.org admin
User avatar
gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

[font] how to change Roman to San serif?

Post by gmedina »

Using the cmbright package could be an option. Doing a search on CTAN will give you other alternatives.
1,1,2,3,5,8,13,21,34,55,89,144,233,...
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

[font] how to change Roman to San serif?

Post by localghost »

chao wrote:How to change the default font from Roman to San serif? [...]
Note that from the typographical point of view it is not a good idea to typeset a whole document in sans serif font shape. This is only recommendable for pesentations. The serifs of a font serve as guidelines to the eye for better and more convenient reading.

Best regards
Thorsten¹
chao
Posts: 20
Joined: Tue Jun 17, 2008 5:52 pm

Re: [font] how to change Roman to San serif?

Post by chao »

but our univ. thesis requires arial to be used in general.
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

[font] how to change Roman to San serif?

Post by localghost »

We could quarrel about sense and nonsense of such demands. It seems that some institutions are sticked to strange ideas of writing scientific documents. But you could try the txfonts package, which provides Times as default roman family style and a sans serif family similar to Helvetica (from which Arial is just a lousy copy). Together with the above mentioned switch by redefining the family default shape it should match your ideas.
Post Reply