On Tue, 12 Dec 2006, Stefano Franchi wrote:
On 12 Dec, 2006, at 4:51 AM, Georg Baum wrote:
\renewenvironment{comment}{\begingroup\small}{\endgroup}
If your example below works like a charm, maybe you could add it as a tip
to the wiki? Here's a suggestion for the name of the page
http://wiki.lyx.org/Tips/ExportWithCommentsIncluded
Or you might place in the FAQ group, e.g. creating the page
http://wiki.lyx.org/Tips/ExportWithCommentsIncluded
I don't know what this is about, but I'm guessing you can almost just
paste the following into the wiki page:
------------------------------------------------------------------
Or use this bit of code (in the preamble) to have them boxed on a gray
background. Not my code, btw. I picked it up somewhere on a LaTeX sit and
now forget where. Tested extensively. Works like a charm but it complains
if you do not have any comment environment in your file.
Code to paste into the preamble
-> [@
\RequirePackage{colortbl, tabularx}
\renewenvironment{comment}
{% replaces \begin{comment}
\noindent
\tabularx{\textwidth}{|>{\columncolor[gray]{0.9}}X|}
\hline
\emph{\textbf{Comment:}}
}
{% replaces \end{comment}
\endtabularx\hrule
}
%
@]
------------------------------------------------------------------
What's missing is a description of the problem :-/
/Christian
--
Christian Ridderström, +46-8-768 39 44 http://www.md.kth.se/~chr