Jürgen,(all,)
Nothing I try will make the content of this custom boxfloat *honour
paragraph spacing*. For example, this hack (based on your original
code) doesn't
work, but if I use ERT to create a *framedpar* explicitly, it works fine.
The only difference my novice eyes can see is the fact that boxfloat is of
course a *float*, wrapped in the {float} package which is used to define the
custom boxfloat type with a LyX module.
\newenvironment{framedpar}
{\begin{framed}%
\setlength{\parskip}{20pt}% big number to test
% \setlength{\parsep}{10pt}
}%
{\end{framed}
}% end framedpar
% Jurgen's Box Float mods
\...@ifundefined{fs@boxed}{}% do nothing if not in use
{%
\usepackage{framed}
\newcommand\flo...@simplerule[2]{\flushleft{\@f...@cfont #1 #2}}
\renewcommand...@boxed{%
\d...@fs@cfont{\bfseries}\l...@fs@capt\flo...@simplerule
\d...@fs@pre{\begin{*framedpar*}}%
\d...@fs@post{\end{*framedpar*}}%
\d...@fs@mid{\kern8pt}%
\l...@fs@iftopcapt\iftrue}
}%
I'm now thinking there's something in the {float} module that prevents it?
Is this something you've come across before?
Thanks so much for your help (and patience!).
~:Justin Wood:~
PhD candidate, *Energy & Engineering school*, Murdoch
University<http://www.murdoch.edu.au/>
On 16 September 2010 16:19, Justin Wood <[email protected]> wrote:
> 2. separate paragraphs with blank line the same as LyX does for normal
> text; add blank line after Box caption too.