More than a year ago, a friend of mine was totally excited about microtype features in LaTeX. He was talking about it quite a bit and then said to me: "Show me your document, let me add some lines of code and it's gonna be awesome!"
What he added was this:
\usepackage[ protrusion=true,
expansion=true,
final,
babel
]{microtype}
\usepackage{fontspec}
\pdfprotrudechars=2
\pdfadjustspacing=2
\newfontfeature{Microtype}{protrusion=default;expansion=default;}
\directlua{fonts.protrusions.setups.default.factor=.5}
\setmainfont[ Microtype,
Numbers={OldStyle, Proportional},
Ligatures=TeX
]{Brill}
The only thing I changed about this was the font. I use the Brill Font, but only because it contains many special characters I need for work. About the rest, I don't have a clue what all this means. Okay, I did look into the documentations (months ago) and searched tex.sx (just now), and I learned what protrusion is and what expansion is, and what they do, but I don't really see a difference, for -- to me -- simply (almost) every TeX result looks super, and I certainly see no real difference between Garamond, Minion, Caslon, et al., nor could I tell which I'd prefer. I am not a man of the "finer" arts, so deciding about microtype settings and features is but a little too "designical" for me.
By the way: I am using LuaLaTeX.
So maybe, someone could just tell me if these settings may be alright the way they are.
Brill makes a full "Typeface User Guide" available. If you want an example of how this font looks in order to answer my question, please see this document.
microtype
documentation provides really nice examples to show what happens when you switch the settings off and on -- but might now work in all PDF viewers, but does work in Acrobat.fonts.protrusions.setups.default.factor
should be.5
or.4
or.3
etc. or if using\pdfadjustspacing=2
is a good idea.microtype
package at all because you are usingluatex
whichmicrotype
does not support. Instead, you are usingluatex
's own protrusion and expansion settings with\newfontfeature{Microtype}{protrusion=default;expansion=default;}
.microtype
documentation says in its abstract: "The package will by default enable protrusion and expansion if they can safely be assumed to work. These two features are also available with luaTeX." (See also Table 1: Availability of micro-typographic features, p. 7)\usepackage{microtype}
to my document and left it for good. I always had the impression, that it makes my text look a lot better, especially in two-column mode. A more than nice side effect is that it often also reduces the number of pages (about a half page in a ten page two-column document), which more than once rescued me from having to edit the content of a paper just to fulfill the venues pages limit.