# [texhax] The visual effect of optional settings in inline lists

Susan Dittmar Susan.Dittmar at gmx.de
Wed May 19 15:56:41 CEST 2010

Quoting Barbara Beeton (bnb at ams.org):
> but what if this is embedded in an italic environment, such as a theorem?
>
> my preference would be for the parens to be upright, and i'm not sure
> about the indices.  but this would handle that worst case with a bit of
> overkill:
>
>   \begin{inparaenum}[{\upshape(}\emph{a}{\upshape)}]

Good idea. Your syntax is not correct for this special case, as the a''
must not be within surrounding curly braces. This version works though:

\begin{inparaenum}[{\upshape(}\em a{\upshape)}]

Hope that helps,

Susan