Estoy preparando un póster y lo uso fancyhdr
para incluir contenido al final de la página. Tengo dos problemas:
\cfoot{}
no está centrado, esto se puede resolver usando\makebox{}
, sin embargo, el comando posterior no parece permitir nuevas líneas y esto es necesario ya que de lo contrario el texto es demasiado largo.Me gustaría poder mover los pies de página hacia arriba a lo largo del eje vertical (en otras palabras, alejarlos de la parte inferior del documento)
No estoy seguro de si fancyhdr
es la mejor solución, pero actualmente es la más cercana a lo que quiero.
Aquí está mi MWE:
\documentclass{article}
\usepackage[paperwidth=36in, paperheight=27in, margin=2in]{geometry}
\usepackage{multicol}
\columnsep=100pt
\columnseprule=3pt
\usepackage{graphicx}
\usepackage{lipsum}
% Footer
\usepackage{fancyhdr}
\pagestyle{fancy}
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}
\lhead{}
\rhead{}
\fancyfootoffset[LO]{-8cm}
% Organization logo and presentation footer
\lfoot{\makebox[0pt][r]{\includegraphics[width=5cm]{example-image-a}}} %insitution logo
\rfoot{Poster presented at XXX. Tokyo, Japan}
% Not centered:
%\cfoot{\Huge\textbf{Acknowledgements} This is acknowledgement text This is acknowledgement text This is acknowledgement text \\ This is acknowledgement text This is acknowledgement text This is acknowledgement text This is acknowledgement text This is acknowledgement text }
% cannot introduce linebreak
\cfoot{\makebox[\textwidth][c]{\Huge \textbf{Acknowledgements} This is acknowledgement text This is acknowledgement text This is acknowledgement text This is acknowledgement text This is acknowledgement text This is acknowledgement text This is acknowledgement text This is acknowledgement text }}
\begin{document}
\begin{multicols}{4}
\lipsum[1-90]
\end{multicols}
\end{document}
Respuesta1
Puede anidar \parbox, \raisebox, \makebox para obtener la ubicación que desee:
\documentclass{article}
\usepackage[paperwidth=36in, paperheight=27in, margin=2in]{geometry}
\usepackage{multicol}
\columnsep=100pt
\columnseprule=3pt
\usepackage{graphicx}
\usepackage{lipsum}
% Footer
\usepackage{fancyhdr}
\pagestyle{fancy}
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}
\lhead{}
\rhead{}
%\fancyfootoffset[LO]{-8cm}
% Organization logo and presentation footer
\lfoot{\raisebox{-0.5\height}[0pt][0pt]{\makebox[0pt][l]{\includegraphics[width=5cm]{example-image-a}}}} %insitution logo
\rfoot{Poster presented at XXX. Tokyo, Japan}
\cfoot{\raisebox{0cm}[0pt][0pt]{%
\makebox[0pt]{\parbox{0.8\textwidth}{\centering \Huge \textbf{Acknowledgements} This is acknowledgement text This is acknowledgement text This is acknowledgement text This is acknowledgement text This is acknowledgement text This is acknowledgement text This is acknowledgement text This is acknowledgement text }}}}
\begin{document}
\begin{multicols}{4}
\lipsum[1-90]
\end{multicols}
\end{document}