1

I use the standard style in latex and want to override it, to remove the quotation marks from Conference Type. In my bbx file I use:

\RequireBibliographyStyle{standard}

I thought I could use the following to get Rid of all quotation marks. But that doesnt work.

\DeclareFieldFormat{title}{#1}  
3

biblatex's field formats allow for type-specific customisations. When biblatex prints a field it checks first if there is a special format set up for the entry type of the current entry; if that is the case the type-specific formatting is used, otherwise biblatex falls back to the generic format for that field. The standard styles make heavy use of this scheme and usually define a generic format and type-specific formats for types with differing output.

The 'generic' format is defined with \DeclareFieldFormat{<field>}{<format code>}, type-specific formatting with \DeclareFieldFormat[<types>]{<field>}{<format code>}. The starred form \DeclareFieldFormat*{<field>}{<format code>} resets all type-specific definitions and then defines only the generic format.

If the straightforward \DeclareFieldFormat{<field>}{<format code>} does not have the desired effect, chances are you have to use the type-specific formatting. You can only really be sure if you double check that with the implementation of the style.


The title field format uses type-specific formatting, the default can be found in biblatex.def, ll. 524-530 and is

\DeclareFieldFormat{title}{\mkbibemph{#1}}
\DeclareFieldFormat
  [article,inbook,incollection,inproceedings,patent,thesis,unpublished]
  {title}{\mkbibquote{#1\isdot}}
\DeclareFieldFormat
  [suppbook,suppcollection,suppperiodical]
  {title}{#1}

This means that titles are generally formatted with \mkbibemph (basically \emph, which usually gives italics that toggle back to upright if nested), but that those types listed in the second definition get quotation marks (\mkbibquote) and those types listed in the third definition get no special formatting.

An example bibliography with @suppcollection (Anker & Meyler), @book (Maron), @incollection (Pines) and @article (Sigfridsson & Ryde) would have the titles formatted as follows (colours are only added for easier visual distinction of the different lines/groups, red for the first, blue for the second, green for the last).

The <code>title</code> of the <code>@suppcollection</code> has no special formatting, the title of the <code>@book</code> is shown in italics, the <code>@incollection</code> and <code>@article</code> have quotation marks.


With

\DeclareFieldFormat{title}{#1}

only the formats of types that don't have a specific definition gets changed. In particular no quotation marks are removed, since those are added by the type-specific directive; instead you change titles from emphasised to normal font (e.g. for @book, @online, ...).

In our example from above only the red title of the @book Maron changes from italics to no formatting.

The title of the <code>@book</code> has no special formatting.


With

\DeclareFieldFormat*{title}{#1}

you clear all type-specific formatting before the new format is applied. This means that all types now use the normal/current font: No quotation marks and no emphasis is added.

In the example all entries will have the same field format that adds no formatting. (All titles are shown in the same colour because they all share a common field format.)

All titles are shown without formatting.


With

\DeclareFieldFormat
  [article,inbook,incollection,inproceedings,patent,thesis,unpublished]
  {title}{#1\isdot}

you change only those field formats that had quotation marks to lose them.

In the example the blue titles of the @incollection and @article entry drop their quotation marks.

No quotation marks around titles for @incollection<code>and</code>@article`.


MWE

\documentclass[british]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{libertinus}
\usepackage{babel}
\usepackage{csquotes}

\usepackage[style=authortitle, backend=biber]{biblatex}

% double quotes for British English
\DeclareQuoteAlias[american]{english}{british}

\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@suppcollection{anker,
  author    = {Anker, Elizabeth S. and Meyler, Bernadette},
  pages     = {1--30},
  publisher = {Oxford University Press},
  editor    = {Anker, Elizabeth S. and Meyler, Bernadette},
  booktitle = {New Directions in Law and Literature},
  title     = {Introduction},
  year      = {2017},
  location  = {New York},
}
\end{filecontents}
\addbibresource{\jobname.bib}
\addbibresource{biblatex-examples.bib}

\begin{document}
\nocite{sigfridsson,maron,anker,pines}
\printbibliography
\end{document}

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.