This should ease distinguishing inline code snippets from default text
and is also more similar to what the sphinx html outputs look like.

Signed-off-by: Enrico Jorns <[email protected]>
---
 doc/preamble.inc | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/doc/preamble.inc b/doc/preamble.inc
index d9e528ef4..3131987af 100644
--- a/doc/preamble.inc
+++ b/doc/preamble.inc
@@ -82,6 +82,9 @@
 \definecolor{VerbatimColor}{gray}{0.95}
 \definecolor{VerbatimBorderColor}{gray}{0.75}
 
+% override default sphinxcode to display gray-colored box
+\protected\def\sphinxcode#1{\fcolorbox[gray]{1}{0.9}{\texttt{#1}}}
+
 \makeatother
 
 % vim:syntax=tex
-- 
2.28.0


_______________________________________________
ptxdist mailing list
[email protected]
To unsubscribe, send a mail with subject "unsubscribe" to 
[email protected]

Reply via email to