
BibTeX, biblatex and biber ⇒ Changing \cite command
Changing \cite command
I have just started using \citep instead of \cite. Is there a way for me change the command \cite to "mean" \citep ? I am asking because i have a large document which i would otherwise have to comb through to find all the \cite´s 

Last edited by thedreamshaper on Mon Apr 04, 2011 8:19 pm, edited 1 time in total.
NEW: TikZ book now 40% off at Amazon.com for a short time.

- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Changing \cite command
You mean to assign the functionality of \citep to \cite? Then try this in the preamble.
Untested, therefore unwanted side effects cannot be ruled out.
But it should be no problem for your editor to search and replace given strings.
Thorsten
Code: Select all
\let\cite\citep
But it should be no problem for your editor to search and replace given strings.
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Changing \cite command
I am using TeXnicCenter, i dont know if it has a search and replace function ?
Re: Changing \cite command
Your code worked like a charm 

- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Changing \cite command
Of course it has.thedreamshaper wrote:I am using TeXnicCenter, i dont know if it has a search and replace function ?
Then please mark the topic accordingly as clearly written in Section 3 of the Board Rules and as you have already been asked for. You are not new to the forum so you should no that. Please keep that in mind for the future so that further reminders will not be necessary.thedreamshaper wrote:Your code worked like a charm […]
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10