Added option for replacing full ORCID identifier by ORCID iD icon and a hyperlink.

This commit is contained in:
Achim D. Brucker 2018-04-25 09:57:54 +01:00
parent 3cd8693c62
commit b9e9c3f686
2 changed files with 15 additions and 8 deletions

View File

@ -19,9 +19,9 @@
## Installation
Copy `authorarchive.sty` in a directory that is searched by LaTeX
(e.g,. either your `texmf` tree or the local directory with your main
LaTeX file.
Copy `authorarchive.sty` and the directory `icons` in a directory that
is searched by LaTeX (e.g,. either your `texmf` tree or the local
directory with your main LaTeX file.
## Usage
@ -57,11 +57,12 @@ works nicely for Acta Informatica.
### Boolean Switches
| Switch | Meaning |
| -- | -- |
| `nocopyright` | If present, no publisher's copyright notice is printed. Usual case for LNCS. |
| `nourl` | If present, no link to the publication is inserted. |
| `nobib` | If present, no embedding of bibliographic entries is made. |
| Switch | Meaning |
| -- | -- |
| `nocopyright` | If present, no publisher's copyright notice is printed. Usual case for LNCS. |
| `nourl` | If present, no link to the publication is inserted. |
| `nobib` | If present, no embedding of bibliographic entries is made. |
| `orcidicon` | For layouts displaying the author's ORCID identifiers as text, replace the ORCID identifier by the ORICD iD icon and a hyperlink (currently only supported for LNCS). |
### Key/Value Options

View File

@ -58,6 +58,7 @@
\DeclareBoolOption{nocopyright}
\DeclareBoolOption{nourl}
\DeclareBoolOption{nobib}
\DeclareBoolOption{orcidicon}
%\ProcessOptions\relax
@ -136,6 +137,11 @@
%
%%%% LNCS
\ifAA@LNCS%
\ifAA@orcidicon%
\renewcommand{\orcidID}[1]{\href{https://orcid.org/#1}{%
\textsuperscript{\,\includegraphics[height=2\fontcharht\font`A]{vector_iD_icon}}}}
\else\relax\fi%
%
\setkeys{AA}{publisher=Springer-Verlag}
\renewcommand{\authorcrfont}{\scriptsize}
\@ifclasswith{llncs}{a4paper}{%