Footer pdf rmarkdown

Hi, I am generating a PDF document with footer on all its pages (including the first page). I need to leave a space under the footer to later incorporate an electronic signature (outside of R). I managed to give the space to all my pages (using \footskip = 15pt), except the first page, which still has the footer attached to the bottom edge of my page.

latex_engine: pdflatex
output:
  pdf_document: 
    df_print: kable
    fig_caption: yes
  word_document:
    toc: no
    toc_depth: '3'
header-includes:
- \usepackage{lscape}
- \usepackage{longtable}
- \newcommand{\blandscape}{\begin{landscape}}
- \newcommand{\elandscape}{\end{landscape}}
- \usepackage{fancyhdr}
- \usepackage{float}
- \usepackage[spanish]{babel}
- \rhead{\includegraphics[width = .2\textwidth]{Logo_LAC.jpg}}
- \lhead{\includegraphics[width = .2\textwidth]{Logo_SMA.jpg}}
- \usepackage{lastpage}
- \pagestyle{fancy}
- \fancyfoot[C]{ }
- \fancyfoot[RO,RE]{\thepage\ de \pageref{LastPage}}
- "\\fancyfoot[LE,LO]{Organización\\\\Área\\\\Dirección
\\\\LAB-INF-001/V08\\\\LABINF001/23-006}"
editor_options:
  markdown:
    wrap: 72
---

\footskip = 15pt
\textheight = 620pt
\paperheight = 900pt
\paperwidth = 612pt 
\renewcommand{\spanishtablename}{Tabla}
\renewcommand{\spanishfigurename}{Figura}
\renewcommand{\spanishcontentsname}{Contenidos}
\renewcommand{\footrulewidth}{1pt} 

Here is the first page without space:
image

Here are the other pages with the space I need:
image

I hope you can help me.

Greetings,

Don't know.
But you did try to insert empty lines or lines with spaces in \\fancyfoot[LE,LO] .... ?

Don't works. The first page (cover page?) don´t responses to my configuration.

Maybe I am doing it incorrectly.

Thank you.

Finally I found the solution with geometry in YAML, setting the bottom configuration:

author: " "
output:
  pdf_document: 
    df_print: kable
    fig_caption: yes
geometry: "letterpaper,left=2.5cm,right=2.5cm,top=1cm,bottom=4cm"
1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.