将引文拆分为作者和年份

将引文拆分为作者和年份

我的里面有这个.tex

This study was done by \cite{mogul1997potential} in X and lately proposed to be 
a present feature in HTTP servers \cite{mogul2002delta}.

它生成:

这项研究由 [Mogul et al. 1997] 在 X 中完成,最近被提议作为 HTTP 服务器的现有功能 [Mogul et al. 2002]。

我想将引文分为两部分,即作者和年份,如您所见。我该怎么做?示例:

这项研究由 Mogul 等人于 1997 年完成,最近被提议作为 HTTP 服务器的现有功能 [Mogul et al. 2002]。

我在用模板。例如:

\documentclass[12pt]{article}
\usepackage{sbc-template}
\usepackage{graphicx,url}
\usepackage[latin1]{inputenc}  
\sloppy

\usepackage{amsmath}

\title{bb a a}
\author{Frederico Schardong\inst{1}}
\address{aa aa aa \email{[email protected]}}

\begin{document} 

\maketitle

\begin{abstract}
Hi
\end{abstract}

\section{Introduction}
This study was done by \cite{mogul1997potential} in X and lately proposed to be 
a present feature in HTTP servers \cite{mogul2002delta}.

\newpage
\bibliographystyle{sbc}
\bibliography{sbc-template}

\end{document}

这是我的参考文件:

@article{mogul2002delta,
  title={Delta encoding in HTTP},
  author={Mogul, Jeffrey and Krishnamurthy, Balachander and Douglis, Fred and Feldmann, Anja and Goland, Yaron and van Hoff, Arthur and Hellerstein, D},
  journal={Work in Progress},
  year={2002}
}

@inproceedings{mogul1997potential,
  title={Potential benefits of delta encoding and data compression for HTTP},
  author={Mogul, Jeffrey C and Douglis, Fred and Feldmann, Anja and Krishnamurthy, Balachander},
  booktitle={ACM SIGCOMM Computer Communication Review},
  volume={27},
  number={4},
  pages={181--194},
  year={1997},
  organization={ACM}
}

答案1

正如评论中所写,您的样式文件不支持您的请求。类似natbib或的软件包biblatex支持\citeauthor\citeyear解决此类问题。

不过我建议使用biblatex

相关内容