I try to add some margin top to my page but is not working :

Please how can I do it ?

enter image description here

here the code :

\documentclass[12pt, twoside, openany]{book}


 \usepackage[spanish, es-tabla]{babel}

   \graphicspath{ {images/} }
       \rmfamily % Fuente tipo Romana
       \large\hspace{-18pt}Chairman of the jury :\\
        \centering \large Academic year 2020 / 2021


here the configuration



         \renewcommand{\contentsname}{Índice de contenido}
          \renewcommand{\listfigurename}{Índice de figuras}
          \renewcommand{\listtablename}{Índice de tablas}







            \fancyhead[R]{\bfseries{page \thepage \hspace{1pt} of 


            \fancyhead[R]{\bfseries{page \thepage \hspace{1pt} of 


  • Could you please post a small complete code reproducing your problem? We don't even know which document class you're using.
    – Bernard
    Apr 17 at 14:09
  • I add the code please help
    – youssef115
    Apr 17 at 14:19
  • If using the book class, this looks more like a section heading than a chapter heading. But you may have changed things with the file Configuracion.tex, which you don't show. The code provided doesn't produce the output you've shown. Apr 17 at 14:36
  • I can't compile without commenting the \input{…} (I don't have the files). Could you explain at what distance from the topmargin the chapter heading should be placed, and whether it should be the same for all chapters?
    – Bernard
    Apr 17 at 14:37
  • I add the Configuration.tex, and sorry for not add it from the beginning
    – youssef115
    Apr 17 at 15:12

Use for example \titlespacing*{\chapter}{0pt}{150pt}{0pt}%Spacing above = 150pt to add a positive space above. Now you are using \titlespacing*{\chapter}{0pt}{-62pt}{0pt} in Configuracion.tex

enter image description here

  • Exactly like I want, thank you friend for the help
    – youssef115
    Apr 17 at 15:26

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.