Is there any way to use \citet
in IEEETran? It's a handy command that IEEETran doesn't support.
2 Answers
You can use citet combined with numbers citations by loading:
\usepackage[numbers]{natbib}
\bibliographystyle{IEEEtranN}
-
1This did not work for me. Is there anything missing from this snippet to make it work? Commented Feb 29, 2020 at 16:34
-
Do you have the IEEE style files? tug.ctan.org/tex-archive/biblio/bibtex/contrib/IEEEtran/…– dorienCommented Mar 2, 2020 at 3:50
As [number]
is allowed to be used as a noun in IEEE, \citet
is not necessary. However, I still define a new command \citet
, but simply make it the same as \cite
. By doing this, I can reuse the Tex source in different places without needing to change \citet
to \cite
when the former is not supported.
-
5Maybe it can be used, but some people might prefer to also list the author's name to make it more clear.– dorienCommented Feb 17, 2014 at 13:40
natbib
package? The\citet
command is provided by thenatbib
package.Author (Year)
citations.natbib
package (esp. if loaded with the optionnumbers
) is smart enough to make\citet
behave like\cite
in such cases.cite
package as the housestyle recommends in the manual. Forieeetran
class, there is no difference between\citet
and\citep
natbib
, with such error: Package natbib Error: Bibliography not compatible with author-year citations.