.. _sphx_glr_auto_themes_theme_hipsterchic.py: HipsterChic =========== Redefine the maketitle function in the theme with a background color and center the title of slides. .. rst-class:: sphx-glr-horizontal * .. image:: /auto_themes/images/sphx_glr_theme_hipsterchic_001.png :scale: 47 * .. image:: /auto_themes/images/sphx_glr_theme_hipsterchic_002.png :scale: 47 .. code-block:: python from beampy import * doc = document(theme="HipsterChic", quiet=True) with slide(): maketitle('Beampy theme ``HypsterChic"', author='Single Author', subtitle='A very very very very very long subtitle on the right') display_matplotlib(gcs()) with slide('Slide title are centered'): pass display_matplotlib(gcs()) .. only :: html .. container:: sphx-glr-footer .. container:: sphx-glr-download :download:`Download Python source code: theme_hipsterchic.py ` .. container:: sphx-glr-download :download:`Download Jupyter notebook: theme_hipsterchic.ipynb ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_