[pmwiki-users] caption + float markup
j.montaldi at gmail.com
Thu May 1 02:33:37 CDT 2008
Thanks - I guess that works. I never find it very satisfactory to put
in line-breaks manually in order to fit layout though.
Looking again at the markup pages on PmWiki, it seems that the only
way to produce a block of text of a given width is to use (:div attr:)
markup. However, when I tried
%lframe width=200px%A long sentence that doesn't fit in 200px but
would need to linewrap%%
I did indeed get a nice 200px-wide box with the text inside it,
wrapped appropriately. (Works also with lfloat in place of lframe).
But I don't seem able to get both the picture and the text to fit in
the box. (I suppose I need to understand better what the wiki engine
Any comments? Am I missing something?
2008/4/30 Tegan Dowling <tmdowling at gmail.com>:
> On Tue, Apr 29, 2008 at 5:16 PM, James Montaldi <j.montaldi at gmail.com> wrote:
> > Hi all
> > I am trying to figure out the wiki markup required in order to float a
> > figure left, in a frame and with a caption. But the caption is wider
> > than the figure so must be on two lines.
> > I tried something like
> > %lframe width=200px%Attach:Picture.jpg|A long caption that requires
> > more than one line in order to fit under the image%%
> > But that doesn't make the frame 200px wide, only the image. The frame
> > fills out to allow the caption to be a single line.
> Place a manual line-break in the caption?
> %lframe width=200px%Attach:Picture.jpg|A long caption that requires
> more than \\
> one line in order to fit under the image%%
> (N.B., it's critical that the back-slashes not be followed by anything
> other than the line-break; if they're followed by a space, then they
> just function as backslashes, and not as formatting)
More information about the pmwiki-users