我对 LaTeX 还不太熟悉,正在尝试找到如何自定义参考书目。我使用
\usepackage[backend=biber, bibstyle=chem-angew, articletitle=true]{biblatex}
\addbibresource{file.bib}
使用的样式与我期望的非常接近,不幸的是它没有显示文章和论文的标题。我找到了一种使用 ar 解决该问题的方法,ticletitle=true
但找不到任何与博士或硕士论文类似的内容。希望你能有所帮助。
答案1
可能是无意的遗漏biblatex-chem
(特别是在文件中chem-angew.bbx
),尽管即使启用了该选项,也可能存在论文中不应该有标题的原因。
但是,如果你将这些行添加到thesis
驱动程序中,它似乎可以工作:
\iftoggle{bbx:articletitle}
{%
\usebibmacro{title}
\newunit
}
{}%
完整示例:
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[backend=biber, bibstyle=chem-angew, articletitle=true]{biblatex}
\addbibresource{biblatex-examples.bib}
\DeclareBibliographyDriver{thesis}{%
\usebibmacro{bibindex}%
\usebibmacro{begentry}%
\usebibmacro{author}%
\setunit{\labelnamepunct}\newblock
\iftoggle{bbx:articletitle}
{%
\usebibmacro{title}%
\newunit
}
{}%
\usebibmacro{byauthor}%
\newunit\newblock
\printfield{note}%
\newunit\newblock
\printfield{type}%
\newunit
\usebibmacro{institution+location+date}%
\newunit\newblock
\usebibmacro{chapter+pages}%
\newunit
\printfield{pagetotal}%
\newunit\newblock
\iftoggle{bbx:isbn}
{\printfield{isbn}}
{}%
\newunit\newblock
\usebibmacro{doi+eprint+url}%
\newunit\newblock
\usebibmacro{addendum+pubstate}%
\setunit{\bibpagerefpunct}\newblock
\usebibmacro{pageref}%
\newunit\newblock
\usebibmacro{related}%
\usebibmacro{finentry}%
}
\begin{document}
% article, book, PhD thesis, MA thesis:
\cite{aksin, aristotle:anima, geer, loh}
\printbibliography
\end{document}