This is my code:

\fancyfoot[RO,LE]{ \textbf{ \small \textsf{\thepage}}}

With this code, I have the number of pages: one on the left and one the right. I ask how can change it all on the middle? And the first page of each chapter (which contains the minitoc) is without number, I ask how can add a number of page in this page?

  • Please expand your code to a fully compilable minimal working example (MWE), i.e. don't use \include. There are packages that produce filler text, e.g. lipsum, blindtext, or kantlipsum. Make sure to include things like minitocs, but don't just paste your original document, reduce it to the minimum necessary to show all features present.
    – doncherry
    Commented Dec 29, 2012 at 19:34

1 Answer 1


The first part of your question should be fixed with this...


To change the plain fancy page style, which gets called at the start of the chapter


The above can also be used to create a new fancy page style by changing plain to xyz, for example, I have used this for various documents, it is a more comprehensive command than the above, since it resets everything first via the \fancyhf{} command.

%Header and Footer.
    \fancyhf{} % clear all header and footers
    \fancyfoot[R]{\footnotesize{Page. \thepage~of~\pageref{LastPage}}}

Then you can call


for a single (local) instance, or,


to set the pagestyle from that point forward or until something else changes it.

  • For the minitoc this is the package \usepackage[french]{minitoc}, i'll edit my question
    – researcher
    Commented Dec 29, 2012 at 19:51
  • are you also using fancychap? Commented Dec 29, 2012 at 19:53
  • no, just pagestyle{fancy}
    – researcher
    Commented Dec 29, 2012 at 19:54
  • i have in the beginning of chapter \thispagestyle{empty} , when i delete it i have the number of page but it haven't the same style like other pages
    – researcher
    Commented Dec 29, 2012 at 19:55
  • when i add \fancypagestyle{plain} i have lost the style of number i have defined..
    – researcher
    Commented Dec 29, 2012 at 20:17

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .