diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/biblatex/cbx/draft.cbx')
-rw-r--r-- | Master/texmf-dist/tex/latex/biblatex/cbx/draft.cbx | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/biblatex/cbx/draft.cbx b/Master/texmf-dist/tex/latex/biblatex/cbx/draft.cbx new file mode 100644 index 00000000000..571812d99ca --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex/cbx/draft.cbx @@ -0,0 +1,47 @@ +% $Id: draft.cbx,v 0.9 2010/02/14 15:42:33 lehman beta $ + +\ProvidesFile{draft.cbx} +[\abx@cbxid $Id: draft.cbx,v 0.9 2010/02/14 15:42:33 lehman beta $] + +\ExecuteBibliographyOptions{autocite=plain} + +\DeclareFieldFormat{citekey}{\cbx@mkcitekey{#1}} +\DeclareUrlCommand{\cbx@mkcitekey}{\urlstyle{citekey}} +\def\url@citekeystyle{\def\UrlFont{\bfseries}} + +\newbibmacro*{cite:entrykey}{% + \printtext[bibhyperref]{\printfield[citekey]{entrykey}}} + +\DeclareCiteCommand{\cite} + {\usebibmacro{prenote}} + {\usebibmacro{cite:entrykey}} + {\multicitedelim} + {\usebibmacro{postnote}} + +\DeclareCiteCommand{\parencite}[\mkbibparens] + {\usebibmacro{prenote}} + {\usebibmacro{cite:entrykey}} + {\multicitedelim} + {\usebibmacro{postnote}} + +\DeclareCiteCommand{\footcite}[\mkbibfootnote] + {\usebibmacro{prenote}} + {\usebibmacro{cite:entrykey}} + {\multicitedelim} + {\usebibmacro{postnote}} + +\DeclareCiteCommand{\footcitetext}[\mkbibfootnotetext] + {\usebibmacro{prenote}} + {\usebibmacro{cite:entrykey}} + {\multicitedelim} + {\usebibmacro{postnote}} + +\DeclareCiteCommand{\textcite} + {\usebibmacro{prenote}} + {\printnames{labelname}% + \setunit*{\addspace}% + \printtext[parens]{\usebibmacro{cite:entrykey}}} + {\multicitedelim} + {\usebibmacro{postnote}} + +\endinput |