Seyma Kalay
Seyma Kalay

Reputation: 2861

Capitalize journal name in latex

I have a sample.bib with a main.tex as below, using Chicago Style. I was wondering if there is a way to see the journal's name with all capital letters American Review rather than American review, without changing sample.bib by hand. Many thanks in advance.

main.tex

\documentclass[a4paper]{article}

\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}

\usepackage[english]{babel}
\usepackage{csquotes}

\usepackage[notes,backend=biber]{biblatex-chicago}
\bibliography{sample}

\begin{document}
\title{The Chicago Citation Style with biblatex}
\author{WriteLaTeX}
\maketitle

\section{Demonstration}

 Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. \autocite{PP95} Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

\printbibliography

\end{document}

sample.bib

@article{PP95,
  author = "Adam Parusi\'nski and Piotr Pragacz",
   title = "A formula for the {E}uler characteristic of singular hypersurfaces",
 journal = "American review",
  volume = 4,
    year = 1995,
   pages = "337-351"}

Upvotes: 1

Views: 1018

Answers (1)

You could use the mfirstuc package and adjust the field format like this:

\documentclass[a4paper]{article}

\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}

\usepackage[english]{babel}
\usepackage{csquotes}

\usepackage[notes,backend=biber]{biblatex-chicago}

\addbibresource{sample.bib}

\usepackage{mfirstuc}
\DeclareFieldFormat{jtnoformat}{\capitalisewords{#1}}

\begin{document}
\title{The Chicago Citation Style with biblatex}
\author{WriteLaTeX}
\maketitle

\section{Demonstration}

 Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. \autocite{PP95} Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

\printbibliography

\end{document}

enter image description here

(please note that in biblatex you should use \addbibressource instead of \bibliography)

Upvotes: 1

Related Questions