Page Layoutarticle | Problem with long Author Affiliation

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
Siavash
Posts: 9
Joined: Tue Sep 27, 2011 1:32 am

article | Problem with long Author Affiliation

Post by Siavash »

This is the code I'm trying to use:

Code: Select all

\author{Author1 \thanks{Corresponding Author's Address}\quad Author2 \quad Author3\\
\textit{\scriptsize{Authors' affiliation}}
}
The problem is authors' affiliation is very long and it doesn't fit in one line and in the output, most of it is out of the page. Inserting line breaks (with \\) in the affiliation makes the following errors:

Code: Select all

Missing } inserted \maketitle
Missing } inserted \maketitle
Missing \cr inserted \maketitle
Missing { inserted \maketitle
Misplaced \crcr \maketitle
Extra }, or forgotten $ \maketitle
Is there any way to fix this?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

article | Problem with long Author Affiliation

Post by localghost »

You should add a proper minimal example that reproduces the error. Otherwise the problem is not comprehensible.


Thorsten
User avatar
Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

article | Problem with long Author Affiliation

Post by Stefan Kottwitz »

Hi Siavash,

as Thorsten said, if you would post a small code example, which produces the error, it would be easy to help, otherwise you cannot be sure to get answers.

Anyway, in this case it's easy to fix. For example, you could use \parbox, such as

Code: Select all

\author{Author1 \thanks{Corresponding Author's Address}\quad Author2 \quad Author3\\
\textit{\scriptsize{\parbox{4cm}{\centering Authors' very long\\affiliation}}}
}
Stefan
LaTeX.org admin
lu21hao
Posts: 1
Joined: Wed Jun 13, 2012 7:10 pm

Re: article | Problem with long Author Affiliation

Post by lu21hao »

Hi, Siavash
I meet the some problem with you. I tink the problem in the chage line symbole \\

Do you find the solution of the problem ?
Post Reply