Tell me more ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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

share|improve this question
Have you tried loading the natbib package? The \citet command is provided by the natbib package. – Mico Feb 12 at 0:31
It's not supported because IEEE style doesn't allow you to put in Author (Year) citations. – percusse Feb 12 at 0: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 at 0: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 at 0:40
@Mico IEEETran doesn't allow loading natbib, with such error: Package natbib Error: Bibliography not compatible with author-year citations. – Clive Feb 12 at 5:19
show 4 more comments

1 Answer

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.