乳胶中的期刊名称大写

Capitalize journal name in latex

我有一个 sample.bib 和一个 main.tex,如下所示,使用 Chicago Style。我想知道是否有一种方法可以在不手动更改 sample.bib 的情况下看到所有大写字母 American Review 而不是 American review 的期刊名称。非常感谢。

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"}

您可以使用 mfirstuc 包并像这样调整字段格式:

\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}

(请注意,在 biblatex 中你应该使用 \addbibressource 而不是 \bibliography