I need to redefine "\citet" command to have its output printed in red. I did:


that works for the "one optional argument" case: \citet[ARG]{label}.

How can I get the same result for the "two optional argument" case: \citet[ARG1][ARG2]{label}?

1 Answer 1


You don't have to check for any optional argument, if you use the #1#{ argument to get everything before the {:


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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