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

无法使用emph和textit设置文字为斜体 #7

Open
Fengyuan-Shi opened this issue Jun 24, 2024 · 0 comments
Open

无法使用emph和textit设置文字为斜体 #7

Fengyuan-Shi opened this issue Jun 24, 2024 · 0 comments

Comments

@Fengyuan-Shi
Copy link

我希望设置参考文献列表中西文会议与期刊名字是斜体,但是无法成功,最后发现在正文中使用\emph{a}与\textit{a}也无法将文字设置为斜体。

\begin{document}后一行使用\emph{aaaaaaaaaaaaaa}\textit{aaaaaaaaaaaaaa}使用xelatex编译依然不是斜体。将Style->neuthesis.cls第137行的\RequirePackage{ulem}注释掉,在Thesis.tex中\documentclass[figuresright,printcopy,fontset=windows]{Style/neuthesis}下一行添加\usepackage[normalem]{ulem},然后使用xelatex编译依然无法编译出斜体。注释掉Thesis.tex中的\usepackage{Style/artracom}\usepackage[biblatex,myhdr,table,list,geometry,math, enumerate,amsthm,amssymb]{Style/artratex}后使用xelatex编译能够成功输出斜体文字。同时,取消\usepackage{Style/artracom}\usepackage[biblatex,myhdr,table,list,geometry,math, enumerate,amsthm,amssymb]{Style/artratex}的注释后使用LaTeX编译能够编译出斜体正文。

查到了2017年在latex3的issue中有相关现象的描述https://github.com/latex3/fontspec/issues/254,作者说已经更新了CTAN,同时提供的手动修复方案需要在fontspec-(xetex|luatex).sty中添加一段命令,我没有找到这个文件。

在本地Mac与Linux下的TexLive2022与overleaf中都存在上述问题,希望作者能够提供在模板文件中修复或修改本地编译器文件能够绕开这个问题的方案

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