Boost logo

Boost :

Subject: Re: [boost] How to center an element in Boost QuickBook?
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2013-07-31 13:14:24


On 31/07/13 17:35, Niall Douglas wrote:
> As the documentation for proposed Boost.AFIO comes together for this week's
> GSoC Milestone 1 (feel free to check it out at
> https://ci.nedprod.com/job/Boost.AFIO%20Build%20Documentation/Boost.AFIO_Doc
> umentation/?), a problem has emerged. We'd like a matrix table containing
> ticks and crosses, and building such a thing in QuickBook is easy.
>
> However, we'd also like to center the ticks and crosses in each table cell,
> otherwise it looks poor. Is there some way I haven't realized of aligning
> content in Boost QuickBook, or even BoostBook itself?
>
> 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.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk