Page Layout ⇒ unwanted space before citation
unwanted space before citation
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
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
unwanted space before citation
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
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