diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/biblatex-contrib/biblatex-lni/LNI.cbx |
Initial commit
Diffstat (limited to 'macros/latex/contrib/biblatex-contrib/biblatex-lni/LNI.cbx')
-rw-r--r-- | macros/latex/contrib/biblatex-contrib/biblatex-lni/LNI.cbx | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-lni/LNI.cbx b/macros/latex/contrib/biblatex-contrib/biblatex-lni/LNI.cbx new file mode 100644 index 0000000000..beb8b78799 --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/biblatex-lni/LNI.cbx @@ -0,0 +1,34 @@ +% LNI --% +% +% Copyright (c) 2016 Lukas C. Bossert, Georg Duffner, Oliver Kopp +% +% This work may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.3 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.3 or later is part of all distributions of LaTeX +% version 2005/12/01 or later. +\ProvidesFile{LNI.cbx}[\LNI@cbxid] + \RequireCitationStyle{alphabetic} + + +%enable hyperlinked author names when using \citeauthor +%source: http://tex.stackexchange.com/a/75916/9075 +\DeclareCiteCommand{\citeauthor} + {\boolfalse{citetracker}% + \boolfalse{pagetracker}% + \renewcommand*{\multinamedelim}{\addcomma\space}% + \renewcommand*{\finalnamedelim}{% + \ifnumgreater{\value{liststop}}{2}{\finalandcomma}{}% + \addspace\bibstring{and}\space} + \usebibmacro{prenote}} + {\ifciteindex + {\indexnames{labelname}} + {}% + \printtext[bibhyperref]{\printnames{labelname}}} + {\multicitedelim} + {\usebibmacro{postnote}} + +\endinput +%% End of file `LNI.cbx'.
\ No newline at end of file |