On Mon, Jun 04, 2001 at 11:31:29AM +0100, Reuben Thomas wrote:
Few comments:
> Preamble
> \usepackage{entcsmacro,ifthen}
> \newcommand{\theTitle}[1]{}
The \theXXX should be argument-less macros, namely \newcommand{\theTitle}{}
(or \def\theTitle{} )
> \address{\theAddress}
You might need to put \ifthenelse here.
> \ifthenelse{\boolean{hasAbstract}}{\begin{abstract}\theAbstract\end{abstract}}{}
You don't need the hasAbstract variable.
You can just do
\ifthenelse{\eqaul{\theAbstract}{}}%
{}%
{\begin{abstract}\theAbstract\end{abstract}}
> Style Title
> Preamble
> \newcommand{\settitle}[1]{\def\theTitle{#1}}
> EndPreamble
> End
You can also use pure latex code:
\newcommand{\settitle}[1]{\renewcommand{\theTitle}{#1}}