1

I tried looking at the documentation for this, but it gave me nothing but grey hairs.

MWE (inspired by this):

\documentclass{memoir}
\begin{filecontents}{MWE.bib}
    @book{key,
        author = {Super, Max},
        title = {The Title of the Book},
        publisher = {Foo Books},
        year = {2016},
        note = {my note},
    }
\end{filecontents}
\usepackage[backend=biber]{biblatex-chicago}
\addbibresource{MWE.bib}
\begin{document}
    \nocite{*}
    \printbibliography
\end{document}

This gives me:

Current result

What I'm looking for is:

Desired result

\ldots{} help?

1 Answers1

0

One of the easiest way to put a newline in this case is to add newline to the begining of "notes".

The following definition is how to do for only books:

\DeclareFieldFormat[book]{note}{\newline%
  \ifcapital{\MakeCapital{#1}}{#1}}%

The following definition will do it for all notes:

\DeclareFieldFormat{note}{\newline%
  \ifcapital{\MakeCapital{#1}}{#1}}%

You can add this definition to your MWE as given below:

\documentclass{memoir}
\begin{filecontents}{MWE.bib}
    @book{key,
        author = {Super, Max},
        title = {The Title of the Book},
        publisher = {Foo Books},
        year = {2016},
        note = {my note},
    }
\end{filecontents}
\usepackage[backend=biber]{biblatex-chicago}
\DeclareFieldFormat[book]{note}{\newline%
  \ifcapital{\MakeCapital{#1}}{#1}}%

\addbibresource{MWE.bib}
\begin{document}
    \nocite{*}
    \printbibliography
\end{document}
Jagath
  • 4,287
  • But this solution will only work if a note field is present. – moewe Aug 04 '16 at 06:32
  • @moewe: Yes. You need to add more checks to the macro, as per the requirement on other fields too. – Jagath Aug 04 '16 at 06:36
  • 1
    Mhhh, yes. Conceptually, adding the \newline to a field format will always have this problem: the format is only executed if the field is actually present. Plus, you can't know which field is the first non-empty one after the title block. – moewe Aug 04 '16 at 06:37
  • Thanks. I marked it as the correct answer in spite of the problems that others pointed out. – Kristian Nordestgaard Aug 04 '16 at 07:29
  • 1
    Getting hacky, but it seems you can fix the empty field problem by adding a line with note = {~}, to the bibliography. – Kristian Nordestgaard Aug 04 '16 at 07:49