使用 Luatex 进行微排版

使用 Luatex 进行微排版

因为我想与 Latex 一起使用Opentype,所以我必须使用它Luatex,结果现在缺少一些功能Microtype(间距、字距调整)。(我尝试转换我的 openfonts 但失败了)

这是一个示例文本,以及我不喜欢它的地方:

因为我使用了特殊字体,所以 pdf 比图片更好: http://de.scribd.com/doc/228281466/Minimal-Example

单词之间的间距看起来就是不正确,例如比较第 2 行和第 3 行;特别是第 2 行中“of visual obpulsion”之间的间距和第 3 行中“or at the margins of”之间的间距。

有什么提示吗?也许使用luaotfload会有帮助?基本上,我正在寻找增强文本外观的方法,我愿意接受所有建议和提示。

示例代码:

\documentclass[oneside,paper=A4,DIV=9,smallheadings,12pt,]{scrbook}  
\usepackage[T1]{fontenc}
\usepackage{fontspec}    
\setmainfont[
Ligatures=TeX,
Renderer=Basic,
Path=/Library/Fonts/,
Extension=.otf,
]{RotisSerifStd}
\newfontfamily\secfont{RotisSansSerifStd-ExtraBold}
\setkomafont{sectioning}{\secfont} 
\usepackage[english]{babel}
\usepackage[activate={true,nocompatibility},final,tracking=true]{microtype}
\usepackage{setspace}
\setstretch{1.18}
\begin{document}
\chapter{Micro-typography with Tex}

        Micro-typography is the art of enhancing the appearance and readability of a
        document while exhibiting a minimum degree of visual obtrusion. It is concerned
        with what happens between or at the margins of characters, words or lines. Whereas
        the macro-typographical aspects of a document (i.e., its layout) are clearly visible
        even to the untrained eye, micro-typographical refinements should ideally not even
        be recognisable. That is, you may think that a document looks beautiful, but you
        might not be able to tell exactly why: good micro-typographic practice tries to
        reduce all potential irritations that might disturb a reader.

        Some essential micro-typographical aspects are already taken care of by TEX out
        of the box – and in an outstanding manner – namely, hyphenation and justification,
        as well as kerning and ligatures. Other aspects are in the user’s scope of responsi-
        bilities, e.g., to specify the right amounts of spacing around punctuation characters,
        numbers, or quotation marks. On top of this, a number of long-standing micro-
        typographic techniques have been introduced to the TEX world relatively recently
        with pdfTEX, and have since also propagated to LuaTEX and   XTEX. These features
        make them the tool of choice not only for the creation of electronic documents
        but also of works of outstanding time-honoured typography: most prominently,
        character protrusion (also known as margin kerning) and font expansion. Quoting  ́
        Hàn Thê Thành, the author of pdfTEX, who writes in his thesis:
 \end{document}

为了便于参考,可以将示例文本与微类型文档进行比较。

编辑:可能的改进:

  • \usepackage[activate={true,nocompatibility},final,tracking=alltext,letterspace=-10]{microtype}

虽然这会使标题奇怪地改变,并关闭突出部分:

具有跟踪和字母空间的微打字机

  • \usepackage[activate={true,nocompatibility},final,stretch=80]{microtype}

微型拉伸=80

欢迎提出想法和意见!

这是一个很好的例子,但字体、行距和宏排版都不同:

在此处输入图片描述

答案1

删除该行\usepackage[T1]{fontenc},它仅对标准有效pdflatex

在此处输入图片描述

相关内容