I am using the package \usepackage[superscript]{cite} and I am happy with this but within the document I want to have a sentence blah blah blah reference [1,2] blah blah blah, how do I go about it?
Thanks
General ⇒ Superscript citation help
NEW: TikZ book now 40% off at Amazon.com for a short time.
Superscript citation help
Hi,
I infer that you want this particular behaviour for some selected citation(s) and all the others will be superscripted (if all citations are meant to be in-line citations, then simply don't use the superscript package option). If this is so, one possible solution is to use the optional argument of the \cite command; this will typeset the citation in in-line mode even if the superscript option is used. This, however, will add a comma at the end of the list, so a local redefinition of the \citemid command will be necessary and some space correction. The following example illustrates this idea:
I infer that you want this particular behaviour for some selected citation(s) and all the others will be superscripted (if all citations are meant to be in-line citations, then simply don't use the superscript package option). If this is so, one possible solution is to use the optional argument of the \cite command; this will typeset the citation in in-line mode even if the superscript option is used. This, however, will add a comma at the end of the list, so a local redefinition of the \citemid command will be necessary and some space correction. The following example illustrates this idea:
Code: Select all
\documentclass{article}
\usepackage[superscript]{cite}
\begin{document}
blah, blah~{\renewcommand\citemid{}\cite[\hspace*{0.8pt}]{one,two}} blah, blah
\begin{thebibliography}{9}
\bibitem{one} Bib. item one.
\bibitem{two} Bib. item two.
\end{thebibliography}
\end{document}
1,1,2,3,5,8,13,21,34,55,89,144,233,...
Re: Superscript citation help
I can't get this to work, it says there are too many } or something
Re: Superscript citation help
I think if I just use \citen it woeks ok
Thanks
Thanks
Superscript citation help
My example code compiles with no errors. Just saying this:
is useless.pazmush wrote:I can't get this to work, it says there are too many } or something
1,1,2,3,5,8,13,21,34,55,89,144,233,...