>>>>> "Allan" == Allan Rae <[EMAIL PROTECTED]> writes:
Allan> On Wed, 3 Apr 2002, Bas Spitters wrote:
>> For an environment I would use:
>> \newenvironment{myremark}{\begin{remark}}{\qed\end{remark}}
Allan> [...]
>> Second, I want lyx to use myremark instead of remark, when I select
>> remark in lyx What should I do to make lyx do this?
Allan> Make a copy of the layout file you are using (eg.
Allan> report.layout) in your ~/.lyx/layouts/ directory and edit that
Allan> to modify the remark environment.
Allan> You'll probably just end up writing something like the below
Allan> since you just need to alter part of an existing definition
Allan> that is included from some other file:
Allan> Style Remark Preamble
Allan> \newenvironment{myremark}{\begin{remark}}{\qed\end{remark}}
Allan> EndPreamble LaTeXName myremark End
And, most importantly, add the following :)
EndLabelType Box
This will give you the nice box on screen.
JMarc