diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/biblatex/cbx/authortitle-terse.cbx')
-rw-r--r-- | Master/texmf-dist/tex/latex/biblatex/cbx/authortitle-terse.cbx | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/biblatex/cbx/authortitle-terse.cbx b/Master/texmf-dist/tex/latex/biblatex/cbx/authortitle-terse.cbx new file mode 100644 index 00000000000..7c0634f1f6c --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex/cbx/authortitle-terse.cbx @@ -0,0 +1,35 @@ +% $Id: authortitle-terse.cbx,v 0.9 2010/02/14 15:42:33 lehman beta $ + +\ProvidesFile{authortitle-terse.cbx} +[\abx@cbxid $Id: authortitle-terse.cbx,v 0.9 2010/02/14 15:42:33 lehman beta $] + +\RequireCitationStyle{authortitle} +\ExecuteBibliographyOptions{singletitle,uniquename,autocite=inline} + +\renewbibmacro*{cite}{% + \iffieldundef{shorthand} + {\ifnameundef{labelname} + {\usebibmacro{cite:title}} + {\ifsingletitle + {\printtext[bibhyperref]{\printnames{labelname}}} + {\printnames{labelname}% + \setunit{\addcomma\space}% + \usebibmacro{cite:title}}}}% + {\usebibmacro{cite:shorthand}}} + +\renewbibmacro*{textcite}{% + \ifnameundef{labelname} + {\iffieldundef{shorthand} + {\usebibmacro{cite:title}}% + {\usebibmacro{cite:shorthand}}} + {\ifsingletitle + {\printtext[bibhyperref]{\printnames{labelname}}} + {\printnames{labelname}% + \setunit{% + \global\booltrue{cbx:parens}% + \addspace\bibleftparen}% + \iffieldundef{shorthand} + {\usebibmacro{cite:title}}% + {\usebibmacro{cite:shorthand}}}}} + +\endinput |