Subject: Re: [boost] How to center an element in Boost QuickBook?
From: Paul A. Bristow (pbristow_at_[hidden])
Date: 2013-08-08 04:56:08
> -----Original Message-----
> From: Boost [mailto:boost-bounces_at_[hidden]] On Behalf Of Niall Douglas
> Sent: Wednesday, August 07, 2013 4:26 PM
> To: boost_at_[hidden]
> Subject: Re: [boost] How to center an element in Boost QuickBook?
> > > The DocBook documentation suggests one can do a '''<entry
> > > align="center">'''__tick__'''</entry>''' (the triple single ticks
> > > escape from QuickBook into BoostBook). However unfortunately
> > > BoostBook defines CSS which overrides the per-cell alignment :(
> > How about trying <colspec align="center"> instead?
> > If I understand the documentation right, you should put that in the
> > table heading.
> I actually stumbled across an answer to this quite by accident, and at the same time I solved how
> coloured text in Boost Quickbook.
> The key here is the [role styleclass text] modifier: this just happens to spit out <span
> class="styleclass">text</span>. By adding suitable extra CSS to the main CSS file, one can make
> text, or in my case, turn a span into a display:inline-block; and therefore can do
> I hope this is useful to someone someday. If [role] will continue to always do this, and it's not
> accident, it might be worth adding to the Quickbook FAQ. That said, a proper formally specified
> typesetting mechanism would be a lot better again.
Whoops of delight!
Please can we have this in Quickbook asap.
Please can you provide the extra CSS and the cross and tick templates - commonly useful to go in the
--- Paul A. Bristow, Prizet Farmhouse, Kendal LA8 8AB UK +44 1539 561830 07714330204 pbristow_at_[hidden]
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk