Pierre Marc Dumuid wrote:
> your solution, didn't seem to work. When I export to latex, I get the
> message:
>
> ..
> Runaway argument?
> {\myMargin {{\raggedright \scriptsize ##1}} \usepackage {babel}
> \makeatother \E
> TC.
> ! File ended while scanning use of \@argdef.
> <inserted text>
> \par
> > \let\myMargin\marginpar
> > \renewcommand{\marginpar}[1]{\myMargin{{\raggedright\scriptsize #1}}
a missing parenthesis
anyway, I had a closer look into the code of marginpar
and it only works with this command:
\newcommand\myMargin[1]{\marginpar{\raggedright\scriptsize #1}}
and in your text in tex (red) \myMargin{blah blah}
Herbert
--
http://www.lyx.org/help/