Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I would get bigger only the chapter title. I heard I should use titlesec package but I didn't understand how I should use it to achieve what I mean. I'm using book class

share|improve this question

1 Answer 1

up vote 3 down vote accepted

Without a minimal working example (MWE), it is difficult to give a precise answer, but here is an example of how to use titlesec for this purpose:

\documentclass{book}

\usepackage{titlesec,lipsum}

\titleformat{\chapter}[display]{\normalfont\huge\bfseries}{\chaptertitlename\ \thechapter}{20pt}{\Huge}

\begin{document}

\chapter{Chapter Title}

\lipsum[1]

\end{document}

enter image description here

The command you are interested in is \titleformat and it has the following syntax:

\titleformat{⟨command⟩}[⟨shape⟩]{⟨format⟩}{⟨label⟩}{⟨sep⟩}{⟨before-code⟩}[⟨after-code⟩]

where the role of each argument is documented on page 4 of the titlesec manual (accessible by typing texdoc titlesec in a shell or here). Basically, you should put in <format> the formatting commands that should apply to both the label and chapter name, <label> is just how you want the label to appear (leaving blank would remove "Chapter 1" for instance), while <before-code> concerns the formatting commands that appear just before the chapter name. In my example, both the label and the chapter name are \bfseries, while the label is \huge and the chapter name is \Huge.

Note: you could also have a look at this question.

share|improve this answer

Your Answer

 
discard

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.