Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lualatex+beamer中思源字体破折号问题 #649

Open
Firestar-Reimu opened this issue Jan 2, 2023 · 0 comments
Open

lualatex+beamer中思源字体破折号问题 #649

Firestar-Reimu opened this issue Jan 2, 2023 · 0 comments

Comments

@Firestar-Reimu
Copy link

用lualatex编译以下文件:

\documentclass[10pt]{beamer}

\usepackage{fontspec}

\usepackage[fontset=none]{ctex}
\setCJKmainfont{SimSun}[BoldFont=Noto Sans CJK SC Medium,ItalicFont=KaiTi]
\setCJKsansfont{SimSun}[BoldFont=Noto Sans CJK SC Medium,ItalicFont=KaiTi]

\title{\textbf{A——A}}
\author{}
\date{}

\begin{document}

\begin{frame}[plain]
    \maketitle
\end{frame}

\end{document}

这会展示出:

Screenshot_20230102_121119

如果把黑体换成 SimHei,则不会出现这样的问题:

Screenshot_20230102_121223

用xelatex编译原文件也不会有破折号问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant