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.
microtypedocumentation 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. – Peter Grill Nov 08 '12 at 20:55fonts.protrusions.setups.default.factorshould be.5or.4or.3etc. or if using\pdfadjustspacing=2is a good idea. – ClintEastwood Nov 09 '12 at 07:29microtypepackage at all because you are usingluatexwhichmicrotypedoes not support. Instead, you are usingluatex's own protrusion and expansion settings with\newfontfeature{Microtype}{protrusion=default;expansion=default;}. – Jörg Nov 09 '12 at 18:00microtypedocumentation 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) – doncherry Nov 09 '12 at 21:02XeTeX. BUT by issuingnewfontfeature{Microtype}{protrusion=default;expansion=default;}AND loadingmicrotypeI think you are basically loading two typography options which actually do the same. Correct me if I am wrong, but you should either loadeLuaTeXfeatures ormicrotype. – Jörg Nov 10 '12 at 00:26\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. – Daniel Nov 14 '12 at 08:41