summaryrefslogtreecommitdiffstats
path: root/Documentation/translations/conf.py
blob: 92cdbba7422997fe8962b8ee3fc1b528f01c21d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# -*- coding: utf-8 -*-
# SPDX-License-Identifier: GPL-2.0

# -- Additinal options for LaTeX output ----------------------------------
# font config for ascii-art alignment

latex_elements['preamble']  += '''
    \\IfFontExistsTF{Noto Sans CJK SC}{
	% For CJK ascii-art alignment
	\\setmonofont{Noto Sans Mono CJK SC}[AutoFakeSlant]
    }{}
'''