Surveying the Universe
MNRAS line wrapping in authors lists
In case anyone else using the MNRAS LaTeX class has been tearing their hair out inserting line breaks manually into long author (and institution) lists, using \newauthor, here's how I did it:
\author[J.~Bloggs et al.] {\parbox{\textwidth}{J.~Bloggs,$^{1}$\thanks{E-mail: \texttt{j.bloggs@no.where}} J.~Bloggs,$^{2,3}$ J.~Bloggs,$^{3}$ J.~Bloggs,$^{4}$ J.~Bloggs,$^{5}$ J.~Bloggs,$^{6}$ %... J.~Bloggs$^{99}$ and J.~Bloggs$^{100}$}\vspace{0.4cm}\\ \parbox{\textwidth}{$^{1}$Department of Something, Somewhere\\ $^{2}$Department of Something, Somewhere\\ $^{3}$Department of Something, Somewhere\\ $^{4}$Department of Something, Somewhere\\ $^{5}$Department of Something, Somewhere\\ $^{6}$Department of Something, Somewhere\\ %... $^{99}$Department of Something, Somewhere\\ $^{100}$Department of Something, Somewhere}} |
Next: a Python script to generate the above from a simple list of authors and affiliations.
| Print article | This entry was posted by Anthony on 7 May 2010 at 12.08 pm, and is filed under Computing. Follow any responses to this post through RSS 2.0. You can leave a response or trackback from your own site. |
I live in York and I
about 10 months ago
This came in handy. Thanks for posting this!
about 10 months ago
Thanks Paul - glad it was useful!