[pmwiki-users] caption + float markup
Henrik Bechmann
henrik.bechmann at sympatico.ca
Thu May 1 07:45:47 CDT 2008
Oops, I think that should be
Same as
(:div class="frame rfloat" style="width:200px":)
This is a floating frame of fixed width
(:divend:)
Henrik Bechmann wrote:
> Try
>
> >>rframe width:200px<<
>
> This is a floating frame of fixed width
>
> >><<
>
> Same as
>
> (:div class=rframe style="width:200px":)
>
> This is a floating frame of fixed width
>
> (:divend:)
>
>
> - Henrik
>
> James Montaldi wrote:
>> 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
>> is doing?)
>>
>> Any comments? Am I missing something?
>>
>> James
>>
>>
>>
>> 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)
>>>
>>>
>>
>> _______________________________________________
>> pmwiki-users mailing list
>> pmwiki-users at pmichaud.com
>> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>>
>>
>
> --
>
> Henrik Bechmann
> www.bechmann.ca
> Webmaster, www.dufferinpark.ca
> ------------------------------------------------------------------------
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>
--
Henrik Bechmann
www.bechmann.ca
Webmaster, www.dufferinpark.ca
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20080501/617d7b1b/attachment-0001.html
More information about the pmwiki-users
mailing list