请问使用latex编辑参考文献,要使用Chicago的样式,同时正文的引文中,如果是两个作者要用&连接,而不是and,同时两个以上的作者直接是 第一作者 et, al,这里et al是斜体,这个要怎么设置?找了好久还是不会,请大家帮帮忙
提问于:
浏览数:
4679
3 回答
3
这是官网的格式说明:[https://www.chicagomanualofstyle.org/help-tools/about](https://www.chicagomanualofstyle.org/help-tools/about)
如果使用 biblatex 的话,下面有个例子,详情说明在这里:[https://www.ctan.org/pkg/biblatex-chicago](https://www.ctan.org/pkg/biblatex-chicago):
```tex
\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}
```
<img src="/data/ueditor/php/upload/image/20190901/1567304762741340.png"/>
例子选自:
[ttps://tex.stackexchange.com/questions/35233/bibtex-and-chicago-style-citations](ttps://tex.stackexchange.com/questions/35233/bibtex-and-chicago-style-citations)
如果用 bibtex 例子如下:
```tex
\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}
```
更多样式可以看看这里:[https://www.bibtex.com/](https://www.bibtex.com/)
在这里列出来常用的参考文献样式:
[https://www.bibtex.com/bibliography-styles/](https://www.bibtex.com/bibliography-styles/)
<img src="/data/ueditor/php/upload/image/20190901/1567306451572542.png" title="1567306451572542.png" />
-
回复 fisher :最好与编辑沟通一下,看用LaTeX投稿时,需不需要调整这些东西,这些东西,一般是编辑才能调整的。 – registor 2019-09-02 08:20 回复
-
同时我看到该杂志发表的文章都是姓氏在后面,可是我的最后姓氏在前面,我也想调换一下顺序 – fisher 2019-09-01 19:17 回复
-
我现在是按照natbib设置,看了它的帮助文件,可是还是不会设置将et al设为italian,文件里面也只是可以修改两个参考文献之间的连接符号,请问怎么修改一个文献的两个作者之间的连接符号呢?是要修 – fisher 2019-09-01 18:52 回复
1
你并没有提供MWE,我只能猜一个MWE了!如果要能够得到及时全面答复,请提供你自己的MWE!!!
不过,既然指定要使用Chicago,为什么要去改这些格式呢?改了,就不一定符合杂志的要求了!指定你用什么,就是不希望你改!
```tex
\documentclass{article}
% 文献测试数据
\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 ={Miscztyn, Martinez and Shirleen, Venucci and Alfred, Villanueva},
year = {2011},
}
\end{filecontents}
% 使用biblatex-chicago宏包,maxcitenames=2比较重要
\usepackage[backend=biber,authordate,maxcitenames=2]{biblatex-chicago}
% 设置最后一个姓名分割符为\&
\DeclareDelimFormat{finalnamedelim}{\addspace\&\space}
% 设置et al为\emph格式(默认为italic)
\renewbibmacro*{name:andothers}{% Based on name:andothers from biblatex.def
\ifboolexpr{
test {\ifnumequal{\value{listcount}}{\value{liststop}}}
and
test \ifmorenames
}
{\ifnumgreater{\value{liststop}}{1}
{\finalandcomma}
{}%
\andothersdelim\bibstring[\emph]{andothers}}
{}}
% 载入文献数据库
\addbibresource{\jobname.bib}
% 测试
\begin{document}
\cite{JohSil05}
\cite{Joh11}
\nocite{*}
\printbibliography
\end{document}
```
建议你认真读一下biblatex或bibtex说明书。
0
你昨晚提问时,给出来了要投稿的期刊,还给出来了期刊要求的格式。
我说过,它要求的格式和 Chicago 不完全一样。
如果是单纯用 Chicago,那反而简单。
你的回答
请登录后回答
你的回答将会帮助更多人,请务必认真回答问题。