Recently I was looking at options on where to save latex cls and bst files locally on my Mac and I came across this very good source from TeXStackEchange: How to have local package override default package
Most of the times I have the IEEEtran.bst files modified so that if I cite the same author twice, I would like to see the author's name again
Most of the times I have the IEEEtran.bst files modified so that if I cite the same author twice, I would like to see the author's name again
% #0 turns off the "dashification" of repeated (i.e., identical to those
% of the previous entry) names. IEEE normally does this.
% #1 enables
FUNCTION {default.is.dash.repeated.names} { #0 }
and sometimes if an article has more than 6 authors, I want that reference shortened to et. al. % The maximum number of names that can be present beyond which an "et al." % usage is forced. Be sure that num.names.shown.with.forced.et.al (below) % is not greater than this value! % Note: There are many instances of references in IEEE journals which have % a very large number of authors as well as instances in which "et al." is % used profusely.
FUNCTION {default.max.num.names.before.forced.et.al} { #3 }
So as per the instructions, I created this structure:
1. For .cls files:
/Users/'username'/Library/texmf/tex/latex/
2. For .bst files:
/Users/'username'/Library/texmf/bibtex/bst/
Happy Latexing !
No comments:
Post a Comment