3

I want to center the word Annexes (english: Appendices) in the middle of the page

\documentclass[a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[english,francais]{babel}
        %annexes
\usepackage[toc,page]{appendix}
\renewcommand{\appendixpagename}{Annexes}
\renewcommand{\appendixtocname}{Annexes}
\begin{document}
   \begin{appendices}

      \appendix
      \newpage
      \section*{Annexes}
        ...
  \end{appendices}
\end{document}

I got the word but left in the top (look image), I want it in the middle and centered (vertically and horizontally) like in the books enter image description here

I need it like this (without filigrane of corse) enter image description here

  • Why are you using \appendix within appendices environment? – user31729 Aug 12 '16 at 20:32
  • actually, I learned that from a tutorial, I didn't knew there are an other package – Hind Dev Aug 12 '16 at 20:40
  • Some tutorials on LaTeX are quite rotten ... reading the manual(s) of the used packages helps much more than such tutorials – user31729 Aug 12 '16 at 20:42
  • the guy in the tutorial had the word centered, I don't know why it doesn't in my document – Hind Dev Aug 12 '16 at 20:43
3

Something like this?

\documentclass[a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{showframe}
\usepackage[toc,page]{appendix}

\usepackage[english,francais]{babel}

\usepackage{blindtext}
\renewcommand{\appendixtocname}{Annexes}
\renewcommand{\appendixpagename}{\vspace*{\fill}\centering Annexes\vspace*{\fill}}

\begin{document}
\begin{appendices}
  \clearpage
  \section{First appendix}
  \blindtext
\end{appendices}
\end{document}

enter image description here

  • not like that, I found this example but I want it centered also vertically – Hind Dev Aug 12 '16 at 20:41
  • I put a photo from the tutorial example – Hind Dev Aug 12 '16 at 20:46
  • @HindDev: See the update please! – user31729 Aug 12 '16 at 20:52

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.