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 am using fncychap and would like to use a different font for the chapter label than the rest of the document. Is there any easy and general way?

share|improve this question
Please provide some more information about your computing setup. E.g., do you use pdf(la)tex, xe(la)tex, or lua(la)tex -- or something else? Which documentclass do you use? And, which fonts are you currently using and/or looking to use for the chapter headings? – Mico Jan 8 '13 at 20:39
up vote 2 down vote accepted

The exact configuration depends on the fncychap style you’re using, but in general, there are a few macros for adapting the style, as described in section 2.1 of the fncychap documentation. The ones for changing the font etc. are \ChNameVar{stuff}, \ChNumVar{stuff} and \ChTitleVar{stuff}. Here’s an example for the style Sonny using pdfLaTeX:

  % defaults:
  % custom:
\chapter{Hello World!}
Foo bar baz


For some more details on how to change the font and also how to do it with XeLaTeX, LuaLaTeX, or ConTeXt, see How do I use a particular font for a small section of text in my document?.

Also note that in some fncychap styles, variables influence the following variables; e.g. in my example, “Hello World!” and the rules would be red if I hadn’t specified their color. I’m not sure if that’s a bug or intended behavior.

share|improve this answer

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.