I am using XeTeX from TL2010 with microtype 2.5 beta and fontspec. My main font is Linux Libertine O. I do not see a single difference with and without including the microtype package.

Am I doing something wrong, is there a better way to optimize character protrusion in XeTeX to get nicer paragraphs and spend less time fixing overfull lines?

This is what I'm doing:

% This line doesn't change anything at all
\setmainfont[Mapping=tex-text]{Linux Libertine O}                               
% other fonts and settings...

The logs do indicate that microtype seems to work:

LaTeX Info: Redefining \microtypecontext on input line 54.                      
Package microtype Info: Character protrusion enabled (level 2).                 
Package microtype Info: Using default protrusion set `alltext'.                 
Package microtype Info: No adjustment of tracking.                              
Package microtype Info: No adjustment of spacing.                               
Package microtype Info: No adjustment of kerning.  

Edit: Actually, protrusion does work properly it seems, but it doesn't seem to help with overfull lines. Does protrusion not help with it, and is it only font expansion that helps with overfull lines?

  • 1
    You have to prepare a configuration file; there are examples in the same directory as microtype.sty and one for an OpenType font here.
    – egreg
    Commented Jul 3, 2011 at 21:06
  • That's what I feared :-) Can I find an existing configuration file for Linux Libertine anywhere? If not, what are all the numbers and how do I choose/set them?
    – raphink
    Commented Jul 3, 2011 at 21:11
  • 3
    Protrusion means that characters like point, hyphen, comma stick a bit in the margin to get a visually more pleasant result. It changes line breaking so it can in some paragraphs improve it (like rewriting a text can improve it). But to improve line breaking in the complete text you need font expansion or you must adjust the hyphenation. Commented Jul 4, 2011 at 14:39
  • 2
    font expansion is not available in XeTeX Commented Jul 4, 2011 at 15:00
  • 1
    @Raphink: The only thing that XeTeX does and LuaTeX doesn't is inclusion of PostScript. And the LaTeX support for LuaTeX is a bit behind (most notably polyglossia doesn't work). Otherwise: Yes. Commented Jul 18, 2011 at 16:40

1 Answer 1


After looking more closely, I do see that protrusion works (now that I know what it's supposed to do) and I understand that font expansion doesn't (yet) work with XeTeX. This question is thus solved.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .