Document Classesapa.cls, renewing commands

Information and discussion about specific document classes and how to create your own document classes.
Post Reply
sinituuli
Posts: 1
Joined: Tue Nov 17, 2009 8:04 pm

apa.cls, renewing commands

Post by sinituuli »

Hey!

I'm using apa.cls class with apacite citation. My problem is pretty simple, though I'm afraid the solution might not be. I write in Finnish. So instead of "et al" I have get "ym". It says this in apacite manual:

Consequently, the user can fine-tune the behavior of apacite by redefining these commands, through \renewcommand after apacite has been loaded. Analogously, most fixed texts, like “Tech. Rep.” and “Eds.” are implemented through LATEX commands as well, and can similarly be changed by the user.

Problem comes here: apa.cls automatically loads command \bibliographystyle{apacite}, so I modified the apa.cls document as follows:

\@ifundefined{def@noapacite}{% -- Philip Kime 2008/12/03
\bibliographystyle{apacite}
\renewcommand{\BCBT}{}
\renewcommand{\BOthers}[1]{ym.\hbox{}}
\renewcommand{\BOthersPeriod}[1]{ym.\hbox{}}

Saved, removed all .aux files and run latex in my article. Nothing happened. I still get the "et al" instead of "ym". Any ideas?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

josephwright
Site Moderator
Posts: 814
Joined: Tue Jul 01, 2008 2:19 pm

Re: apa.cls, renewing commands

Post by josephwright »

Post a minimal example that we can compile: it would be useful to see exactly what you are doing.
Joseph Wright
Post Reply