summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/biblatex-bwl/bwl-FU.cbx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-05-10 23:01:24 +0000
committerKarl Berry <karl@freefriends.org>2012-05-10 23:01:24 +0000
commit0d18b654e3cb09904ca68ad7ae8c841017efa19a (patch)
tree7c1efaa7365fa2f3ff258066e4c356d4ee653c76 /Master/texmf-dist/tex/latex/biblatex-bwl/bwl-FU.cbx
parent421f22f41cdc8fa802c40855e3a07c1cc4ac6adb (diff)
new package biblatex-bwl (10may12)
git-svn-id: svn://tug.org/texlive/trunk@26290 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/biblatex-bwl/bwl-FU.cbx')
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-bwl/bwl-FU.cbx58
1 files changed, 58 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/biblatex-bwl/bwl-FU.cbx b/Master/texmf-dist/tex/latex/biblatex-bwl/bwl-FU.cbx
new file mode 100644
index 00000000000..ff5884f18c6
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/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/07 v0.01 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