18

Possible Duplicate:
Chapter formatting

Apologies if this is something simple, but I seem to be searching in the wrong place for an answer. I have a document of type report. It is currently generating my chapters as follows:

Chapter 1

Name of Chapter

I just want it to be:

  1. Name of Chapter

I had a few latex documents which used to generate it in the way I want using this command:

\renewcommand{\chaptermark}[1]{%
  \markboth{#1}{}}

However it does not seem to be having any effect on my new document. What am I missing? I am using the latest MiKTeX 2.9 and Texmaker 3.5.2.

32

You can use the titlesec package. The following example shows how to implement it:

\documentclass{report}
\usepackage{titlesec}

\titleformat{\chapter}{\normalfont\huge}{\thechapter.}{20pt}{\huge\it}

\begin{document}

\chapter{Name of Chapter}

\end{document}

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