I want to mention a theorem from a paper. I am using the \cite reference style. I used the following code(WinEdt Latex):
We have following lemma $\cite{singh1}$ to find $**************************$.
And it is showing in following manner:
I want the Lemma to start as:
Lemma 1.2 [XYZ, 17]
How to write in this format?
My tex code and output:
\documentclass[12pt]{article}
\usepackage{latexsym}
\usepackage{amsthm,amsmath,amssymb,amsmath,amsfonts,graphicx,fancyhdr,algorithmic,longtable,listings,color,epsfig}
\usepackage{setspace}
\usepackage{subfigure}
\usepackage[labelsep=period]{caption}
\usepackage{array}
\usepackage[top=1in, bottom=1in, left=1in, right=1in]{geometry}
\usepackage{mathptmx}
\usepackage{enumerate}
\usepackage[noadjust]{cite}
\usepackage{filecontents}
\usepackage{mathtools}
\usepackage{graphicx,subfigure}
\usepackage{titlesec}
\titleformat*{\section}{\large\bfseries}% change font of section headings
\usepackage{lipsum} % for filler text
\def\demo{%
\par\topsep6pt plus6pt
\trivlist
\item[\hskip\labelsep\it Proof.]\ignorespaces}
\def\enddemo{\qed \endtrivlist}
\expandafter\let\csname enddemo*\endcsname=\enddemo
\newcommand{\tab}{\hspace*{2em}}
\newtheorem{Theorem}{Theorem}[section]
\newtheorem{Definition}{Definition}[section]
\newtheorem{Proposition}{Proposition}[section]
\newtheorem{Lemma}{Lemma}[section]
\newtheorem{Corollary}{Corollary}[section]
\newtheorem{Example}{Example}[section]
\newtheorem{Remark}{Remark}[section]
\newtheorem{Note}{Note}[section]
\newcommand{\R} {\mbox {$ I\!\!R $}}
\newcommand{\bea}{\begin{eqnarray}}
\newcommand{\eea}{\end{eqnarray}}
\newcommand{\be}{\begin{equation}}
\newcommand{\ee}{\end{equation}}
\newcommand{\nn}{\nonumber}
\newcommand{\nii}{\noindent}
\newcommand{\bee}{\begin{eqnarray*}}
\newcommand{\eee}{\end{eqnarray*}}
\usepackage[us,12hr]{datetime}
\fancypagestyle{plain}{\fancyhf{}
\lfoot{\footnotesize Date : {\ddmmyyyydate\today}}
\rfoot{ \footnotesize \thepage}
\renewcommand{\headrulewidth}{0pt}}
\pagestyle{plain}
\normalsize
\begin{document}
\title{Title of The Paper}
\date{}
\maketitle\begin{abstract}\noindent
The content of the abstract.
\end{abstract}
$~~${\bf Keywords}:
\section{Introduction}
\noindent Also, we have following lemma \cite{singh1} to .............
\begin{Lemma} \label{distconormal} \cite{singh1} Lemma Statement
\end{Lemma}
\begin{thebibliography}{85}
\bibitem{singh1} P. Singh , Article Title, Journal name.
\end{thebibliography}
\end{document}
amsthm
,theorem
,thmtools
...) and citations (cite
,natbib
,biblatex
, ...). Please show us an MWE/MWEB.\cite
in math mode in your exampleWe have following lemma \cite{singh1} to
works just as well.{}
button. Please do not mark it as a quote, that makes it much harder to read (and quite hard to salvage in an edit). Since your MWE shows that you do not usebiblatex
I have removed that tag.epsfig
,setspace
?;amssymb
loadsamsfonts
;mathtools
loadsamsmath
). Macros for\begin{...}
/\end{....}
like\bea
,\eea
and friends are also not recommended andeqnarray
should be avoided.\newcommand{\R} {\mbox {$ I\!\!R $}}
looks quite hacky to me, I normally use\mathbb{R}
, but that's probably a matter of taste.