昨天我们推送了一期关于 LaTeX 如何引用中文参考文献,没有关注的同学可以点击链接学习下;由于不同期刊的要求的参考文献格式不同,今天接着讲一下如何为参考文献设定特定格式,先来看下面这个问题:
“请问使用 LaTeX 编辑参考文献,要使用 Chicago 的样式,同时正文的引文中,如果是两个作者要用 & 连接,而不是 and,同时两个以上的作者直接是 第一作者 et al,这里 et al 是斜体,这个要怎么设置?找了好久还是不会,请大家帮帮忙。”
——来自 LaTeXstudio 问答站网友
解决方案
这是官网的格式说明 [1]
01,如果使用biblatex
的话,下面有个例子 [2],详情说明在这里 [3]:
\documentclass{article}
\usepackage[utf8]{inputenc}
\begin{filecontents}{\jobname.bib}
@phdthesis{Doe11,
title={The Title},
author={Doe, J.},
year={2011},
school={University of Mars}
},
@article{JohSil05,
title={EbayesThresh: R programs for Empirical Bayes Thresholding},
author={Johnstone, I.M. and Silverman, B.W.},
journal={Journal of Statistical Software},
volume={12},
number={8},
pages={1--38},
year={2005}
},
@book{Joh11,
title = {Gaussian estimation: Sequence and multiresolution models},
author = {Johnstone, Ian M.},
year = {2011},
}
\end{filecontents}
\usepackage[authordate]{biblatex-chicago}
\DeclareFieldFormat[article]{title}{\mkbibquote{#1}} % make article titles in quotes
\DeclareFieldFormat[thesis]{title}{\mkbibemph{#1}} % make theses italics
\addbibresource{\jobname.bib}
\begin{document}
\nocite{*}
\printbibliography
\end{document}
![4118cc2a898be9011632cb5922293e85.png](https://img-blog.csdnimg.cn/img_convert/4118cc2a898be9011632cb5922293e85.png)
bibtex
例子如下:
\begin{filecontents}{\jobname.bib}
@phdthesis{Doe11,
title={The Title},
author={Doe, J.},
year={2011},
school={University of Mars}
},
@article{JohSil05,
title={EbayesThresh: R programs for Empirical Bayes Thresholding},
author={Johnstone, I.M. and Silverman, B.W.},
journal={Journal of Statistical Software},
volume={12},
number={8},
pages={1--38},
year={2005}
},
@book{Joh11,
title = {Gaussian estimation: Sequence and multiresolution models},
author = {Johnstone, Ian M.},
year = {2011},
}
\end{filecontents}
\documentclass[a4paper,10pt]{article}
\usepackage{natbib}
\usepackage[utf8]{inputenc}
\begin{document}
This is an example of a paragraph with in-text
citations using the chicago BibTeX style.
Here is a reference to a journal article with
a single author \cite{JohSil05}, to a journal
article with two authors \cite{Joh11} and
three authors \cite{Joh11}, and to a book
with four authors \cite{Joh11}.
\bibliographystyle{chicago}
\bibliography{\jobname.bib}
\end{document}
更多样式可以看看这里 [4]
在这里 [5] 列出来常用的参考文献样式:
![904d8dd670e07e8bae450becceba359f.png](https://img-blog.csdnimg.cn/img_convert/904d8dd670e07e8bae450becceba359f.png)
参考资料
[1] https://www.chicagomanualofstyle.org/help-tools/ about
[2] https://tex.stackexchange.com/questions/35233/ bibtex-and-chicago-style-citations
[3] https://www.ctan.org/pkg/biblatex-chicago
[4] https://www.bibtex.com/
[5] https://www.bibtex.com/bibliography-styles/
点击阅读原文,学习更多知识