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.

Be default chapters look like:

Chapter 1

Chapter name.

How can I make chapters in LaTeX look something like this?

Chapter 1. Chapter Name.

That is: add a dot after chapter number, and place the chapter name straight after the chapter number.

share|improve this question
add comment

migrated from stackoverflow.com Dec 14 '11 at 1:49

This question came from our site for professional and enthusiast programmers.

1 Answer

up vote 10 down vote accepted

You can use the titlesec package:

\documentclass{book}
\usepackage{titlesec}

\titleformat{\chapter}
  {\normalfont\huge\bfseries}{\chaptertitlename\ \thechapter.}{20pt}{\huge}

\begin{document}

\chapter{Test Chapter}

\end{document}

enter image description here

share|improve this answer
add comment

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.