Possible Duplicate:
Chapter formatting

Could someone help me with this problem with my document?

Instead of generating the following:

% % % %

Chapter 2


% % % %

I would like the following text:

% % % %

2 Title

% % % %

marked as duplicate by lockstep, Paul Gaborit, T. Verron, clemens, yo' Jan 10 '13 at 16:00

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • Welcome to TeX.SX. A tip: If you indent lines by 4 spaces, then they're marked as a code sample. You can also highlight the code and click the "code" button ({}). – Claudio Fiandrino Jan 10 '13 at 10:18
  • There are many similar questions on this site, with answers, which you may find with the search facility. If none of these help, you will need to tells us which documentclass you are using. You will get most help by providing a minimal working example (MWE) – Andrew Swann Jan 10 '13 at 14:16

For example:

\def\@makechapterhead#1{{\raggedright\Large\bfseries\thechapter\space #1\par\nobreak\vskip 10\p@}}
\def\@makeschapterhead#1{{\raggedright\Large\bfseries #1\par\nobreak\vskip 10\p@}}

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