{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 ...
8
votes
0answers
71 views

How can protrusion in the headings of document divisions be fixed when using pdfLaTeX and titlesec?

How can protrusion in the headings of document divisions be fixed when using pdfLaTeX and titlesec? In this answer I provide a tentative patch which allows character protrusion to work normally in ...
6
votes
1answer
99 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} \usepackage[...
6
votes
2answers
598 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
997 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 "...
18
votes
1answer
936 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} 0:...
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
209 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
690 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
702 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
504 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
950 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 ...
3
votes
2answers
212 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 ...
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 ...
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: \documentclass[a4paper]...
15
votes
1answer
472 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
158 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 ...
10
votes
1answer
265 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
225 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
3answers
891 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 ...
9
votes
1answer
344 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 ...
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 ...
8
votes
1answer
589 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. ...
7
votes
2answers
996 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
149 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
61 views

microtype and exscale crashing in TeXLive-2016

I just installed TeXLive-2016 and noticed that microtype, more precisely, the command \textls and exscale crashes, whereas they work fine in TeXLive-2015. Here is an example: \documentclass{article} \...
5
votes
1answer
588 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
4answers
380 views

Spacing capitals in section headings

I'm using titlesec to customise my section headings. I want to have my subsections in capitals, which I can achieve with the \uppercase function, but all typographic style guides suggest that caps ...
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 ...
4
votes
1answer
177 views

Lualatex from texlive 2016 is not seen by microtype

I have an error with the following document, from my texlive 2016 and everything up to date, when I use lualatex : You don't seem to be using either pdftex, luatex, or xetex. \documentclass[...
3
votes
1answer
1k views

On pdfTeX error (font expansion): auto expansion is only possible with scalable fonts, microtype package

According to this question pdftex-error-font-expansion-auto-expansion-is-only-possible-with-scalable To get rid of the error above, is to load a scalable font like lmodern \usepackage[T1]{fontenc} \...
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
423 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 ...
1
vote
0answers
83 views

Problem with microtype's `\textls` and math mode [duplicate]

I have some issues with classicthesis' \spacedlowsmallcaps command that I could bring down to the following MWE: \documentclass{scrartcl} \usepackage{microtype} \newcommand{\spacedword}[1]{\textls[...