Jürgen Spitzmüller wrote:
> Yes. UI-wise, I have implemented it as a single type of box with "simple
> rectangular frame". The dialog contains a checkbox "Allow page breaks"
> which triggers the necessary switches. The user doesn't have to bother
> about using framed.sty or not. This is definitely clearer than the
> Notes/Boxes situation.

BTW, it would also be possible to implement the page break option for the 
other frame types. The following definitions do that (courtesy of Herbert 
[1]):

------------------------------------------------------------------------------

\usepackage{fancybox,framed}

\makeatletter
\newenvironment{shadowboxed}{%
  \def\FrameCommand{\shadowbox}%
  [EMAIL PROTECTED]
}{%
  [EMAIL PROTECTED]
}
\makeatother

\makeatletter
\newenvironment{ovalboxed}{%
  \def\FrameCommand{\ovalbox}%
  [EMAIL PROTECTED]
}{%
  [EMAIL PROTECTED]
}
\makeatother

\makeatletter
\newenvironment{Ovalboxed}{%
  \def\FrameCommand{\Ovalbox}%
  [EMAIL PROTECTED]
}{%
  [EMAIL PROTECTED]
}
\makeatother

\makeatletter
\newenvironment{doubleboxed}{%
  \def\FrameCommand{\doublebox}%
  [EMAIL PROTECTED]
}{%
  [EMAIL PROTECTED]
}
\makeatother

-------------------------------------------------------

It would be not too hard to implement this, but unfortunately I don't have 
time.

Other potential improvements for InsetBox would be: make the background color 
configurable on a per-inset-basis (redefine shadecolor before the inset 
within a \bgroup ... \egroup pair).

Jürgen

[1] http://www.tug.org/TeXnik/mainFAQ.cgi?file=layouts/BoxFrame

Reply via email to