5

This question already has an answer here:

I am writting a paper in IEEE format. For one sentence, i have two references and therefore i want to show them in a bracket e.g. ([1], [2]) but i am not able to get that format.

Instead of ([1], [2]) , i am getting ( [1], [2]).

So, how can i remove the extra space between "(" and first "[" as depicted in the screenshot below.

My code:

Main.tex

\documentclass[12pt,ieeeconf]{IEEEtran}

\usepackage{lipsum}
\usepackage{fancyhdr}
\pagestyle{fancy}
\usepackage{gensymb}
\usepackage{cite} 
\usepackage[cmex10]{amsmath}
\usepackage{graphicx}
\usepackage[caption=false,font=footnotesize]{subfig}
\graphicspath{{../pdf/}{/home/xyz/Desktop/rightwards}}
\usepackage{epstopdf} 
\usepackage{url}
%\usepackage{subfigure}
\usepackage{url}
\usepackage{amssymb}
\usepackage{amsfonts}
\usepackage[all,graph]{xy}
\usepackage{booktabs}
\usepackage{multirow}
\usepackage{array}
\usepackage{comment}
\usepackage{tabularx}

\title{Effect of the Position}
\author
{\IEEEauthorblockN{Xyz}\\
\IEEEauthorblockA{Lab, Faculty of Electrical Engineering \\
University of ABC\\
xyz@mail.de}
}
\markboth{Engineering Paper}{}

\begin{document}
\maketitle

\input{introduction}

\bibliography{refer.bib}
\bibliographystyle{plain}

\end{document}

introduction.tex

this is introduction of a paper (\cite{firstPaper}, \cite{secondPaper}).

image

marked as duplicate by egreg, percusse, Stefan Kottwitz Jul 26 '14 at 21:43

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • Please show us an MWE (minimum working example -- a LaTeX program that starts with \documentclass and ends with \end{document} -- that generates the problem behavior you're encountering. Without such information it's going to be very difficult to diagnose what's going on, let alone propose a fix. – Mico Jul 26 '14 at 20:45
  • 3
    Use \usepackage[noadjust]{cite} – percusse Jul 26 '14 at 20:47
  • \usepackage[noadjust]{cite} solved the problem. Thanks – skm Jul 26 '14 at 20:58

Browse other questions tagged or ask your own question.