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.

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

Possible Duplicate:
Chapter formatting

Could someone help me with this problem with my document?

Instead of generating the following:

% % % %

Chapter 2

Title

% % % %

I would like the following text:

% % % %

2 Title

% % % %
share|improve this question

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

This question was marked as an exact duplicate of an existing 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:

\makeatletter
\def\chapter{\cleardoublepage\secdef\@chapter\@schapter}
\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@}}
\makeatother
share|improve this answer

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