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.
Post Reply
cypherpunks
Posts: 15
Joined: Sat Dec 10, 2016 12:26 pm

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

Post by cypherpunks »

I'd like to uppercase an itemized list. A first attempt was like this:

Code: Select all

\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 ... bold-style as follows:

Code: Select all

\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.

Recommended reading 2024:

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

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

Post Reply