-
DescriptionI'm writing Chinese pdf document and I want Chinese and its signs to be FangSong font, while Times New Roman for English and signs. But I found that double quotes are Times New Roman after rendering. I enabled the keep-tex and found that the quotes in .tex file had become `` ''. I wonder if there is any way to solve this problem. Here is main part of my font matter ---
title: xxx
subtitle: xxx
author: xxx
fig-align: center
fig-cap-location: bottom
tbl-cap-location: top
reference-section-title: 参考文献
highlight-style: github
bibliography: citation.bib
link-citations: true
csl: apa.csl
toc: true
toc-depth: 2
toc-title: 目录
crossref:
chapters: true
fig-title: 图
fig-prefix: 图
tbl-title: 表
tbl-prefix: 表
eq-title: 等式
eq-prefix: 等式
abstract: xxx
keywords: xx
format:
pdf:
documentclass: article
number-sections: true
number-depth: 3
fig-align: center
mainfont: Times New Roman
CJKmainfont: FangSong
keep-tex: true
include-in-header:
text: |
\usepackage{ctex}
\usepackage{amsthm,mathrsfs}
\usepackage{xeCJK}
\usepackage{geometry}
\usepackage{fontspec}
\geometry{a4paper}
\geometry{margin=1in}
\usepackage{indentfirst}
\setlength{\parindent}{2em}
\renewcommand{\baselinestretch}{1.0}
\usepackage[fontsize=12pt]{fontsize}
--- |
Beta Was this translation helpful? Give feedback.
Answered by
mcanouil
May 12, 2024
Replies: 1 comment 2 replies
-
That's a LaTeX feature (called ligature) unrelated to Quarto. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You could disable the use of ligature by Pandoc:
But I am not sure it would work wiht
format: pdf-smart
.