{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

15
votes
3answers
10k views

pdfTeX error (font expansion): auto expansion is only possible with scalable

I'm using a custom class file. My main file looks like this: \documentclass[12pt,a4paper]{thesis} \begin{document} \frontmatter \pagenumbering{alph} \pagenumbering{roman} \clearpage ...
13
votes
1answer
2k views

Margin kerning in Xe(La)TeX for TeXlive 2010: how to enable?

I'm using the pre-release testing version of TeXlive 2010. From what I understand from the TeXlive Guide, a new feature is that support for magin kerning has been added to XeTeX. From what I can ...
13
votes
4answers
409 views

Which ligatures do the fonts used in my document offer?

This is a follow-up question to: How do I know which ligatures are used in my document? In order to know which ligatures I might consider disabling (I have in mind microtype's \DisableLigatures ...
7
votes
2answers
4k views

How to reduce the number of hyphenation?

Sometimes, assume our document contain many long words, TeX may generate some hyphenation at the end of line. But it really hinder our smooth reading. Although I know we can add the hyphenation rule ...
7
votes
2answers
2k views

LuaLaTeX, fontspec and tracking with microtype

I try to get microtype's tracking working but without success: up-to-date TeXlive 2011 (lualatex 0.70.1) with microtype v2.5 beta 07. Sample code: \documentclass{article} ...
25
votes
4answers
3k views

How can I completely suppress ligatures?

The microtype package allows to completely suppress ligatures. However, this feature requires pdfTeX 1.30 or newer. That's unfortunate if I'm using LaTeX or XeLaTeX while having to avoid ligatures. ...
13
votes
3answers
4k views

How to set-up LuaTeX, Microtype, with Minion Pro, Myriad Pro

Since recently I am using LuaLaTeX with the most recent beta version of Microtype, along with the fonts Minion Pro and Myriad Pro. In the manual of Microtype it says: Currently, this package ...
30
votes
1answer
825 views

Disable microtype for a portion of a document

Update: 2013-04-18 After upgrading to microtype 2.5 today this specific test cases indeed runs much faster (from approximately 3:00 minutes down to 8 seconds). However, I do have another cases where ...
16
votes
4answers
545 views

Microtype and quote environment leads to different indent of first line

When the microtype package is loaded a quote environment which starts with punctuation marks is inconsistent "indented". The first line in the following minimal example is unaffected, i.e. at the same ...
11
votes
1answer
3k views

XeTeX, microtype and fontspec

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 ...
6
votes
1answer
1k views

textls breaks smallcaps with luatex

I'm switching a code to LuaTex from XeTeX. In XeTeX, I had a combination of tracking and small caps using LetterSpace and WordSpace parameters in fontspec calls, but these are not supported in with ...
13
votes
1answer
758 views

Set font expansion so that distortion is not noticeable

In a comment to The kerning option of microtype Karl Karlsson writes: Most of the typographers agree, that Font expansion distorts the font. Personally, I see it, and I agree - the distortion is ...
37
votes
2answers
3k views

microtype settings for dummies

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 input some lines ...
11
votes
3answers
3k views

How do I get the protrusion to work in XeTeX?

When I render my documents using pdfLaTeX and microtype they look fine, but when I switch to XeTeX the right edges of justified text look terrible: some lines overlfow, and hyphens look "indented". Is ...
14
votes
1answer
1k views

Is microtype fully supported now by XeLaTeX? If not, how can I keep myself up-to-date?

Is microtype fully supported now by XeLaTeX? If not, how can I keep myself up-to-date on this argument?
9
votes
3answers
3k views

Making text narrow

I'm using \textlsfrom the microtype package to increase space between letters, but I can't find a command that will make a text look narrow (or maybe a very narrow serif font?). What is the best way ...
24
votes
3answers
905 views

Can I get full justification for italic text?

In the TeXbook, Knuth notes that italics can lead to problems with justification: EXERCISE 14.16 When an entire paragraph is typeset in italic or slanted type, it sometimes appears to be offset ...
16
votes
1answer
933 views

Wrong protrusion with csquotes and microtype

I’m experiencing problems using the csquotes package and microtype using protrusion (margin kerning). The problem is that using \enquote I only get margin kerning on the left margin. ...
15
votes
3answers
522 views

Why does the use of microtype and xfrac lead to a long compile time?

While I was discussing another issue I came across this problem: I included the xfrac package and the compile time of my document 100folded. After playing around I found out that microtype caused the ...
7
votes
1answer
302 views

How do I know which ligatures are used in my document?

In order to know which ligatures I might consider disabling, I would like to know which ones are actually used in my document. (Which ligatures are provided by a font is a more general question; I ...
4
votes
1answer
128 views

LuaTeX won't end a line at Unicode emdash

I'm using LuaLaTeX instead of XeLaTeX for my book, mainly because it supports microtype's expansion feature, to produce the optimal word spacing and line breaking that will result in the most uniform ...
9
votes
1answer
1k views

The kerning option of microtype

I wonder what the kerning option of the microtype package does? In the manual it says that kerning=true will give additional kerning. But how? Is this something that has to be specified in addition to ...
8
votes
1answer
448 views

Disabling selected ligatures with microtype

With a font in T1 encoding, using pdfTeX and the package microtype, I'd like to disable the ligatures for "ff" and "ffi", but keep the ligature for "fi". If I type in the preamble ...
8
votes
2answers
520 views

best practice international template

I would like to have a template which can be internationalised (i.e. is suited for latin script languages) and uses the microtype package. I suppose that we therefore need the following packages: ...
5
votes
1answer
416 views

How do I call microtype's \SetProtrusion in the preamble?

In this answer about full justification for italic text, I used microtype's \SetProtrusion to get better-looking margin kerning for italics. It works fine, but I had to call \SetProtrusion after ...
24
votes
1answer
799 views

microtype + siunitx and \micro - mysterious warnings

This code \documentclass{scrreprt} \usepackage{lmodern} \usepackage[T1]{fontenc} \usepackage{microtype} \usepackage{siunitx} \begin{document} \SI{10}{\micro\metre} \end{document} produces these ...
19
votes
2answers
1k views

fontspec, lua, microtype: Renderer=Basic no longer working for specific font styles

You may have noticed that, as of now,* letterspacing small capitals is not as easy as it was in pdfTeX, where we could simply combine \textsc with microtype's \textls. Consider this example, which ...
22
votes
2answers
2k views

Should I load microtype with pdflatex?

Should I always load the microtype package with pdflatex? Could it produce unwanted effects a naive user (like me) might ignore? Are there any known issues as for compatibility with other packages? ...
16
votes
3answers
626 views

Conflict between microtype, LuaLaTeX, and otf fonts when typesetting material in small-caps

I'm using the microtype package (microtype beta 2.5 build 08) to modify my document and I'd like to retain its functionality across all font shapes with the exception of small-caps (\scshape). How do ...
8
votes
1answer
1k views

microtype package (v.2.5 beta 06) and footnote protrusion

According to section 6 of microtype manual (v.2.5 from 2011/02/07, p. 23) the code below should set custom protrusion for footnote numbers. However, when \microtypecontext command is set, it cancels ...
13
votes
1answer
377 views

Is the DVI format de facto dead?

Are there any technical reasons that have killed or will kill the DVI format as an output for TeX engines? I know that the microtype package works better with pdflatex, but is there any technical ...
9
votes
2answers
384 views

Why does microtype cause auto-pst-pdf to run slowly?

I have a build process using pdflatex that had been working fine (and reasonably fast) until I added auto-pst-pdf in order to process some EPS figures. Doing this causes rendering to slow down and ...
16
votes
1answer
337 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
555 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 ...
14
votes
2answers
766 views

What font configuration is used by microtype documentation

I really like the font configuration (appearance) of the documentation for microtype package (see here). How do I find out the combination they're using? (I will fix the protrusion etc later but first ...
10
votes
0answers
90 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 ...
7
votes
1answer
354 views

How do I enable protrusion for footnotes with \fnsymbol using microtype?

In microtype package (v.2.5 beta 06) and footnote protrusion, custom protrusion for footnote numbers is enabled. However, as soon as I edit the footnote characters to the ones generated by \fnsymbol ...
7
votes
1answer
654 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 ...
7
votes
1answer
346 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 ...
5
votes
2answers
692 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 ...
4
votes
3answers
535 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 ...
2
votes
2answers
135 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
466 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
357 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 ...
8
votes
1answer
104 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} ...
8
votes
2answers
292 views

How can I fix a problem where italics prevent line breaking when using microtype? [duplicate]

I wish to use protrusion and expansion from microtype as I like the look you get with them. I use amsthm and typeset theorems in italic as usual (with \theoremstyle{plain}). With microtype enabled, ...
8
votes
3answers
1k 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
1answer
225 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 ...
5
votes
1answer
338 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
62 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 ...