-
Notifications
You must be signed in to change notification settings - Fork 13
Inserting authors and editors with langsci affiliations
As of langscibook
Version 2020-2.0, authors and their affiliations are processed with langsci-affiliations
. Those that are interested in texnical details should have a look at the CTAN page, including its documentation.
For authors or editors of the book, please use the \author{}
command in localmetadata.tex
. Please separate all authors with and
, or, alternatively, \and
.
\author{A. U. Thor and B. U. Thor and C. U. Thor}
Authors in edited volumes are also printed with their affiliations. These can be given in \affiliation{}
following the author name. Affiliations need to be separated by ;
.
\author{A. U. Thor\affiliation{University of the Moon} and B. U. Thor\affiliation{University of the Solar System, Mercury; Pluto Institute for the Science of Tiny Objects}}
If Version 1.1 or newer of langsci-affiliations
is available in your project, you can store and print ORCIDs. Please enter \orcid{<id>}
for each author that would like to have their ORCID printed. The order of \affiliation
and \orcid
does not matter:
\author{A. U. Thor\affiliation{University of the Moon}\affiliation{0000-0000-0000} and
B. U. Thor\affiliation{1000-0000-0001}\affiliation{University of the Solar System, Mercury}
}
Additionally, you need to provide directions of how the ORCID is printed. This setting is configured externally to langsci-affiliations
. Here is an example from a recent publication, using the orcidlink
package:
% ORCIDs in langsci-affiliations
\definecolor{orcidlogocol}{cmyk}{0,0,0,1}
\RenewDocumentCommand{\LinkToORCIDinAffiliations}{ +m }
{%
\,\orcidlink{#1}%
}
The placement of the ORCID link is determined by the option orcid placement
. Available options are before
, after
, and none
. The default is none
, which disables ORCID output.
If you use ORCiDs, your localcommands.tex
should have a dummy command that prevents the output of \orcid
to appear in unwanted places:
\newcommand*{\orcid}[1]{}
If you're seeing ORCiDs at seemingly random places in your output, please check whether this line is present in your localcommands.tex
.
You can make the author-affiliation list more readable by using page breaks:
\author{A. U. Thor\affiliation{University of the Moon} and
B. U. Thor\affiliation{University of the Solar System, Mercury;
Pluto Institute for the Science of Tiny Objects}
}
langsci-affiliations
offers a number of customisations for the output of author-affiliation pairs. Maybe the most important decision is whether the authors are output in groups or not. Grouped authors receive superscripted indexes, and the indexes are resolved in the next line to their affiliations. Non-grouped authors receive one dedicated line for the name and one for the affiliation; whereas in grouped output, all authors are in a single line or multi-line, while all affiliations are grouped in the next line or multi-line.
The standard output is grouped. If you'd like non-grouped output, place these lines in localcommands.tex
:
\SetupAffiliations{output in groups = false,
separator between two = {\bigskip\\},
separator between multiple = {\bigskip\\},
separator between final two = {\bigskip\\}
}
langsci-optional.sty
contains shortcuts to two common affiliation styles: (1) one author per line, without indexing, and (2) all authors in one paragraph with indexes, following a paragraph which resolves indexes to affiliations:
\AffiliationsWithoutIndexing{}
\author{A. U. Thor\affiliation{Uni Versity} and E. di Tor\affilition{Mono Versity}}
Uni Versity
Mono Versity
\AffiliationsWithIndexing{}
\author{A. U. Thor\affiliation{Uni Versity} and E. di Tor\affilition{Mono Versity}}
a Uni Versity b Mono Versity