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 use TeX for writing my thesis. In bibliography list I need to remove a source number.

Now when I cite some source I use standard cite tag, e.g.:

\cite[p.~234]{AuthorName} and in document there will a citation "[12, p. 234]" (I need to change "[]" for "()") where number 12 is number of the source in bibliography list.

But I need to change citation style to cite name of the author, year (and page), e.g.:

"(Horstmann, 2001, p. 234)"

I can do it when I set author name and year in bibliography:

\bibitem[Horstmann, 2001]{Horstmann} HORSTMANN, C.S. \textit{Big Java: Programming and Practice}. 1st. ed. New York, USA: John Wiley \& Sons, Inc., 2001, 1231 s. \ISBN{978-0471402480}.

ut on the left side of this citation there is a name of this source "[Horstmann, 2001] ....." and I don't want it there.

Is it possible to remove this name of the source so the citation will be only:

HORSTMANN, C.S. Big Java: ....

?

share|improve this question
add comment

1 Answer

For hand built citations all you need to do is load the natbib package:

Sample output

\documentclass{article}

\usepackage{natbib}

\begin{document}
\cite[p.~234]{Horstmann}

\begin{thebibliography}{1}
\bibitem[Horstmann, 2001]{Horstmann} HORSTMANN, C.S. \textit{Big Java:
  Programming and Practice}. 1st. ed. New York, USA: John Wiley \&
  Sons, Inc., 2001, 1231 s. ISBN 978-0471402480.
\end{thebibliography}

\end{document}

However, also have a look using the newer biblatex and/or using an external bibtex database.

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.