0

This question already has an answer here:

I am using the following command to include a title (e.g. a citation) as the title of my lemma,

\begin{lemma}[\cite{Mieghem11}]

This is my lemma ...

\end{lemma}

but I'm getting an extra space there,

enter image description here

I'm using amsthm package with IEEEtran.cls

\documentclass[10pt, twocolumn, twoside, journal]{IEEEtran}
\usepackage{amsmath, amsfonts, amssymb, color, enumerate, amsthm, graphicx}
\usepackage{tikz, subcaption, cite}
\usepackage{color, xcolor, soul, bm}
\PassOptionsToPackage{hyphens}{url}\usepackage{hyperref}
\newtheorem{lemma}{Lemma}
\begin{document}
    \begin{lemma}[\cite{Mieghem11}]\label{lem: max singular}
        This is my lemma ...
    \end{lemma}
\end{document}

This also happens for definitions,

enter image description here

marked as duplicate by egreg theorems Jan 25 at 0:23

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.

  • 1
    Maybe try {\cite{Mieghem11}} (with the outer braces)? – Bernard Jan 24 at 22:35
  • @Bernard That removes the parantheses. – Mohammad Jan 24 at 22:37
  • \begin{lemma}{\cite{Mieghem11}} would remove parentheses, but I think \begin{lemma}[{\cite{Mieghem11}}] would leave them. – Teepeemm Jan 24 at 22:50
  • 1
    @Mohammad The example is not complete: from the picture it is apparent you're using also hyperref and maybe other packages that might redefine \cite. – egreg Jan 25 at 0:03
  • 1
    Remove \usepackage{cite}. See tex.stackexchange.com/questions/161848/… – egreg Jan 25 at 0:18

Browse other questions tagged or ask your own question.