1

I'm using the fancyhdr package for writing a document and I'd like each section of the document to start at half page (even better if I could decide height), and the section's name and number to be flushed on the right part of the page.

Furthermore, in the starting page of a section I'd like to remove the header, and have the number of the page on the bottom and not in the top.

What a new section is like in my case:

enter image description here

what I'd like it to be (don't mind the style, just the position of title and section number):

enter image description here

should I use a certain package or are there some commands I should use at the beginning of each section?

3

I'd suggest you to use a document class with \chapter sectional units; in the standard classes, the first page of a chapter has plain page style (no header and page number on the bottom, as required). To customize the formatting for the chapter headings you can use, for example, the titlesec package. A little example:

\documentclass{report}
\usepackage[explicit]{titlesec}
\usepackage{lipsum}

\titleformat{\chapter}
  {\normalfont\Large\bfseries}{}{0em}
  {#1\hfill\rlap{\makebox[2em][r]{\Huge\thechapter}}}[\vskip15pt\titlerule]
\titlespacing*{\chapter}
  {0pt}{60pt}{20pt}

\begin{document}

\chapter{Example}
\lipsum[1-20]

\end{document}

enter image description here

  • Thks for pointing out a solution, it was very helpful! :) can I just ask you please to explain me with some comments what are the commands you used?thks in advance! – Matteo Nov 9 '12 at 8:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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