Justin Wood <Justin.Wood <at> murdoch.edu.au> writes: > > 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\ <at> ifundefined{fs <at> boxed}{}% do nothing if not in use{% \usepackage{framed} \newcommand\floatc <at> simplerule[2]{\flushleft{\ <at> fs <at> cfont #1 #2}} \renewcommand\fs <at> boxed{% \def\ <at> fs <at> cfont{\bfseries}\let\ <at> fs <at> capt\floatc <at> simplerule \def\ <at> fs <at> pre{\begin{framedpar}}% \def\ <at> fs <at> post{\end{framedpar}}% \def\ <at> fs <at> mid{\kern8pt}% \let\ <at> fs <at> 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 > > On 16 September 2010 16:19, Justin Wood <Justin.Wood <at> murdoch.edu.au> wrote:2. separate paragraphs with blank line the same as LyX does for normal text; add blank line after Box caption too. > > > >
Dear Jürgen and others, Thanks a lot for the boxfloat, it is exactly what I needed. Now I however want to have a figure float within the boxfloat. If I however try to do this, I get the error: LaTeX error: No counter 'subboxfloat' defined. How can I make sure he understand sub-boxes/sub-figures inside a boxfloat? Thanks a lot in advance! best, Frank