[pmwiki-users] caption + float markup

Tegan Dowling tmdowling at gmail.com
Tue Apr 29 19:46:51 CDT 2008


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 mailing list