Skip to main content

Beamer extension for Sphinx

Project description

This extension to Sphinx adds a Builder for the Beamer LaTeX class.

Installation

The extension is distributed through the Python Package Index and installed with

pip install sphinxcontrib-beamer

Usage

Load the extension in the Sphinx project configuration file conf.py:

extensions = ['sphinxcontrib.beamer']

and build your Beamer LaTeX output using the new builder:

sphinx-build -b beamer build/doctrees . build

Configuration

Some variables are configurable in conf.py:

Theming: Change the theme used by Beamer (defaults to Warsaw) with:

beamer_theme = <string>

where beamertheme<string>.sty is a LaTeX style file in the templates_path path specified in conf.py.

Frame breaks: Change if frame breaks are allowed (defaults to True) with:

beamer_allowframebreaks = <True or False>

which sets the allowframebreaks option to all frames. This Beamer feature splits a frame environment into multiple slides if the content extends beyond what can be viewed on one slide.

Custom frame options: Add custom frame options with

Frame Title
-----------
.. frame_options:plain

Frame content.

which will generate a frame environment

\begin{frame}[plain]{Frame Title}

   Frame content.

\end{frame}

plain in the example above can be replaced with any comma-separated string of valid frame options.

This extension is still in its beta stage and has not been thorougly tested. Use it with caution.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sphinxcontrib_beamer-0.0.2.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

sphinxcontrib_beamer-0.0.2-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

Details for the file sphinxcontrib_beamer-0.0.2.tar.gz.

File metadata

  • Download URL: sphinxcontrib_beamer-0.0.2.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.12

File hashes

Hashes for sphinxcontrib_beamer-0.0.2.tar.gz
Algorithm Hash digest
SHA256 edf79b1b5240f9ed17a3923dce0bd39974682afd126248434aab395edad4f643
MD5 339cb708a1b9eebaf6bf8758d1536a1e
BLAKE2b-256 62b4c7be98a844bb311b510420f391d629cac7d570e028b1f4c03eef4f475533

See more details on using hashes here.

File details

Details for the file sphinxcontrib_beamer-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for sphinxcontrib_beamer-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ef26824ea6583a19ac7f8fadbe0952536ea7960cea518e613437f2fce6f2c58a
MD5 459d12e8bd1cf7e49dcc518a2b89783f
BLAKE2b-256 1159bd5fb978e2d582aafe5e669f142b368c8c0fffddd621dd097b4c6f2f14dc

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page