Enrico Forestieri wrote:
On Fri, Apr 25, 2008 at 05:08:51PM +0200, Abdelrazak Younes wrote:

Still, even if technically possible that would mean that we would need to
also define other layouts such for contcaptionabove, etc, wouldn't we?

Nope. This would be the job of the layout file, once the caption
inset is customizable as already said. So, if your class has a
contcaptionabove, you will add to the layout file

InsetLayout Caption:ContCaptionAbove
  CopyInsetStyle        Caption:ContCaption
  LatexName             contcaptionabove
end

If your class has not contcaptionabove, and you have code for it, and
you know that it will not clash with your class, then you will add

InsetLayout Caption:ContCaptionAbove
  CopyInsetStyle        Caption:ContCaption
  LatexName             contcaptionabove
  Preamble
  <proper latex code here>
  EndPreamble
end
Yes, that's exactly what I meant by "we would need to also define other layouts" except that I really meant "InsetLayout" of course ;-)

Abdel.



Reply via email to