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
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
localghost
Site Moderator
Posts: 9201
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
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes[/size]

¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1
User avatar
Stefan Kottwitz
Site Admin
Posts: 10290
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