[pmwiki-users] improved markup for floating images...?

H. Fox haganfox at gmail.com
Thu Jul 28 19:51:26 CDT 2005


On 7/28/05, Patrick R. Michaud <pmichaud at pobox.com> wrote:
> On Fri, Jul 29, 2005 at 01:16:44AM +0100, Hans wrote:
> > Seeing the Caption in action my first reaction was: can it not be
> > centred?
> 
> It can -- use %rfloat text-align=center% instead of just %rfloat%.
> [...]
> However, as far as I know the publishing standard for captions is
> left-justification.

Based on some Image Gallery experience, I think most authors would
prefer to have short captions be centered and long ones be
left-justified.

> > previous solution: use  a simple table.
> > So I wonder if the syntax can like be this:
> >    image.jpg"alt text" | caption centred to image |
> >    image.jpg"alt text" |caption left aligned to image |
> >    image.jpg"alt text" | caption right aligned to image|
> 
> That's a good idea, but I'm not sure I'm ready to jump quite
> that far yet.  I'm thinking that using simple tables (and the
> simple table syntax) as the model for large-scale justification
> isn't quite the right way to go.

A possible compromise:

   image.jpg"alt text" | caption centered to image
   image.jpg"alt text" |caption left aligned to image

Hagan




More information about the pmwiki-users mailing list