论文标题

为什么有人要使用颜色?或者,语法突出显示超出代码片段

Why Should Anyone use Colours? or, Syntax Highlighting Beyond Code Snippets

论文作者

Patrignani, Marco

论文摘要

语法以颜色和字体多样化的形式突出显示,是为著作提供清晰,简洁和正确性的绝佳工具。不幸的是,这种做法并未被广泛采用,这通常会导致纸质论文。这种缺乏收养的原因是,研究人员经常难以接受新技术,堆积令人信服的动机。本文反对这种动机,并证明了语法强调的使用是合理的,因此它可以成为传播更清晰,更可理解的研究的新标准。此外,本文报道了基于在乳胶中使用语法突出显示的缺点的批评,并建议对此进行补救。我们认为,本文可以用作使用语法突出显示的指南,并参考反对反对它的令人信服的动机。

Syntax highlighting in the form of colours and font diversification, is an excellent tool to provide clarity, concision and correctness to writings. Unfortunately, this practice is not widely adopted, which results in often hard-to-parse papers. The reasons for this lack of adoption is that researchers often struggle to embrace new technologies, piling up unconvincing motivations. This paper argues against such motivations and justifies the usage of syntax highlighting so that it can become a new standard for dissemination of clearer and more understandable research. Moreover, this paper reports on the criticism grounded on the shortcomings of using syntax highlighting in LATEX and suggests remedies to that. We believe this paper can be used as a guide to using syntax highlighting as well as a reference to counter unconvincing motivations against it.

扫码加入交流群

加入微信交流群

微信交流群二维码

扫码加入学术交流群,获取更多资源