How do I disable colors in LaTeX output generated from sphinx?

后端 未结 1 1908
慢半拍i
慢半拍i 2021-02-13 06:53

When I build the LaTeX file generated from sphinx, the TOC entries, and section headers are blue. Is there an easy way to disable coloring these items? If not, is there an eas

相关标签:
1条回答
  • 2021-02-13 07:18

    You can add LaTeX by using the latex_elements['preamble'] configuration option. If you change the value of that key, you can override Sphinx's normal LaTeX. The docs on this option aren't particularly illuminating, however. You may find this thread from sphinx-dev a bit more helpful; it has more detail on how that might be used, as well as some good links for learning about LaTex (if that's something you need to get black and white output). Finally, it might help to take a look at the default .cls and .sty files.

    0 讨论(0)
提交回复
热议问题