diff options
Diffstat (limited to 'macros/latex/contrib/biblatex-contrib/biblatex-bwl/bwl-FU.cbx')
-rw-r--r-- | macros/latex/contrib/biblatex-contrib/biblatex-bwl/bwl-FU.cbx | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-bwl/bwl-FU.cbx b/macros/latex/contrib/biblatex-contrib/biblatex-bwl/bwl-FU.cbx new file mode 100644 index 0000000000..40944df74c --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/biblatex-bwl/bwl-FU.cbx @@ -0,0 +1,58 @@ +%% --------------------------------------------------------------- +%% bwl citation style for the Business Administration +%% department of the Free University of Berlin +%% Maintained by Herbert Voß +%% (C) herbert@dante.de +%% Released under the LaTeX Project Public License v1.3c or later +%% See http://www.latex-project.org/lppl.txt +%% --------------------------------------------------------------- +%% + +\ProvidesFile{bwl-FU.cbx}[2012/05/19 v0.02 biblatex citation style] + +\RequireCitationStyle{authoryear} + +\renewcommand\nameyeardelim{,~} +\renewbibmacro*{cite}{% + \iffieldundef{shorthand} + {\ifthenelse{\ifnameundef{labelname}\OR\iffieldundef{labelyear}} + {\usebibmacro{cite:label}% + \setunit{\addspace}} + {\printnames{labelname}}% + \usebibmacro{cite:labelyear+extrayear}} + {\usebibmacro{cite:shorthand}}} + +\newbibmacro*{parencite}{% + \iffieldundef{shorthand} + {\ifthenelse{\ifnameundef{labelname}\OR\iffieldundef{labelyear}} + {\usebibmacro{cite:label}% + \setunit{\addspace}} + {\printnames{labelname}% + \setunit{\nameyeardelim}}% + \usebibmacro{parencite:labelyear+extrayear}} + {\usebibmacro{cite:shorthand}}} + +\DeclareCiteCommand{\parencite}[\mkbibparens] + {\usebibmacro{prenote}} + {\usebibmacro{citeindex}% + \usebibmacro{parencite}} + {\multicitedelim} + {\usebibmacro{postnote}} + +\renewbibmacro*{cite:labelyear+extrayear}{% + \iffieldundef{labelyear} + {} + {\printtext[bibhyperref]{% + ~(\printfield{labelyear}% + \printfield{extrayear})}}} + +\newbibmacro*{parencite:labelyear+extrayear}{% + \iffieldundef{labelyear} + {} + {\printtext[bibhyperref]{% + \printfield{labelyear}% + \printfield{extrayear}}}} + +\renewcommand*{\postnotedelim}{\addcolon} + +\endinput
\ No newline at end of file |