Search found 2 matches

by diegostex
Sun Feb 14, 2010 4:27 am
Forum: LyX
Topic: Convert "Comment" into "Marginal Note"
Replies: 1
Views: 1519

Convert "Comment" into "Marginal Note"

Hi, if any one is interested in how to do it here is the answer:

http://stackoverflow.com/questions/2258669/latex-convert-comment-into-marginal-note

The user godbyk not only solved my problem but also gives a detailed explanation of whats going on and teach you a new trick (at least for me ...
by diegostex
Sat Feb 13, 2010 8:38 pm
Forum: LyX
Topic: Convert "Comment" into "Marginal Note"
Replies: 1
Views: 1519

Convert "Comment" into "Marginal Note"

Hi, using LyX I'm trying to convert the "comments" into "marginal notes".

I tried several things but without luck.

The best shot was like this:

\makeatletter
\@ifundefined{comment}{}{%
\renewenvironment{comment}[1]%
{\begingroup\marginpar{\bgroup#1\egroup}}%
{\endgroup}}
\makeatother

or like ...