I tried several things but without luck.
The best shot was like this:
Code: Select all
\makeatletter
\@ifundefined{comment}{}{%
\renewenvironment{comment}[1]%
{\begingroup\marginpar{\bgroup#1\egroup}}%
{\endgroup}}
\makeatother
Code: Select all
\@ifundefined{comment}{}{%
\renewenvironment{comment}%
{\marginpar{}%
{}}%
I searched a lot trying to find how to solve this but without luck. I found the explanation of what is happening here: http://theoval.cmp.uea.ac.uk/~nlct/late ... fonts.html
What I don't know and wasn't able to find is how to group the text.Unexpected Output
Only one character is in the new font
You thought you changed font over a selection of text, but only the first character has come out in the new font.
You have most probably used a command instead of a declaration. The command should take the text as its argument. If you don't group the text, only the first character will be passed as the argument.
Hope someone could help me

Many thanks.
Best Regards,
Diego
(diegostex)