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

\textit, \emph, \em 对英文失效 #11

Open
zaikunzhang opened this issue Feb 25, 2025 · 1 comment
Open

\textit, \emph, \em 对英文失效 #11

zaikunzhang opened this issue Feb 25, 2025 · 1 comment

Comments

@zaikunzhang
Copy link

zaikunzhang commented Feb 25, 2025

程老师:

您好!

目前模板下,\textit, \emph, \em 似乎对英文失效?

例子:

\documentclass[12pt]{article}                                                                 
\usepackage{nsfc}                                                                             
\begin{document}                                                                              
                                                                                                
\textit{English 中文}                                                                         
\emph{English 中文}                                                                           
{\em English 中文}                                                                            
                                                                                                
\end{document}   

结果:grf.pdf

谢谢!

在坤

@chengsshi
Copy link

在\begin{document}前面,加上下面一句,将英文字体都设置为Times New Roman

\setmainfont{Times New Roman}%

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

2 participants