提问于:
浏览数:
2438
## 编译环境
操作系统
* [x]`Windows 7/8/10
* [ ] macOS
* [ ] Linux
`若需勾选,请把[ ]改成[x]`
Tex发行版
* [x]` TexLive `2019`
* [ ] MikTeX `版本号`
* [ ] CTeX
`若需勾选,请把[ ]改成[x]`
## 我的问题
(第一次发,不直到markdown怎么用,请见谅格式问题)
```markdown
\documentclass[UTF8,a4paper,12pt]{ctexart}
\usepackage{ctex}
\usepackage{caption}
\usepackage[round]{natbib}
%\bibliographystyle{plainnat}
\bibliographystyle{alpha}
%\bibliographystyle{unsrt}
%\bibliographystyle{plain}
%\bibliographystyle{harvard}
%\bibliographystyle{spbasic}
\begin{document}
常见\citep{baldwin2006},且忽视\citep{venables2011}。受到损失\citep{bcombes2012}
\bibliography{refss}
\end{document}
`````markdown
refss:
@article{baldwin2006,
title={Heterogeneous firms, agglomeration and economic geography: spatial selection and sorting},
year={2006},
}
@article{venables2011,
title={Productivity in cities: self-selection and sorting},
author={Venables, Anthony J},
year={2011},
}
@article{combes2012,
title={The productivity advantages },
author={Combes, Pierre-Philippe and Duranton,},
journal={Econometrica},
year={2012},
}
``````
1 回答
2
`tex` 文件就给这么多就够了。
```
\documentclass[UTF8,a4paper,12pt]{ctexart}
\usepackage[numbers]{natbib}
\bibliographystyle{unsrt}
\begin{document}
常见\cite{baldwin2006},且忽视\cite{venables2011}。受到损失\cite{combes2012}
\bibliography{refss}
\end{document}
```
至于 `bib` 文件我也给你补全了
```
@TechReport{baldwin2006,
author = {Richard Baldwin and Toshihiro Okubo},
title = {Heterogeneous firms, agglomeration and economic geography: spatial selection and sorting},
year = {2005},
doi = {10.3386/w11650},
publisher = {National Bureau of Economic Research},
}
@TechReport{venables2011,
author = {Anthony J. Venables},
institution = {University of Oxford, Department of Economics},
title = {{Productivity in cities: self-selection and sorting}},
year = {2010},
number = {507},
type = {Economics Series Working Papers},
url = {https://ideas.repec.org/p/oxf/wpaper/507.html},
}
@Article{combes2012,
author = {Pierre‐Philippe Combes and Gilles Duranton and Laurent Gobillon and Diego Puga and Sébastien Roux},
journal = {Econometrica},
title = {The productivity advantages of large cities: distinguishing agglomeration from firm selection},
year = {2012},
number = {6},
pages = {2543--2594},
volume = {80},
doi = {10.3982/ecta8442},
publisher = {The Econometric Society},
}
```
你的回答
请登录后回答
你的回答将会帮助更多人,请务必认真回答问题。