![我想对不同的 @inproceedings 入口使用一个通用标签](https://linux22.com/image/316817/%E6%88%91%E6%83%B3%E5%AF%B9%E4%B8%8D%E5%90%8C%E7%9A%84%20%40inproceedings%20%E5%85%A5%E5%8F%A3%E4%BD%BF%E7%94%A8%E4%B8%80%E4%B8%AA%E9%80%9A%E7%94%A8%E6%A0%87%E7%AD%BE.png)
是否可以列出来自同一会议的入口,其中我使用一个标签表示论文,另一个标签表示会议?那么,当我想引用该会议上发表的所有论文时,我只需使用一个标签?
例子:
@INPROCEEDINGS{smith2006,4thconference
author={M Smith},
title={How to do things},
booktitle={4th Conference on doing things},
year={2006},
address={Tokio} }
@INPROCEEDINGS{doe2006,4thconference
author={J Doe},
title={Analysis of things done},
booktitle={4th Conference on doing things},
year={2006},
address={Tokio} }
答案1
如果我理解正确的话,请将名称放在 中\def
,然后在参数中使用它\cite
。已编辑以提供自编译示例。
在这个例子中,goosens93
和segl03
是论文标签,而是\confrefs
会议参考标签,一次性调用会议中的所有单个论文。
\documentclass{article}
\bibliographystyle{plain}
\usepackage{filecontents}
\begin{filecontents}{mytestbib.bib}
@book{goossens93,
author = "Frank Mittelbach and Michel Goossens and Johannes Braams and David Carlisle and Chris Rowley",
title = "The {LaTeX} Companion",
year = "1993",
publisher = "Addison-Wesley",
address = "Reading, Massachusetts"
}
@ARTICLE{segl03,
AUTHOR = "Segletes, S. B. AND Walters, W. P.",
TITLE = {Extensions to the Exact Solution of the Long-Rod
Penetration/Erosion Equations},
JOURNAL = "IJIE",
YEAR = "2003",
VOLUME = "28",
PAGES = "363--376"}
\end{filecontents}
\def\confrefs{goossens93, segl03}
\begin{document}
In these refs\cite{\confrefs}\ldots
Later, also referencing\cite{\confrefs}, more stuff.
But I can also cite just the paper\cite{segl03}.
\bibliography{mytestbib}
\end{document}