# [texhax] Make article title appear all in caps --- LaTeX

Barbara Beeton bnb at ams.org
Thu Jul 14 15:51:40 CEST 2016

On Thu, 14 Jul 2016, Rolf Turner wrote:

I would like to adjust a *.cls file so that the *article* title, as produced
by \maketitle is all upper case.

I know that this could of course be done by surrounding the text of the
title by \uppercase{ } in the LaTeX source file, but I want the "all caps
style" to be enforced automatically by the document class.  I have
fiddled a bit, sticking \uppercase{ } into the *.cls file in various places,
but to no avail.  Which is not surprising, since I haven't a clue what I'm
doing! :-)

Places where I thought I might be able to stick in a \uppercase include a
"\renewcommand\maketitle{..." and a "\def\@maketitle{...".  But I have no
real idea what the code means, so I am thrashing around in the dark.

if there's any possibility of math
being included in the title, then
you want to avoid uppercasing that.

Can anyone give me a helpful suggestion?  I can provide more detail about
the *.cls file (or provide the whole of the *.cls file) if that would help.

the amsart.cls file does this.  this
is on both ctan and tex live.  if you
have the latter, texdoc amsclass will
get you the full documented code.
(it does also include code for amsbook,
amsproc, and amsthm, so there's a lot
to be ignored or sorted through.)

look in particular for \@maketitle,
\@settitle, and \uppercasenonmath .