But I don't see how to include a picture: The code, >>rframe width:150px<< %width=200px% Attach:picture.jpg%% This is a floating frame of fixed width >><<
doesn't put the picture in the frame. It isn't resized to 200px. But it is in the (|div ... version I wrote before. James 2008/5/1 Henrik Bechmann <[EMAIL PROTECTED]>: > > 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 <[EMAIL PROTECTED]>: > > > On Tue, Apr 29, 2008 at 5:16 PM, James Montaldi <[EMAIL PROTECTED]> > 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 > [email protected] > http://www.pmichaud.com/mailman/listinfo/pmwiki-users > > > > -- > > Henrik Bechmann > www.bechmann.ca > Webmaster, www.dufferinpark.ca > ________________________________ > > > _______________________________________________ > pmwiki-users mailing list > [email protected] > http://www.pmichaud.com/mailman/listinfo/pmwiki-users > > > > -- > > Henrik Bechmann > www.bechmann.ca > Webmaster, www.dufferinpark.ca > _______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users
