From ec5800cfcf471ec6556f2bf56b76af25faf7f2e6 Mon Sep 17 00:00:00 2001 From: zihang Date: Wed, 27 Nov 2024 10:56:16 +0800 Subject: [PATCH] fix(next): space around chinese char in code --- next/conf.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/next/conf.py b/next/conf.py index f19ff815..fa09a694 100644 --- a/next/conf.py +++ b/next/conf.py @@ -33,9 +33,8 @@ # https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-latex-output latex_engine = 'xelatex' latex_elements = { - 'preamble': r''' - \usepackage{xeCJK} - ''', + 'preamble': r"\usepackage{xeCJK}", + 'fvset': "\\fvset{formatcom={\\CJKsetecglue{}}}" } # -- Options for myst_parser -------------------------------------------------