정확한 바닥글 제어(줄바꿈 및 위치 이동 포함)

정확한 바닥글 제어(줄바꿈 및 위치 이동 포함)

포스터를 준비하고 fancyhdr페이지 하단에 내용을 포함시키는 데 사용하고 있습니다. 두 가지 문제가 있습니다.

  • \cfoot{}중앙에 있지 않으면 를 사용하여 해결할 수 있지만 \makebox{}이후 명령은 새 줄을 허용하지 않는 것 같고 그렇지 않으면 텍스트가 너무 길기 때문에 이것이 필요합니다.

  • 바닥글을 세로 축을 따라 위로 이동하고 싶습니다(즉, 바닥글을 용지 아래쪽에서 멀리 이동).

fancyhdr이것이 최선의 해결책인지는 확실하지 않지만 현재는 내가 원하는 것에 가장 가깝습니다.

내 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}

여기에 이미지 설명을 입력하세요

답변1

\parbox, \raisebox, \makebox를 중첩하여 원하는 위치를 얻을 수 있습니다.

\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}

관련 정보