重组文本中的不同字体大小 [英] Different font size in restructuredtext

查看:56
本文介绍了重组文本中的不同字体大小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在所有类型的列表上都有更大的字体.

I have bigger fonts on all type of lists.

我应该怎么做才能使列表中的字体大小与普通段落中的字体大小保持一致?

What should I do to keep the same font size in lists as in my normal paragraphs?

现在我明白了

Plain text  Typical result (in normal font size)

Bullet lists (in normal font size):

- This is item 1 (in bigger font size)
- This is item 2 (in bigger font size)

推荐答案

Sphinx 生成的内容取决于您使用的主题.主题 sphinxdoc 在项目符号列表和普通文本中生成相同的字体大小.Spinx 在文档基本文件夹中的 conf.py 中定义主题.在那里搜索html_theme".

What Sphinx generates depends on the theme you use. The theme sphinxdoc generates the same font size in bullet lists and in normal text. Spinx defines the theme in conf.py in the base folder of the documentation. Search there for "html_theme".

有关主题和 Sphinx 的更多信息此处

More information about themes and Sphinx here

这篇关于重组文本中的不同字体大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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