我使用 LaTeX、TeX Studio 和 LuaLaTex。昨天,文档编译得很好。虽然我没有更改任何一行代码,但 \textit 在文档环境中不再起作用 - 无论是单独使用还是作为自定义命令的一部分。但它在标题中确实有效。你能帮助我吗?
\documentclass[12pt,a4paper,english]{scrartcl}
\usepackage{babel,ulem,libertine}
\usepackage{setspace}
\usepackage[firstinits]{biblatex-chicago}
\addbibresource{Bibliographie-Trimalchio-Lucan.bib}
\title{Outside/In: Pompey outside of Lucan's \textit{Bellum Civile} and Trimalchio in the \textit{Satyricon}}
\author{Patrick Kappacher}
\date{April 14, 2017}
\newcommand{\BC}{\textit{Bellum Civile}}
\newcommand{\Luc}{Lucan}
\newcommand{\Petr}{Petronius}
\newcommand{\Sat}{\textit{Satyricon}}
\newcommand{\HO}{handout}
\newcommand{\CT}{\textit{Cena Trimalchionis}}
\newcommand{\C}{\textit{Cena}}
\newcommand{\lib}{\textit{libertas}}
\newcommand{\umb}{\textit{umbra}}
\newcommand{\umbs}{\textit{umbrae}}
\newcommand{\nom}{\textit{nomen}}
\begin{document}
\maketitle
\nocite{*}
{\doublespacing
\BC~should be in Italics, but it isn't. \textit{Neither is this}.
\emph{Does not work either.}
}
\pagebreak
\printbibliography
\end{document}
答案1
文件 LinLibertine_RI.otf 在最近的 libertine 更新中已损坏。已将更正的软件包上传至 CTAN。