
booktitle
일부 @inproceedings
. .bib 파일에 다음과 같이 줄을 씁니다.
@String {Conf. = {Proc. {IEEE} Int. Conf.} }
그럼 입장은
@inproceedings{key,
title = {},
author = {},
booktitle= Conf. Signal Processing
}
출력을 Proc. IEEE Int. Conf. Signal Processing
.
답변1
당신은 (내 생각에) 당신이 하고 싶은 일을 할 수 없습니다. @string
s는 다른 s와만 연결해야 합니다 @string
. 그러나 물론 예상대로 매크로를 사용할 수 있습니다. 두 항목을 비교하십시오.
\documentclass{article}
\usepackage{filecontents}
\begin{filecontents*}{\jobname.bib}
@string{ CONF = "Proc. {IEEE} Int. Conf." }
@string{ SIGPROC = " Signal Processing" }
@preamble{ "\providecommand*{\CONF}{Proc. {IEEE} Int. Conf.}" }
@inproceedings{key,
title = {Title},
author = {Author},
booktitle= CONF # SIGPROC,
year = 2000,
}
@inproceedings{key1,
title = {Title},
author = {Author},
booktitle={\CONF{} Signal Processing},
year = 2000,
}
\end{filecontents*}
\usepackage{natbib}
\begin{document}
\cite{key}
\cite{key1}
\bibliographystyle{plainnat}
\bibliography{\jobname}
\end{document}