2

How can I suppress biblatex's styling of the fields in the bibliography? Instead of slanted or italic titles I prefer plain font. That means all fields except the author and year should be printed in plain serif font. It would also be good to suppress the quotation marks.

A second issue is that the shortauthor-field shall provided given in bold font in front of the auhtor. Is this possible?

Thanks in advance for your support!

Minimal example:

\documentclass{article}
\usepackage[ngerman]{babel}
\usepackage{lmodern}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[a4paper]{geometry}

\usepackage[
style=authoryear-icomp,
backend=biber,
sorting=nyt,
sortcase=false,
url=false,
isbn=false,
doi=false,
clearlang=false,
maxbibnames=10,
maxcitenames=2,
dashed=false
]{biblatex}

% usage of et al.
\DefineBibliographyStrings{ngerman}{%
    andothers = {et\addspace al\adddotspace},%
    andmore = {et\addspace al\adddotspace},%
}

% colon behind author in bibliography
\renewcommand{\labelnamepunct}{\addcolon\space}

\usepackage{xpatch}
% author in bold font in bibliography
\xpretobibmacro{author}{\mkbibbold\bgroup}{}{}
\xapptobibmacro{author}{\egroup}{}{}
\xpretobibmacro{bbx:shortauthor}{\mkbibbold\bgroup}{}{}
\xapptobibmacro{bbx:shortauthor}{\egroup}{}{}
\xpretobibmacro{bbx:editor}{\mkbibbold\bgroup}{}{}
\xapptobibmacro{bbx:editor}{\egroup}{}{}

\usepackage{blindtext}

\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
    @Book{Berthold2014,
        Title                    = {In erster Linie Kinder. Flüchtlingskinder in Deutschland.},
        Author                   = {Berthold, Thomas},
        Year                     = {2014},
        Publisher                = {Deutsches Komitee für \textsc{Unicef} e.\,V.},
        Url                      = {https://www.unicef.de/blob/56282/fa13c2eefcd41dfca5d89d44c72e72e3/fluechtlingskinder-in-deutschland-unicef-studie-2014-data.pdf},
        Urldate                  = {2016-07-02},

        Owner                    = {sg},
        Timestamp                = {2016.07.14}
    }

    @Misc{BAMF2015b,
        Title                    = {Aktuelle Zahlen zu Asyl.},
        Author                   = {{Bundesamt für Migration und Flüchtlinge}},
        Year                     = {2015},
        Note                     = {Stand: Dezember 2015.},

        Owner                    = {lo},
        Shortauthor              = {BAMF},
        Timestamp                = {2016.07.17}
    }


    @Inbook{Braches-Chyrek2014a,
        Title                    = {Einleitung.},
        Author                   = {Braches-Chyrek, Rita and Röhner, Charlotte and Sünker, Heinz and Hopf, Michaela},
        Booktitle                = {Handbuch frühe Kindheit.},
        Year                     = {2014},
        Editor                   = {Braches-Chyrek, Rita and Röhner, Charlotte and Sünker, Heinz and Hopf, Michaela},
        Pages                    = {11-24},
        Publisher                = {Budrich},

        Address                  = {Opladen},
        Owner                    = {sg},
        Timestamp                = {2016.07.31}
    }

\end{filecontents}

\addbibresource{\jobname.bib}

\begin{document}
    \nocite{*}
    \printbibliography
\end{document}
  • 1
    There are the \DeclareFieldFormat, \DeclareListFormat, and \DeclareNameFormat directives. I think the 'second issue' should probably be put in a second question with its own title so others will be able to find it. – jon Aug 7 '16 at 19:10
  • Please consider splitting your two totally unrelated questions into two questions. We prefer to have one question per question. – moewe Aug 8 '16 at 6:09
3

The format of fields is controlled via \DeclareFieldFormat. Most defaults are set in biblatex.def.

You can reset italics/emphs and quotation marks with

\DeclareFieldFormat*{citetitle}{#1}
\DeclareFieldFormat*{journaltitle}{#1}
\DeclareFieldFormat*{issuetitle}{#1}
\DeclareFieldFormat*{maintitle}{#1}
\DeclareFieldFormat*{booktitle}{#1}
\DeclareFieldFormat*{title}{#1}

Note that we used the starred version here, this allows us to unconditionally overwrite all type-specific formats.

MWE (note that I have modified your bib entries to not include the full stop in the titles, that is not necessary; I have also changed the DefineBibliographyStrings declaration to use \adddot instead of \adddotspace)

\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage[ngerman]{babel}
\usepackage{csquotes}

\usepackage[
style=authoryear-icomp,
backend=biber,
sorting=nyt,
sortcase=false,
url=false,
isbn=false,
doi=false,
clearlang=false,
maxbibnames=10,
maxcitenames=2,
dashed=false
]{biblatex}

% usage of et al.
\DefineBibliographyStrings{ngerman}{%
    andothers = {et\addspace al\adddot},%
    andmore = {et\addspace al\adddot},%
}

% colon behind author in bibliography
\renewcommand{\labelnamepunct}{\addcolon\space}

\usepackage{xpatch}
% author in bold font in bibliography
\xpretobibmacro{author}{\mkbibbold\bgroup}{}{}
\xapptobibmacro{author}{\egroup}{}{}
\xpretobibmacro{bbx:shortauthor}{\mkbibbold\bgroup}{}{}
\xapptobibmacro{bbx:shortauthor}{\egroup}{}{}
\xpretobibmacro{bbx:editor}{\mkbibbold\bgroup}{}{}
\xapptobibmacro{bbx:editor}{\egroup}{}{}

\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@Book{Berthold2014,
  title     = {In erster Linie Kinder. Flüchtlingskinder in Deutschland}, 
  author    = {Berthold, Thomas},
  year      = {2014},
  publisher = {Deutsches Komitee für \textsc{Unicef} e.\,V.},
  url       = {https://www.unicef.de/blob/56282/fa13c2eefcd41dfca5d89d44c72e72e3/fluechtlingskinder-in-deutschland-unicef-studie-2014-data.pdf},
  urldate   = {2016-07-02},
}

@Misc{BAMF2015b,
  title        = {Aktuelle Zahlen zu Asyl},
  author       = {{Bundesamt für Migration und Flüchtlinge}},
  year         = {2015},
  note         = {Stand: Dezember 2015.},
  shortauthor  = {BAMF},
}

@Inbook{Braches-Chyrek2014a,
  title      = {Einleitung},
  author     = {Braches-Chyrek, Rita and Röhner, Charlotte and Sünker, Heinz and Hopf, Michaela},
  booktitle  = {Handbuch frühe Kindheit},
  year       = {2014},
  editor     = {Braches-Chyrek, Rita and Röhner, Charlotte and Sünker, Heinz and Hopf, Michaela},
  pages      = {11-24},
  publisher  = {Budrich},
  address    = {Opladen},
}

\end{filecontents}

\addbibresource{\jobname.bib}

\DeclareFieldFormat*{citetitle}{#1}
\DeclareFieldFormat*{journaltitle}{#1}
\DeclareFieldFormat*{issuetitle}{#1}
\DeclareFieldFormat*{maintitle}{#1}
\DeclareFieldFormat*{booktitle}{#1}
\DeclareFieldFormat*{title}{#1}


\begin{document}
  \nocite{*}
  \printbibliography
\end{document}

example output


A more radical solution is to make all \mkbib... formatting commands output plain text

\makeatletter
\protected\def\blx@imc@mkbibquote#1{#1}
\protected\long\def\blx@imc@mkbibemph#1{#1}
%\protected\long\def\blx@imc@mkbibbold#1{#1}
\protected\long\def\blx@imc@mkbibitalic#1{#1}
\makeatother

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.