diff --git a/config.ini b/config.ini index eb2e0c179..fcf457091 100644 --- a/config.ini +++ b/config.ini @@ -64,6 +64,20 @@ sphinx_configs = numfig_format = {'figure': '图%%s', 'table': '表%%s', 'code-b \makeatother \CJKsetecglue{} \usepackage{zhnumber} + + \definecolor{d2lbookOutputCellBackgroundColor}{RGB}{255,255,255} + \definecolor{d2lbookOutputCellBorderColor}{rgb}{.85,.85,.85} + \def\diilbookstyleoutputcell + {\sphinxcolorlet{VerbatimColor}{d2lbookOutputCellBackgroundColor}% + \sphinxcolorlet{VerbatimBorderColor}{d2lbookOutputCellBorderColor}% + \sphinxsetup{verbatimwithframe,verbatimborder=0.5pt}% + }% + % + \definecolor{d2lbookInputCellBackgroundColor}{rgb}{.95,.95,.95} + \def\diilbookstyleinputcell + {\sphinxcolorlet{VerbatimColor}{d2lbookInputCellBackgroundColor}% + \sphinxsetup{verbatimwithframe=false,verbatimborder=0pt}% + }% ''', # The font size ('10pt', '11pt' or '12pt'). 'pointsize': '10pt',