MDPI 默认模板突出显示

MDPI 默认模板突出显示

大家好,我正在使用 MDPI 的模板进行提交背面他们的网站在这里我正在使用 soul 包突出显示更改,但\hl{}每次我在抽象上执行此操作时,Overleaf 似乎都会在编译时冻结,我得不到答案。日志文件抱怨如下内容:

Use of \SOUL@n doesn't match its definition.

我认为这与模板将摘要定义为宏有关,但我不确定。使用某种形式的突出显示文本(不使用)会很有帮助\hl{}mbox由于换行,这是一个问题,\textcolor{}可以工作,但效果不一样。

\hl{}这里包含的类和模板文件很大,但如果你添加文本的某些部分,生成错误的部分位于第 106 行。像这样:

...

\abstract{A single paragraph \hl{of about 200 words maximum. 
For research articles, abstracts should give a pertinent overview of the 
work. We strongly encourage authors} to use the following style of 
structured abstracts, but without headings: (1) Background: place the 
question addressed in a broad context and highlight the purpose of the 
study; (2) Methods: describe briefly the main methods or treatments 
applied; (3) Results: summarize the article's main findings; (4) 
Conclusion: indicate the main conclusions or interpretations. The abstract 
should be an objective representation of the article, it must not contain 
results which are not presented and substantiated in the main text and 
should not exaggerate the main conclusions.}

...

答案1

Andrey L. 的建议\usepackage{siunitx}也解决了这里的问题。\hl{}在 mdpi 模板的抽象部分工作得很好。

相关内容