Text FormattingCustom author list in title

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
albart
Posts: 13
Joined: Mon Jul 06, 2009 12:54 pm

Custom author list in title

Post by albart »

Dear list,

for a publication in a BMC journal, I need to solve the following problem.

My article has several authors, which I introduce in the when making the title in the \@author variable and which I separate with \and. In the title, Latex then automatically places a comma between the authors to separate them. In the example there is no comma between these authors because I do not use the bmc_article class.

I would like to change the separation between the authors as follows. Between the authors exept the last I would like to write a comma, between the before-last and the last author I would like to write 'and'. I can remove the \and command and simply write a comma or an 'and' but this is the less beautiful solution and I look forward to other solutions.

A small example is:

Code: Select all

\documentclass{article}

\begin{document}
\title{This is a small example}
\author{First author \and second author \and third author}
\maketitle

\end{document}
Thanks in advance,

Albart Coster

Recommended reading 2024:

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

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

Post Reply