{microtype} is a package that provides a LaTeX interface to the micro-typographic features of pdfTeX, LuaTeX and XeTeX, most prominently, character protrusion and font expansion.

learn more… | top users | synonyms

8
votes
2answers
1k views

Xelatex, mathspec and microtype - weird error messages

I've tried to compile a document with XeLaTeX (TeXLive 2012) and both mathspec and microtype (version 2.5 which supports XeLaTeX). I need a 10.5pt font in the document, so I redefine the \normalsize ...
6
votes
1answer
90 views

Microtype does not work inside varwidth

I make a template for different texts and I need to use varwidth. But it seems microtype doesn't work inside this environment. Is there any way to make it work? \documentclass{book} ...
6
votes
2answers
572 views

letterspacing italic small caps automatically

The MinionPro-It.otf file I am using contains italic small caps, confirmed with otfinfo -f MinionPro-It.otf and cfftot1 MinionPro-It.otf | t1testpage | epstopdf --filter > MinionPro-It.pdf. The ...
4
votes
3answers
973 views

Is microtype compatible (and effective) with a font like Calibri?

Is microtype compatible (and effective) with a font like Calibri ? For details on microtype, see also here and here. Edit With "compatible" I mean error-message-free. With ...
19
votes
1answer
323 views

Microtype gives wrong letterspacing in math mode

Using the \lsstyle command gives wrong math latterspacing afterwards. I came upon this problem when using the classicthesis and putting math in a section (microtype is used there too). After the ...
18
votes
1answer
924 views

Letterspacing/font expansion in LuaLaTeX

I am a few months into learning LaTeX. I would like to use microtype with LuaLaTeX and I would like to obtain letter spacing for my smallcaps. I've tried to follow some of the threads on the subject ...
16
votes
1answer
375 views

Unexpected interaction between microtype and \parindent

The microtype package (or more likely the pdfTeX microtypographic extensions) have a strange interaction with \parindent that bit me. \documentclass{article} \usepackage{microtype} \begin{document} ...
15
votes
0answers
119 views

Strange linebreaks with microtype & LuaLaTex [duplicate]

I have a weird problem. If I compile with LuaLaTex and microtype some of my line breaks are messed upped, but I don't get any warnings. XeLaTex with/without microtype or LuaLaTex without microtype are ...
10
votes
1answer
1k views

microtype settings for Adobe Caslon Pro?

Has anyone developed microtype settings for Adobe Caslon Pro? After a lot of searching, I cannot find a definitive upstream source for the microtype package, and the latest version I can find (2.5 ...
9
votes
2answers
199 views

Disable protrusion from microtype for just one word

I had a really bad overfull hbox in my bibliography caused by an emdash in the first line of a two line entry. The only solution to get rid of the overfull hbox was to line break the emdash to the ...
9
votes
1answer
2k views

Squeezing/shrinking text horizontally

How can I 'squeeze' or 'shrink' some text horizontally? I've heard of the microtype package but I'm not familiar with its options. I tried playing around with it but I could only get it to shrink the ...
8
votes
1answer
677 views

lualatex: smallcaps and microtype don't work together

Compiling the following MWE with lualatex doesn't produce small caps. There are no font warnings. \documentclass{article} \usepackage{fontspec} \newfontfeature{Microtype}{protrusion=default, ...
7
votes
1answer
695 views

pdfTeX font expansion error - \SetExpansion in microtype package

I am trying to hammer in some stacked matrix notation to fit the paragraph by shrinking the font. To do so I am using the \SetExpansion option from the microtype package. But pdfTeX is spitting out ...
6
votes
2answers
494 views

Deciding Which Glyphs to Use in Font Encoding

I wanted to use one of my favorite fonts, Crimson, while still maintaining full support from the microtype package. Since XeTeX and LuaTeX are not fully supported by the microtype package (as of ...
5
votes
2answers
941 views

microtype font expansion and DVI output; problem with kpathsea

Consider the following file test.tex \documentclass[11pt]{report} \usepackage[T1]{fontenc} \usepackage[protrusion,expansion]{microtype} \begin{document} \chapter{A new chapter} Some actual testing ...
2
votes
2answers
182 views

How to *disable* Lua's Microtype for a given tabular column?

I'm looking for a way to disable Lua's Microtype (note the capital M - to distinguish from the lower case microtype package) in the first tabular column of the MWE given below: ...
2
votes
2answers
1k views

How to install the latest version of microtype (v. 2.5) in Linux (Ubuntu)?

How to install the latest version of microtype (v. 2.5) in Linux (Ubuntu) ? (also, is v. 2.5 still in beta?) Edit I'm using this ppa https://launchpad.net/~texlive-backports/+archive/ppa/ which ...
15
votes
1answer
462 views

How to get microtype to work with mathematical minus sign and package lmodern?

Using the package microtype by including the line \usepackage{microtype} in the preamble subtly alters the appearance of a typeset document by, amongst other things, letting optically less dense ...
13
votes
1answer
152 views

What are pdfTeX's exact rules for character protrusion? And for the expansions of \leftmarginkern/\rightmarginkern?

It is well known that pdfTeX tries to apply character protrusion in a clever way. When breaking a horizontal list into lines, (implicit) kerns for character protrusion are inserted near the edges of ...
11
votes
1answer
418 views

MinionPro, microtype and \j - Is there a way to get rid of a strange warning?

When I typeset my free physics textbook, I get a microtype warning Unknown slot number of character `\j' (It happens only for this character, no other one.) I get this message since many years, ...
10
votes
1answer
258 views

incompatibility between tikzposter class and microtype package

I've just started using the new tikzposter class (having previously used the fancytikzposter package from the same author) and immediately discovered that using the microtype package causes TeX to ...
9
votes
1answer
216 views

How can I make my dash work with microtype?

Consider the following definition: \documentclass[a6paper]{article} \usepackage[showframe]{geometry} \usepackage{microtype} \def\Dash{\unskip\thinspace\textemdash\thinspace\ignorespaces\allowbreak} ...
9
votes
1answer
339 views

Which font expansion parameters are ideal for different fonts?

Following up on this question Set font expansion so that distortion is not noticeable I think a list of fonts and their respective ideal stretch and shrink parameters is missing. This would be a great ...
9
votes
3answers
883 views

“Bleed” text into the page margins?

Is it possible to have lines (as an exception) that continue into the right margin ? Here's why I hope it's possible: I have a document and one of the headings is the formal name of a particular ...
8
votes
1answer
575 views

Fix math mode kerning of “C”

I am trying to set a sequence of atom packing symbols. I want to use math mode italics for this, as I think that their width fits this purpose. The problem is that the C has a bad kerning for this. ...
8
votes
3answers
2k views

How to adjust font size or kerning to fit line width?

I have some text that nearly fits the given line width. I can see that a minimal adjustment of font size or kerning would make the text fit, but how do I tell LaTeX to squeeze the text? Yes, this ...
7
votes
2answers
977 views

Capital letter expanded letter space kerning

I am using the following code \usepackage{microtype,textcase} \textls*[110]{\textbf{\MakeUppercase{Specialties}}} I would like to achieve even letter spacing. Unfortunately, the kerning of the ...
6
votes
2answers
136 views

Set tracking for small caps selected by \scshape

If a font family doesn't have a bold font, it makes sense to me to use small caps instead. But when I redefine \bfseries to mean \scshape, there's no tracking in those small caps. How can I set that? ...
5
votes
1answer
579 views

Microtype and LuaTeX: changing protrusion and hanging punctuation

I'm experimenting (using TeXLive 2013) with having my punctuation marks extend fully into both the left and right margins. I don't know how to include images so I'll do my best to format this here to ...
4
votes
0answers
74 views

How to install microtype 2.8 beta? [duplicate]

I want to test microtype 2.8 beta, to get better typography support for XeLaTeX as proposed elsewhere. However, I could not find any reference online how to install the latest beta version, neither ...
3
votes
2answers
206 views

Tracking in full caps and italicized small caps

The microtype package includes a tracking option, in which the space between letters is increased. This should normally be done for sequences of both full caps and small caps, see e.g. Bringhurst's ...
3
votes
1answer
575 views

microtype protrusion incompatible quote, changemargin and adjustwidth environments

Here is my problem. I need some text to have a reduced margin. Unfortunately, none of the suggested methods of doing this appear to be compatible with microtype protrusion. Is this a bug? Is there a ...
2
votes
1answer
417 views

microtype has issues with mathdesign \mathsf font [closed]

I am using \documentclass{amsart} \usepackage{microtype} \usepackage[bitstream-charter,cal=cmcal]{mathdesign} Sometimes \mathsf{...} produces pdfTeX error (font expansion): auto expansion is ...
0
votes
0answers
14 views

\edef together with microtype generates an error [duplicate]

In a previous question, I asked why \edef produced an error when trying to expand commands that takes an argument in the belief that this was the cause of it. But in actuality, I've realized that the ...