TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to set the section font to the specific size and type. But using \titleformat can only give few standard types, like Large, large...


I wonder is there any way to use


to change the section font size? Thanks a lot!

share|improve this question
up vote 5 down vote accepted

You can simply use your commands as arguments for \titleformat*:

share|improve this answer
It works. At the beginning i inserted one white space between \ and fontencoding accidently, so it always generate error. It took me a long time to figure it out. Thank you. – Jason Xu Jul 21 '11 at 17:03

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.