Possible Duplicate:
How to set the font for a \section title (and chapter etc)

The serif fontNew TX times is used for text. What if I want set the chapter, section headings a specific sans serif font. I know package titlesec can be used to set \sffamily such as:


But how to set a desired sans font, e.g the sans font for all headings provided by:


In short, I want times be the text font, and tgadventor sans be the font for all headings.

marked as duplicate by lockstep, Joseph Wright Feb 2 '13 at 22:09

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • See also: tex.stackexchange.com/questions/1455/… – rtzll Jan 19 '13 at 22:27
  • Why changing \familydefault? \usepackage{tgadventor} is sufficient to say that \sffamily will use the TeX Gyre Adventor font. – egreg Jan 19 '13 at 22:46
  • 1
    See also: Change font to only section and subsection of my document – user11232 Jan 19 '13 at 22:50
  • Or simply use \renewcommand{\sfdefault}{qag} instead of \usepackage{tgadventor}. – user11232 Jan 19 '13 at 22:58
  • Thank you all. Where can I find the keyword xxx for use of \fontfamily{xxx} or \renewcommand{\sfdefault}{xxx} ? – KOF Jan 19 '13 at 23:11

Browse other questions tagged or ask your own question.