Estou preparando um pôster e usando fancyhdr
para incluir conteúdo no final da página. Eu tenho dois problemas:
\cfoot{}
não está centralizado, isso pode ser resolvido usando\makebox{}
, porém, o comando posterior parece não permitir novas linhas e isso é necessário, pois caso contrário o texto é muito longo.Gostaria de poder deslocar os rodapés para cima ao longo do eixo vertical (em outras palavras, afastá-los da parte inferior do papel)
Não tenho certeza se fancyhdr
é a melhor solução, mas atualmente é a mais próxima do que desejo.
Aqui está meu 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}
Responder1
Você pode aninhar \parbox, \raisebox, \makebox para obter o posicionamento desejado:
\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}