I've got a custom class derived from report. I defined some standard commands inside of it to reflect its specific, so they look like:
\newcommand\contentsname{Custom Content}
\newcommand\bibname{Custom Bibname}
\newcommand\appendixname{Custom Appendix}
The problem is, when I add inputenc and babel packages which I also need, these commands become overridden with their localized versions from these packages. Of course, I can redefine the commands again in the document preamble, but I'm just curious: is there a general way to define commands which cannot be redefined later with \renewcommand in other classes?
babel. If you use a modified class anyway you could also change\appendixnameto\customappendixnamein the class file so that it will not get modified after you load the class. I am not aware of a write-protect switch though. – Alexander May 12 '13 at 17:14