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

P. R. Stanley paulrichardstanley at gmail.com
Wed May 19 16:29:40 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)}]
Thanks, Barbara and Susan. I found out about the problem of the
counter value inside braces last night, when I was experimenting with
the inparaenum syntax.
Does anyone know why this is the case?
Cheers
Paul