Steve Litt wrote:
>
> Preamble
> \usepackage{ntheorem}
> \newtheorem{example}{Example}
> \newcommand\myExample[1]{
command my example has one parameter, which is called #1
> \begin{example}\begin{list}{}{%
the %-sign cuts off the rest of the line, inclusive the
crlf. makes sense for comments and better layout when the
following comments must be in the same line, means
no linebreak between them.
> \setlength{\rightmargin}{\leftmargin}% symmetric
> \setlength{\partopsep}{0cm}
> \item[]}
> #1
at this point the parameter #1 is inserted
Herbert
--
http://www.educat.hu-berlin.de/~voss/lyx/