General ⇒ cite with brackets, not superscript
-
- Posts: 47
- Joined: Wed Nov 11, 2009 9:30 pm
cite with brackets, not superscript
I have a bibliography style which adds a superscript number to reference a citation by default. I'm abiding by that, but I'd like to also say something like "In [2,5], this happens" in a few places. Is there a way to force a bracket notation with \cite?
NEW: TikZ book now 40% off at Amazon.com for a short time.

-
- Site Moderator
- Posts: 814
- Joined: Tue Jul 01, 2008 2:19 pm
Re: cite with brackets, not superscript
Which LaTeX package are you using for superscript citations? cite, natbib, biblatex, ...?
Joseph Wright
-
- Posts: 47
- Joined: Wed Nov 11, 2009 9:30 pm
Re: cite with brackets, not superscript
Not sure. I just specify a bibliographystyle and bibliography{file}. I don't have any other usepackages or anything. How do I find out?
-
- Site Moderator
- Posts: 814
- Joined: Tue Jul 01, 2008 2:19 pm
Re: cite with brackets, not superscript
The bibliography style cannot make the citations superscript, so you must have something else going on. Please post a full working example.
Joseph Wright
-
- Posts: 47
- Joined: Wed Nov 11, 2009 9:30 pm
Re: cite with brackets, not superscript
\documentclass{aiaa-tc} %maybe this?
\begin{document}
Wowzers!!!\cite{Erdos01}
\begin{thebibliography}{9}
\bibitem{Erdos01} P. Erd\H os, \emph{A selection of problems and
results in combinatorics}, Recent trends in combinatorics (Matrahaza,
1995), Cambridge Univ. Press, Cambridge, 2001, pp. 1--6.
\end{thebibliography}
\end{document}
\begin{document}
Wowzers!!!\cite{Erdos01}
\begin{thebibliography}{9}
\bibitem{Erdos01} P. Erd\H os, \emph{A selection of problems and
results in combinatorics}, Recent trends in combinatorics (Matrahaza,
1995), Cambridge Univ. Press, Cambridge, 2001, pp. 1--6.
\end{thebibliography}
\end{document}
cite with brackets, not superscript
Yes. If you replace the aiaa-tc document class with article, for example, the superscripts disappear. You should try contacting the author of that class.CoolnessItself wrote:\documentclass{aiaa-tc} %maybe this?...
1,1,2,3,5,8,13,21,34,55,89,144,233,...
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
cite with brackets, not superscript
The reason for this kind of formatting is that the class uses the overcite package (see README) from the cite bundle. This package is a wrapper for the cite package and calls it with a certain option.
Thorsten
Code: Select all
\usepackage[superscript]{cite}
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10