Docutils Stylesheets
- Contact:
- docutils-develop@lists.sourceforge.net
- Revision:
- 9923
- Date:
- 2024-09-10
- Copyright:
- This document has been placed in the public domain.
This is a list of stylesheets, which can be used to customize the look of the documents created by Docutils, contributed by various users and developers.
If you have a stylesheet to contribute, please send it to the Docutils-users mailing list. (If you have write-access to the repository, you can also upload it to the sandbox/stylesheets/ and add it in the list below.)
HTML (CSS) Stylesheets
Please see "Writing HTML (CSS) Stylesheets for Docutils" on how to write your own CSS stylesheet for use with Docutils' HTML writer.
voidspace.css: Blue boxes around section headings, more borders, and somewhat more colorful than the default stylesheet.
transition-stars.css: Example/Template for customising the transition element.
Replaces the horizontal line with three stars as often seen in novels.
pygments-default.css, pygments-long.css: Examples/templates for syntax highlight of code snippets.
LaTeX Style Sheets
See "Generating LaTeX with Docutils" for details on usage and writing of LaTeX style sheets for the Docutils' "latex2e" writer.
Hint: usage is simpler, if you copy (or link) the stye files into a directory in the LaTeX INPUT PATH, e.g., (on a modern TeX installation) /usr/local/share/texmf/tex/latex/ or ~/texmf/tex/latex/ und run texhash.
times-helvetica-courier.sty and palatino-helvetica-courier.sty: Use Standard Postscript fonts with recommended settings.
listings-python-options.sty: Highlight literal blocks as python code. Use with the --literal-block-env=lstlistings option.
listings-tex-options.sty: Highlight literal blocks as (La)TeX code. Use with the --literal-block-env=lstlistings option.
transition-stars.sty: Example/Template for customising the transition element.
Replaces the horizontal line with three stars as often seen in novels.
pygments-default.sty, pygments-long.sty: Examples/templates for syntax highlight of code snippets.
Tools
pygments_css2sty.py: Convert a CSS stylesheet for syntax highlight in a HTML document into one for Docutils' LaTeX output.