Take the 2-minute tour ×
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.

I need to modify a very long document so that it no longer uses natbib (in order to conform to publisher requirements). I tried redefining \citep to be identical to \cite, but it doesn't seem to be working. The command I used was

\newcommand{\citep}[1]{\cite{#1}}

Could anyone tell me if this is correct? (Thanks!)

share|improve this question
1  
No it is not, \cite can take many more options, you might get away with just \let\citep\cite, but you should check for any double optional options given to \citep –  daleif Sep 3 '12 at 12:34
    
That did the trick -- thank you. –  Mohan Sep 4 '12 at 14:19

1 Answer 1

up vote 4 down vote accepted

I'll just make this into an answer that you can accept, then the question no longer sits unanswered.

No it is not, \cite can take many more options, you might get away with just \let\citep\cite, but you should check for any double optional options given to \citep

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.