如何摆脱“版本1”在Sphinx乳胶输出的页眉中? [英] How do I get rid of the "Release 1" in the Page Header of the Sphinx Latex Output?

查看:157
本文介绍了如何摆脱“版本1”在Sphinx乳胶输出的页眉中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Sphinx的手动文档类,我非常高兴Latex输出如何,除了页眉。它包含我的论文的标题,以及一个版本1。

I'm using the "manual" document class of Sphinx and I'm quite happy with how the Latex Output looks like, except for the page header. It contains the title of my paper, as well as a "Release 1".

由于我正在撰写论文而不是文档,所以我显然不需要发布信息。不幸的是,很难找到有关如何自定义Sphinx乳胶产品的信息。

Since I'm writing a paper and not a documentation, I clearly don't need the release information. Unfortunately, it is very hard to find information on how to customize Sphinx latex output.

有人知道如何做吗?

推荐答案

要抑制乳胶输出顶部的发布信息,您需要设置发行 latex_elements ['releasesename'] conf.py 中的空字符串清空。因此,您可以在 conf.py 中添加或修改这样的内容:

To suppress the release info at the top of your Latex output, you need to set the release and latex_elements['releasename'] to empty strings in your conf.py. So you might add or modify something like this in conf.py:

release = ''
latex_elements = { 'releasename': '' }

然后释放信息将被隐藏。

Then the release info will be hidden.

这篇关于如何摆脱“版本1”在Sphinx乳胶输出的页眉中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆