I have the following code where I need to put the authors' affiliations in the document footer. However, the document footer is not large enough for multiple affiliations. I need to share this template with several others so I need a better answer than resetting the margins throughout the paper. Can I do this using the Fancyhdr package for the footer page style I setup?
\documentclass[12pt,letterpaper,onecolumn]{article}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage{lipsum}
\usepackage{placeins} % added to use float barrier
\usepackage{indentfirst} % indent the first paragraph after the section label
\usepackage[left=3.35cm,right=3.96cm,top=1.905cm,bottom=2.36cm]{geometry}
\usepackage{fancyhdr}
\fancypagestyle{specialfooter}{%
\fancyhf{}
\renewcommand\headrulewidth{0pt}
\fancyfoot[L]{$^{1}$ \footnotesize{Department of Civil, Construction, and Environmental Engineering, Iowa State University, Ames, IA, USA} \\
$^{2}$ \footnotesize{Co-author affiliations, Earth}}
}
\begin{document}
\begin{titlepage}
{\noindent Title: {\bf \textit{ The Title for an Excellent Work}} }
\vspace{1\baselineskip}
% Authors
{\noindent Authors: \hspace{4ex} Austin Downey$^{1}$ \\}
{\indent \hspace{10.5ex} Co-author$^{2}$}
\vspace{1\baselineskip}
\end{titlepage}
\vspace*{8cm}
\thispagestyle{specialfooter}
\begin{abstract}
\lipsum[1]
\end{abstract}
\section{First section}
\lipsum[1-10]
I do need the large space in the first page.
Adding the solution here as I am not sure how long the linked page will be active for.
\fancypagestyle{specialfooter}{%
\fancyhf{}% Clear header/footer
\renewcommand\headrulewidth{0pt}% Remove header rule
\fancyfoot[L]{\footnotesize\smash{\begin{tabular}[b]{@{}p{\linewidth}@{}}
Austin Downey, Dept. of Civil, Construction, and Environmental Eng., Iowa State University, Ames, IA, USA\\
Co-author, Co-authors affiliation, Earth \\
\end{tabular}}}
}
fancyhdr
doesn't touch the layout geometry. It just puts stuff into certain places. You have to make sure there is enough room for that to work. If not,fancyhdr
prints warnings and tries to change the dimensions, but the result is typically inconsistent layout. At least, that's how it works ifheadheight
is too small, say. Off-topic: switches such as\bf
have been obsolete for LaTeX for 20+ years. Isn't it time to accept that LaTeX-2e is now standard?\FloatBarrier
at the end of the document, is there? Nothing can float beyond that point anyway and any floats remaining in the queue will be output at this time. Is the stuff too deep, too high or too wide?