如何让双折叠产生的sphinx PDF文本类似于HTML的输出(带有框架的红色文本)?
在我的重组文本文档中,使用双折叠的文本周围的双折,这会导致HTML输出以红色显示文本,并带有周围的框架。我想让我的latexpdf输出看起来相同。 PDF以黑色单声字体显示文本,没有框架。至少,我希望文字以红色为红色。
我的.tx文件显示它使用\ sphinxcode {\ sphinxupquote {我的text}}。我需要以某种方式覆盖sphinxupquote还是其他方法?
Using double-backticks around a block of text in my restructuredtext sphinx document causes the HTML output to display the text in red with a frame around it. I would like to have my latexpdf output look the same. The pdf shows the text in a mono font in black and with no frame. At a minimum, I would like the text to be in a red color.
My .tx file shows that it uses \sphinxcode{\sphinxupquote{my text}}. Do I need to somehow override sphinxupquote or is there another way?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论