我想引用一篇包含以下.bib
文件的论文:
@article{almassalkhi2015model,
title={Model-predictive cascade mitigation in electric power systems with storage and renewables—Part II: Case-study},
author={Almassalkhi, Mads R and Hiskens, Ian A},
journal={IEEE Transactions on Power Systems},
volume={30},
number={1},
pages={78--87},
year={2015},
publisher={IEEE}
}
但是在参考文献部分,所引用论文的标题没有正确显示:
MR Almassalkhi 和 IA Hiskens,“带有存储和可再生能源的电力系统中的模型预测级联缓解第二部分:案例研究”,IEEE 电力系统学报,第 30 卷,第 1 期,第 78-87 页,2015 年。
“renewablespart ii” 是预计为“renewables—Part II”的部分。
有人知道为什么会这样以及我该如何解决它吗?
答案1
您的问题分为两部分:
- 要获取大写字母,您需要用 将它们括起来。对要打印的所有大写字母都执行此
{}
操作{II}
。如果省略括号,则会得到小写字母。 - 您在代码中
renewables—Part
使用了短划线。最好改用短划线--
。
因此,有了以下 MWE
\RequirePackage{filecontents}
\begin{filecontents*}{\jobname.bib}
@article{almassalkhi2015model,
title = {Model-predictive cascade mitigation in electric power
systems with storage and renewables--{P}art {II}:
{C}ase-study},
author = {Almassalkhi, Mads R and Hiskens, Ian A},
journal = {IEEE Transactions on Power Systems},
volume = {30},
number = {1},
pages = {78--87},
year = {2015},
publisher = {IEEE},
}
@Book{Goossens,
author = {Goossens, Michel and Mittelbach, Frank and
Samarin, Alexander},
title = {The LaTeX Companion},
edition = {1},
publisher = {Addison-Wesley},
location = {Reading, Mass.},
year = {1994},
}
@Book{adams,
title = {The Restaurant at the End of the Universe},
author = {Douglas Adams},
series = {The Hitchhiker's Guide to the Galaxy},
publisher = {Pan Macmillan},
year = {1980},
}
\end{filecontents*}
\documentclass[10pt,a4paper]{article}
\usepackage{showframe} % to visualise the typing area and margins
\usepackage{hyperref}
\begin{document}
This is text with \cite{Goossens} and \cite{adams}.
\nocite{*} % to test all bib entrys
\bibliographystyle{unsrt}
\bibliography{\jobname}
\end{document}
你得到了想要的结果: