Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I have this in my .tex:

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

It generates:

This study was done by [Mogul et al. 1997] in X and lately proposed to be a present feature in HTTP servers [Mogul et al. 2002].

I want to split the citation into two parts, the author and the year as you can see. How do I do that? Example:

This study was done by Mogul et al. in 1997 and lately proposed to be a present feature in HTTP servers [Mogul et al. 2002].

I am using this template. Example:

\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{aa@aa.aa}}

\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}

and this would be my references file:

@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}
}
share|improve this question
    
This can be done. Please provide a complete minimal example document of how you are using BibTeX for others to modify. –  jon Apr 20 '13 at 0:53
    
@jon, thanks for the comment, just added the code –  Frederico Schardong Apr 20 '13 at 0:57
    
For the download of the template is an account nececcary we do not have? –  Kurt Apr 20 '13 at 2:04
    
@Kurt, it should be fine now. Sorry. –  Frederico Schardong Apr 20 '13 at 2:10
5  
With your bibliography style you can't do this. The style doesn't support \citeyear nor \citeauthor. You can use biblatex or natbib whereby I recommend biblatex –  Marco Daniel Apr 20 '13 at 6:40
show 1 more comment

1 Answer

up vote 1 down vote accepted

As written in the comment your style file doesn't support your request. Packages like natbib or biblatex are supporting \citeauthor and \citeyear for such issues.

However I recommend the usage of biblatex.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.