[texhax] The visual effect of optional settings in inline lists
Heiko Oberdiek
heiko.oberdiek at googlemail.com
Wed May 19 15:57:37 CEST 2010
On Wed, May 19, 2010 at 09:33:57AM -0400, Barbara Beeton wrote:
> 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.
However "a" must not be hidden inside braces
(requirement of environment `inparaenum').
\newcommand*{\parenit}{}
\def\parenit#1\relax{%
\textup{(}\emph{#1}\textup{)}%
}
\begin{inparaenum}[\parenit a\relax]
Yours sincerely
Heiko Oberdiek
More information about the texhax
mailing list