隐藏突出显示错误

隐藏突出显示错误

我不知道为什么以下 MWE 会出现错误。如果您能提供帮助,我将不胜感激。

\documentclass{article}

\usepackage{color,soul}

\begin{document}

\hl{used the Monte Carlo simulation to explore different staffing policies and minimize infections among SMs on non–COVID-19 wards. They reported that longer nursing shifts and less co-rotation of SMs (no more frequently than every three days) may lead to fewer infections.} 

\end{document}

答案1

您的文本包含非 ASCII 破折号,原始灵魂包无法应对使用soulutf8

\documentclass{article}

\usepackage{color,soulutf8}

\begin{document}

\hl{used the Monte Carlo simulation to explore different staffing policies
    and minimize infections among SMs on non–COVID-19 wards. They reported 
    that longer nursing shifts and less co-rotation of SMs (no more frequently
    than every three days) may lead to fewer infections.} 
\end{document}

话虽如此,但使用连字符-而不是短破折号更为传统non,那么这里真的是用这个破折号吗?

相关内容