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

I'm using MiKTeX and when I use \chapter command, it starts a new page. I was wondering how to not start a new page.

My next concern is how can I align the text \chapter{*} where * is the text.

Lastly, I found a code online that right aligns at the top of the page the page number, but every time I get to a new chapter page, the page number is at the bottom center. Is there a way to change the position of the page number because every time I add a new chapter in my document which is set to report, it is at the bottom center instead of top right.


EDIT: I was able to change the size of the text in \chapter{*} where * is the text.

share|improve this question
Related reading: latex-community.org/viewtopic.php?f=5&t=2521 – badroit Nov 25 '12 at 4:07
article class does not contain a \chapter command. – mkota Nov 25 '12 at 4:09
Welcome to TeX.SE! – cmhughes Nov 25 '12 at 4:14
@jay, oh yeah that's right. I changed my document type to report. – user178500 Nov 25 '12 at 4:16
up vote 6 down vote accepted

The chapter command is defined in report as


You'll notice that line 1 has the part that we need to comment out, which does the page breaking. Also note that when using \documentclass{article} you don't have access to the \chapter command.

So, in the MWE below, I've redefined \chapter and simply commented out the part with \clearpage and \cleardoublepage.






For your question about headers and footers, I recommend the fancyhdr package.

In relation to your alignment of the chapter title, we'd need to see some more details. Almost certainly though, the titlesec package would be able to do the heavy lifting for us.

Just as a cautionary note, removing the clearpage and cleardoublepage command could cause some undesired consequences, especially concerning floats (figure, table, etc).

share|improve this answer
Thanks a lot! I don't think I would have come up with this. I couldn't find anything online to the best of my abilities on how to stop the page break when using \chapter{*}. – user178500 Nov 25 '12 at 4:13
@user178500 you're very welcome :) Happy TeXing :) – cmhughes Nov 25 '12 at 4:13

Your Answer


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.