LaTeX forum ⇒ Generalaltering the case of a list (e.g. /begin{itemize}/MakeUppercase)

LaTeX specific issues not fitting into one of the other forums of this category.
cypherpunks
Posts: 5
Joined: Sat Dec 10, 2016 12:26 pm

altering the case of a list (e.g. /begin{itemize}/MakeUppercase)

Postby cypherpunks » Sat Dec 26, 2020 1:33 am

I'd like to uppercase an itemized list. A first attempt was like this:
\uppercase{%
\begin{itemize}
  \item foo
  \item bar
  \item baz
  \end{itemize}
}

The compiler rejects the code because it tries to convert the commands into uppercase. So then I tried to adapt this working example from "description" to "itemize": https://tex.stackexchange.com/questions/41525/labels-of-list-items-capitalized-bold-style as follows:
\documentclass[paper=letter,DIV=13]{scrartcl}
\usepackage{enumitem} % redefine itemize to control font choice

\begin{itemize}[font=\scshape\MakeUppercase]
  \item foo
  \item bar
  \item baz
\end{itemize}


Notice that I even also threw in an scshape for good measure. Compiler accepts the code depite the slashes in the font arg being backwards -- but it has no effect. If the slashes are made proper, then the commands get printed literally.

Return to “General”

Who is online

Users browsing this forum: No registered users and 8 guests