> 
> Joao> After producing quite acceptable .layout and .cls files for our
> Joao> students, someone needed a List of Abbreviations. I managed to
> Joao> produce all entries with a nice macro like this
> 
> Joao> \abbrev {SVD] {Singular Value Decomposition}

> On a relative point, we could probably decide to use $...$ for inline
> formulas, while keeping \[...\] for displayed formulas. It seems that
> it's what the latex docs suggest.

This would be a good change, trading \(...\) for $...$. In fact,
I could implement my \abbrev code after REDEFINING \(...\) as
$...$. Look at the code:

\newcommand\abbrev[2]{%
  \def\({$}             % HACK...
  \def\){$}
  \addcontentsline{loa}{chapter}{%
    \rm%
    \protect\parbox[t]{.2\textwidth}{#1}%
    \hspace{0.025\textwidth}%
    \protect\parbox[t]{.7\textwidth}{#2}
  }
}

Doing this, expansion goes well and everything fits in place. Was
there any special reason to use \(...\) as inline math, in the
first place?

jb



Reply via email to