Underline with \cite

882 views
Skip to first unread message

SanKum

unread,
Nov 27, 2008, 5:34:53 AM11/27/08
to LaTeX Users Group
Hi All,

I am working on a book in LaTeX, in my book I have to use \underline
{..} in so many places. Now in some places \cite{..} is coming in this
\underline{...} command e.g., \underline{text \cite{ref1}}, which
gives error.

Can you please suggestion any latex package which process both
\underline{...} and \cite{..} symuleaneausly ???

Thanks in advance

...SanKum
India

C Hanck

unread,
Nov 28, 2008, 3:37:52 AM11/28/08
to LaTeX Users Group
Hi,

this works fine for me

\documentclass{article}
\usepackage{natbib}

\begin{document}
\bibliographystyle{plainnat}
\underline{text \citet{Binder/Pesaran:99}}
\bibliography{fullj,thebib}
\end{document}

It's difficult to say what your problem is since you do not give a
minimal example

- Christoph

Werner Grundlingh

unread,
Nov 30, 2008, 1:58:28 PM11/30/08
to LaTeX Users Group
I agree with Christoph. The following minimal example using \underline
{...\cite{...}} works fine:

\documentclass{article}

\begin{document}

This is just a \underline{\cite{tester}} test.

\begin{thebibliography}{x}

\bibitem{tester} This is a test

\end{thebibliography}

\end{document}

Without any further information, we won't know what to do.

Werner
Reply all
Reply to author
Forward
0 new messages