Hi
I am a new TeX user and currently fighting with a problem regarding citations. I use a very simple citation formal:
Input:
... as discussed by author1 \cite{author1_2009}.
Output:
... as discussed by author1 [1].
Unfortunately I get problems as soon as I want to give references of 2nd order:
Input:
... has never been reported (\cite{author1}, as cited by \cite{author2}).
Output:
... has never been reported ( [1], as cited by [2]).
There is always this SPACE between "(" and "[1]"! Does anyone know how I can get rid of it?
Thanks,
Daniel
Page Layout ⇒ unwanted space before citation
NEW: TikZ book now 40% off at Amazon.com for a short time.

unwanted space before citation
In order to help solve a problem like this, we need to be able to reproduce it, which I cannot do.
Could you produce a minimal working example which shows this misbehavior?
The code:
produces the following output for me:
There is no space there.
If yours has a space, there must be something different about your document, and without knowing that is, it is impossible to solve.
Could you produce a minimal working example which shows this misbehavior?
The code:
Code: Select all
\documentclass{article}
\begin{document}
\ldots\ has never been reported (\cite{author1}, as cited by \cite{author2})
\bibliographystyle{plain}
\bibliography{sample}
\end{document}
There is no space there.
If yours has a space, there must be something different about your document, and without knowing that is, it is impossible to solve.
-
- Posts: 13
- Joined: Tue Dec 07, 2010 5:25 pm
unwanted space before citation
Using the cite package does this.
Using the [noadjust] option solves it.
It was in the cite package documentation, under the Customization section.
http://tug.ctan.org/tex-archive/macros/ ... e/cite.pdf
Code: Select all
\documentclass{article}
\usepackage{cite}
\begin{document}
Example of space when cite is used: (\cite{empty} and \cite{empty})
\end{document}
Code: Select all
\documentclass{article}
\usepackage[noadjust]{cite}
\begin{document}
Example of no space when cite's noadjust is used: (\cite{empty} and \cite{empty})
\end{document}
http://tug.ctan.org/tex-archive/macros/ ... e/cite.pdf