diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/hagenberg-thesis/hgbbib.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/hagenberg-thesis/hgbbib.sty | 37 |
1 files changed, 34 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/hagenberg-thesis/hgbbib.sty b/Master/texmf-dist/tex/latex/hagenberg-thesis/hgbbib.sty index 4903e98de15..4427cde4804 100644 --- a/Master/texmf-dist/tex/latex/hagenberg-thesis/hgbbib.sty +++ b/Master/texmf-dist/tex/latex/hagenberg-thesis/hgbbib.sty @@ -5,14 +5,20 @@ %% GitHub: https://github.com/Digital-Media/HagenbergThesis %% File encoding: ASCII -\ProvidesPackage{hgbbib}[2017/10/28] +\ProvidesPackage{hgbbib}[2018/11/24] \usepackage{csquotes} % recommended for biblatex %Note: biblatex with bibtex backend is frozen at version 1.7. \usepackage[style=numeric-comp,backend=biber,bibencoding=auto]{biblatex} - -\ExecuteBibliographyOptions{bibwarn=true,sortcites=true,defernumbers=true,isbn=false,doi=false,backref=true} +\ExecuteBibliographyOptions{ + bibwarn=true, + sortcites=true, + defernumbers=true, + isbn=false, + doi=false, + backref=true, + backrefstyle=three} %% titles of reference section + 3 categories of references: \newcommand{\@bibtitle}{Quellenverzeichnis} @@ -144,3 +150,28 @@ \DeclareBibliographyAlias{electronic}{misc} \DeclareBibliographyAlias{image}{misc} \DeclareBibliographyAlias{standard}{misc} + + +% Use a semicolon between multiple entries in \cites +%\renewcommand*{\multicitedelim}{\addsemicolon\space} %% abandoned, affects regular \cite{a,b,c,..} entries too + +% New command for multiple citations with supplementary texts +% usage: \mcite[text1]{key1}[text2]{key2}...[textN]{keyN} +% see https://tex.stackexchange.com/a/132981 +\DeclareMultiCiteCommand{\mcite}[\mkbibbrackets]{\cite}{\addsemicolon\space} + + +% Macro to produce cites with no backref entries +% Modified from http://mirrors.ibiblio.org/CTAN/macros/latex/contrib/biblatex-contrib/biblatex-ieee/ieee.cbx +% See also https://tex.stackexchange.com/questions/344861/biblatex-backref-option-per-entry +\DeclareCiteCommand{\citenobr}% + {\usebibmacro{cite:init}% + \bibopenbracket + \backtrackerfalse\usebibmacro{prenote}} + {\usebibmacro{citeindex}% + \usebibmacro{cite:comp}} + {} + {\usebibmacro{cite:dump}% + \usebibmacro{postnote}% + \bibclosebracket + } |