Generalcite, natbib | Package Conflict

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
piersmaddox
Posts: 4
Joined: Tue Oct 11, 2011 4:27 pm

cite, natbib | Package Conflict

Post by piersmaddox »

Hi. I cannot get compressed superscript cites when also using natib to alter bibliography number formatting. Can someone please suggest a way? I have the following code.

Code: Select all

\documentclass[10pt]{article}
\usepackage{natbib}
\renewcommand{\bibnumfmt}[1]{{#1}.}
\usepackage[superscript]{cite}
\begin{document}
\noindent \large {\bf Title}

Blah blah  blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah. \cite{one,two,three} 

\bibliographystyle{plain}
\begin{thebibliography}{10}

\bibitem{one}
Reference 1

\bibitem{two}
 Reference 2

\bibitem{three}
 Reference 3

\end{thebibliography}
\end{document}
Last edited by piersmaddox on Sat Oct 15, 2011 12:18 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

cite, natbib | Package Conflict

Post by localghost »

You don't need the cite package.

Code: Select all

\documentclass[11pt]{article}
\usepackage[T1]{fontenc}
\usepackage[sort&compress,super]{natbib}

\bibliographystyle{plain}
\renewcommand{\bibnumfmt}[1]{#1.}

\begin{document}
  Citation\cite{one}
  \begin{thebibliography}{10}
    \bibitem{one} Reference 1
    \bibitem{two} Reference 2
    \bibitem{three} Reference 3
  \end{thebibliography}
\end{document}

Thorsten
Post Reply