如何更改章节参考书目的样式,而不更改它们在目录中的显示方式或其他未编号部分的样式?具体来说,我希望它们采用\normalsize
和\bfseries
小写字母。
\documentclass{memoir}
\usepackage[
refsection=chapter,
]{biblatex}
\usepackage{filecontents}
\begin{filecontents*}{mwe.bib}
@article{carroll2006method,
author={Carroll, Christopher D.},
title={The method of endogenous gridpoints for solving dynamic stochastic optimization problems},
journaltitle={Economics Letters},
volume={91},
number={3},
pages={312 - 320},
date={2006-06},
doi={10.1016/j.econlet.2005.09.013},
}
@article{mcfadden1989method,
title={A method of simulated moments for estimation of discrete response models without numerical integration},
author={McFadden, Daniel},
journaltitle={Econometrica},
doi={10.2307/1913621},
pages={995-1026},
publisher={Wiley, Econometric Society},
volume={57},
number={5},
date={1989-09},
}
\end{filecontents*}
\addbibresource{mwe.bib}
\begin{document}
\frontmatter
\tableofcontents*
\chapter{Preface}
\section*{First section}
\section*{Second section}
\mainmatter
\chapter{First chapter}
\nocite{carroll2006method}
\section{First section}
\section{Second section}
\printbibliography[heading=subbibintoc]
\chapter{Second chapter}
\nocite{mcfadden1989method}
\section{First section}
\section{Second section}
\printbibliography[heading=subbibintoc]
\end{document}
答案1
您只需要重新定义相关的bibheading
:
\defbibheading{subbibintoc}[\refname]{%
\setsecheadstyle{\normalsize\bfseries\scshape\MakeLowercase}
\section*{#1}%
\addcontentsline{toc}{section}{#1}
}
我没有\bfseries
在完整示例中添加定义,因为默认的 Computer Modern 字体没有粗体小写字母,因此您看不到效果,因为小写字母将被替换。但假设您有一个带有粗体小写字母的字体,您可以获得所需的格式。
\documentclass{memoir}
\usepackage[
refsection=chapter,
]{biblatex}
\usepackage{filecontents}
\begin{filecontents*}{\jobname.bib}
@article{carroll2006method,
author={Carroll, Christopher D.},
title={The method of endogenous gridpoints for solving dynamic stochastic optimization problems},
journaltitle={Economics Letters},
volume={91},
number={3},
pages={312 - 320},
date={2006-06},
doi={10.1016/j.econlet.2005.09.013},
}
@article{mcfadden1989method,
title={A method of simulated moments for estimation of discrete response models without numerical integration},
author={McFadden, Daniel},
journaltitle={Econometrica},
doi={10.2307/1913621},
pages={995-1026},
publisher={Wiley, Econometric Society},
volume={57},
number={5},
date={1989-09},
}
\end{filecontents*}
\addbibresource{\jobname.bib}
\defbibheading{subbibintoc}[\refname]{%
\setsecheadstyle{\normalsize\scshape\MakeLowercase}
\section*{#1}%
\addcontentsline{toc}{section}{#1}
}
\begin{document}
\frontmatter
\tableofcontents*
\chapter{Preface}
\section*{First section}
\section*{Second section}
\mainmatter
\chapter{First chapter}
\nocite{carroll2006method}
\section{First section}
\section{Second section}
\printbibliography[heading=subbibintoc]
\chapter{Second chapter}
\nocite{mcfadden1989method}
\section{First section}
\section{Second section}
\printbibliography[heading=subbibintoc]
\end{document}