I'm currently work on my title page and I'd like to add a footer. I tried to use fancy without success. I think it's because I don't use the command \maketitle.

My title page below:


{\fontfamily{pag}\selectfont \Huge{\@title}\\%




The comands \AtUpperLeftCorner and \AtUpperRightCorner are defined like this:

\newcommand{\blap}[1]{\vbox to 0pt{#1\vss}}
{\blap{\hbox to 0pt{\hss#2\hss}}}%
{\blap{\hbox to 0pt{\hss#2\hss}}}%

This part of the code is not mine, so I don't know exactly how it works; but it's only for pictures and header. I want to put a text in the footer.

How could I proceed?

Thanks in advance!

  • 1
    Welcome to TeX SX! Why don't you take a look at the titling package? It makes it easy to customise the command \maketitle. – Bernard Jul 31 '17 at 21:22
  • Thanks! First time I need to post! Hum, I tried titling but I didn't work well. Maybe I missed smewhre. – Dark Patate Jul 31 '17 at 22:22
  • Don't use \subtitle and stuff like that if you don't want to use \maketitle – Johannes_B Aug 1 '17 at 6:01

Lacking a complete MWE, I was unable to test the following:

\newcommand\AtBottomCenterPage[2]{% #1 = distance from bottom, #2 = text
{\blap{\hbox to 0pt{\hss#2\hss}}}%
\newcommand\AtBottomRightCorner[3]{% #1 = distance from right edge, #2 = distance from bottom, #3=text

The use of \put indicates that \AddToShipoutPicture uses a picture environment which overlays the entire page. Picture is part of core LaTeX but is rarely used anymore.

It would also help to know exactly where the footer area is.

\the\dimexpr \paperheight-1in-\topmargin-\headheight-\headsep-\textheight-\footskip\relax
  • Thanks for your answer! I don't understand exactlyhow it works, but it works! :) If I would like to put in the right corner, should I do as in the header (subtract an arbitrary lenght)? – Dark Patate Jul 31 '17 at 22:21
  • Just added \AtBottomRightCorner – John Kormylo Jul 31 '17 at 22:28

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.