15

Is there any way to use \citet in IEEETran? It's a handy command that IEEETran doesn't support.

lockstep
  • 250,273
  • Have you tried loading the natbib package? The \citet command is provided by the natbib package. – Mico Feb 12 '13 at 00:31
  • 1
    It's not supported because IEEE style doesn't allow you to put in Author (Year) citations. – percusse Feb 12 '13 at 00:34
  • @percuße -- isn't that a separate (though obviously also very important!) question? I'm pretty sure that the natbib package (esp. if loaded with the option numbers) is smart enough to make \citet behave like \cite in such cases. – Mico Feb 12 '13 at 00:37
  • @Mico It is indeed but then you can directly use cite package as the housestyle recommends in the manual. For ieeetran class, there is no difference between \citet and \citep – percusse Feb 12 '13 at 00:40
  • @Mico IEEETran doesn't allow loading natbib, with such error: Package natbib Error: Bibliography not compatible with author-year citations. – Zebra Propulsion Lab Feb 12 '13 at 05:19
  • @percuße My desired style is like the \citet in classicthesis: Author [number]. Is there any way to define that in a document using IEEETran class? – Zebra Propulsion Lab Feb 12 '13 at 05:40
  • That's not allowed by design so there is significant effort to prevent that because ieeetran is specifically tailored for the journals of IEEE and they don't use author number style. Some authors do that occasionally in their articles manually but usually it's considered to be bad style in an IEEE journal. It's mostly due to saving space as there are hard limits unlike the APA or natbib using journals. – percusse Feb 12 '13 at 12:21
  • Thanks @percuße. I just noticed that [number] is allowed to be used as a noun in IEEE, then I will just use \cite – Zebra Propulsion Lab Feb 12 '13 at 17:36
  • Ah, yes now I see your motivation. Would you like to answer your own question or do you ming if we close this for housekeeping purposes? – percusse Feb 13 '13 at 02:57
  • How if we want a mix style such as in table? We want to mention the researcher, the year it is researched, and then followed by the number stye. Froe example: Author et al., 2002 [1]. – Muhammad Yasirroni Sep 19 '22 at 05:19

2 Answers2

5

You can use citet combined with numbers citations by loading:

\usepackage[numbers]{natbib}
\bibliographystyle{IEEEtranN}
dorien
  • 1,615
3

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.

  • 5
    Maybe it can be used, but some people might prefer to also list the author's name to make it more clear. – dorien Feb 17 '14 at 13:40