A convenience class to create an :class:`Hlist` whose contents are centered within its enclosing box.
| 1911 | Glue.__init__(self, 'ss') |
| 1912 | |
| 1913 | class HCentered(Hlist): |
| 1914 | """ |
| 1915 | A convenience class to create an :class:`Hlist` whose contents are |
| 1916 | centered within its enclosing box. |
| 1917 | """ |
| 1918 | def __init__(self, elements): |
| 1919 | Hlist.__init__(self, [SsGlue()] + elements + [SsGlue()], |
| 1920 | do_kern=False) |
| 1921 | |
| 1922 | class VCentered(Hlist): |
| 1923 | """ |