9

I was recently poking around a cls file with a custom chapter formatting.

It uses \@chapapp{} and I would like to find out if there is a part equivalent other than \partname?

  • No, or at least no in the standard classes. The name for parts is constant. – Gonzalo Medina Jul 11 '15 at 23:38
  • \partname is what you're looking for. The existence of \@chapapp is due to the fact that \chaptername is used in the normal text, but \appendixname is used in the appendix. – egreg Jul 11 '15 at 23:38
7

The macro \@chapapp is initially defined to expand to \chaptername, but \appendix redefines it to be \appendixname.

The standard classes define \partname and the language definition files of babel should have a definition for it. Since there's no change in \partname during the document, no other command is provided.

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.