{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

0
votes
0answers
24 views

Problem with microtype's `\textls` and math mode

I have some issues with classicthesis' \spacedlowsmallcaps command that I could bring down to the following MWE: \documentclass{scrartcl} \usepackage{microtype} ...
2
votes
0answers
31 views

tracking of fonts in small capital with frenchb from babel+ microtype

I have a problem in enabling tracking of small caps [whether the font has small caps or not] when I load french babel plus microtype. The problem appears only in my titles for the section and only ...
9
votes
2answers
154 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 ...
14
votes
1answer
168 views

Why does pdfTeX use character expansion instead of line scaling?

In order to achieve better spacing and line breaking, pdfTeX can expand fonts. The user decides how much stretching and shrinking is allowed for each desired font, and in what increments. However, ...
3
votes
1answer
216 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
41 views

Fix overfull line by local settings of microtype expansion

The second line of the paragraphs has an overulll (6pt). I can't change the text and the hyphenation of the first two line (pri-vate and al-ready) would not help. I try to change the microtype ...
6
votes
1answer
105 views

Problem with interword spacing in LuaLaTeX

I have a problem with LuaLaTeX and interword spacing using fontspec. This is my MWE: \documentclass{article} \usepackage{fontspec} \defaultfontfeatures{Ligatures=TeX, Scale=MatchLowercase} ...
2
votes
0answers
42 views

Warning using microtype and exCJK packages

Compiling the following MWE \documentclass[twoside,10pt,a4paper]{report}%,twocolumn \usepackage{ifpdf} \usepackage{lipsum} \usepackage{microtype} \usepackage{fontspec} % \usepackage{xeCJK} ...
3
votes
1answer
94 views

luatexja with microtype generates lots of warnings

\documentclass{article} \usepackage{microtype} \usepackage{luatexja-fontspec} \begin{document} Lot's of Warnings. \end{document} The above sample throws a boatload of errors of the type Package ...
6
votes
2answers
112 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? ...
2
votes
1answer
62 views

Set tracking for small caps fonts with microtype

This is the exact same question as Microtype's tracking feature works with some fonts, not others. Only this time I'm trying to accomplish the same with a different font. Bob Tennent has kindly ...
1
vote
2answers
106 views

Error using microtype and xeCJK package

I’d like to use the microtype and xeCJK packages in one document: \documentclass{scrreprt} \usepackage{microtype} \expandafter\let\csname xetex_suppressfontnotfounderror:D\endcsname ...
6
votes
1answer
78 views

Word spacing differences between either MacTeX, microtype or setspace versions

I'm migrating to a new notebook (which means a complete MacTeX update) and noticed word spacing differences when compiling a paper I'm currently working on. I would like to keep the old word spacing ...
8
votes
0answers
54 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 ...
8
votes
2answers
95 views

microtype: Protrusion not affecting unnumbered section titles

The microtype protrusion won't work in my starred (unnumbered) section titles. I have a feeling that this might be part of a general bug of microtype when dealing with starting lines of environments ...
7
votes
1answer
205 views

Combine kerning, small caps, and tracking in luatex

As is known, luatex requires the fontspec option Renderer = Basic in order to display small caps when microtype's tracking = true is used. \documentclass{article} \usepackage[tracking = ...
6
votes
2answers
85 views

Renewing the \thelstlisting command when hyperref is on

I'm trying to change the appearance of the cross-ref to a listing in the appendix, so that it prints as \textsc{a}.1, not just A.1. The redefinition ...
6
votes
1answer
137 views

How to remove orphan character from bibliography

Compile with pdflatex 1.14.16 (Miktex) the following source: \documentclass[11pt,a4paper,english]{memoir} \usepackage[english]{babel} \usepackage{biolinum} \usepackage{XCharter} ...
2
votes
0answers
41 views

Can i enable letter expansion with Xelatex somehow?

I have a two column which I want to compile with Xelatex. However, I get a lot of over/underfull hbox'es. I use the microtype and fontspec package. The former can only performe protrusion with ...
0
votes
1answer
64 views

titleformat and rotatebox: missing text with LaTeX => PS => PDF output profile

I modified my \part and \chapter style with \titleformat and it works just fine when i use the LaTeX=>PDF output profile. In the end I want to use the LaTeX => PS => PDF output profile but as soon as ...
4
votes
1answer
40 views

AlegreyaSans, microtype's tracking feature and footnotes

My question is closely related to this one. I'm using pdfLaTeX and microtype with AlegreyaSans as my sans serif font. I managed to adjust the answer given by Ulrike Fischer in the above question in ...
2
votes
1answer
102 views

Does fouriernc contain sans serif fonts?

Does fouriernc contain sans serif font? If not, which type is actually used for it? Is this type scalable? My problem shows not so minimal working example: \documentclass{memoir} ...
13
votes
1answer
175 views

hanging punctuation with microtype and luaLaTeX

I want to get this style of hanging punctuation: Quotation marks «...» „...“, brackets (...) [...] {...} and bullets are put beyond the left margin. Quotation marks, brackets, periods, ...
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 ...
1
vote
0answers
60 views

microtype in XeLaTeX [duplicate]

Currently microtype package supports only protrusion in XeLaTeX. Is there an option to use other micro-typography features (expansion, kerning, spacing, tracking) in XeLaTeX? Or should I forget about ...
2
votes
1answer
59 views

Microtype, raggedright and varwidth doesn't work well with each other

I am using microtype inside varwidth environment in the way described here. It works well with justified text, but now I have very short-lined text like a verse. And sometimes microtype is working, ...
20
votes
1answer
4k views

What is the meaning of \fussy, \sloppy, \emergencystretch, \tolerance, \hbadness?

There are many way to influence line breaking, and avoiding overfulls on long unbreakable pieces of text. I'm puzzled. We are told that using \sloppy document-wide is not good , that an alternative ...
6
votes
1answer
83 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} ...
13
votes
1answer
141 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 ...
6
votes
3answers
260 views

Microtype's tracking feature works with some fonts, not others

In the code below, tracking works with the libertine font, but not with the Alegreya font. Why is this, and how can I fix it? \documentclass{article} \usepackage[tracking = true, letterspace = ...
8
votes
1answer
322 views

LuaLaTeX: Load order fontspec, microtype (breaks hyphenation in bibliography)

The microtype documentation clearly states: With LuaTeX, load fontspec before microtype However, this breaks hyphenation in some cases in the bibliography, created with biblatex/biber. The same ...
3
votes
1answer
242 views

Smallcaps don't work if fontspec's microtype is used in luaLatex

This could be a duplicate question of this one - but I'd say the problem there is still not solved. Consider the following example: \documentclass[a4paper,12pt]{article} \usepackage{fontspec} ...
23
votes
1answer
537 views

Which common LaTeX Fonts come prepackaged with specific settings for Microtype?

For anyone interested in achieving the very best microtypography: Some fonts apparently come with microtype specific settings, other fonts don't, in which case microtype applies "Default" settings ...
8
votes
1answer
135 views

microtype: Customizing protrusion for ellipsis and multiplication symbols

I can’t bring microtype to set protrusion for the \times symbol as well as the … ellipsis symbol). I used the "XXXX ={} notation to refer to these symbols (with XXXX being the UTF-8 code), as ...
1
vote
0answers
89 views

Reducing letter spacing to get rid of a widow, how much is appropriate?

Some times the only way to get rid of a widow is, to reduce the letter spacing in a certain paragraph or footnote. Being addicted to XeLateX unfortunately I can't use the microtype package to achieve ...
1
vote
2answers
227 views

Microtype causes error in combination with system call LuaLaTeX

I'm trying to plot some figures based on measurements with tikz because the number of data points is to large for LaTeX I'm using a 'system call' to use LuaLaTeX for them. As long I do not load ...
8
votes
1answer
193 views

microtype, listings and lrbox: What in the world is going on here?

The image says it all: I'm not sure what's going on, but it seems that microtype "breaks" the lrbox hack for coloring \lstinline. The code is here: \documentclass[a4paper]{article} ...
1
vote
1answer
101 views

Use Microtype beta from TLContrib with Miktex [duplicate]

I would like to test Microtype 2.5 (b08) with Lualatex. I've seen here that TLContrib has been cited as a way to get and install this version, but I only found solutions to use it as a repository ...
2
votes
1answer
55 views

\SetTracking seems to have no effect

From the documentation: \SetTracking [〈options〉] {〈set of fonts〉} {〈tracking amount〉} I have tried all kinds different incarnations of this command (many of them copied verbatim from online), to no ...
5
votes
1answer
118 views

Is there a way to disable kerning of punctuation marks globally?

I use the font XCharter in my document. Unfortunately, I get undesired kerning of punctuation marks following capital letters like W, P and T – especially in the bibliography (biblatex). Is there a ...
11
votes
0answers
259 views

Microtype configuration for kpfonts

The microtype documentation suggests to use settings matching one's font choice. I am currently using the kpfonts package but have not succeeded to find some matching settings online. As there seem ...
1
vote
0answers
126 views

How well does microtype “font expansion” work with LuaLaTeX?

Using LuaLaTeX and a an OpenType font loaded with fontspec (like, say, Linux Libertine), can the "font expansion" feature of microtype be considered stable and fully functional? And can I feel safe by ...
13
votes
1answer
271 views

Disabling ligatures also disables kerning

I am using Adobe Minion Pro (mostly because of its maths support), but I don't want to use the 'Th' ligature. This decision is based on guidance from Bringhurst's Elements of Typographic Style. I ...
4
votes
0answers
48 views

Pros and cons of kerning, spacing, and tracking in microtype [duplicate]

As noted in this answer, kerning, spacing, and tracking are turned off by default in microtype. Why is that? Are there good arguments against using it? What would be the pros and cons of activating ...
4
votes
1answer
179 views

Increasing the kerning around ' (apostrophe) but not inside the " (double quote) in microtype?

The microtype package (with kerning=true) allows to use \SetExtraKerning [ unit = space ] { encoding = {OT1,T1,LY1} }{ ' = {500, 400} } to increase the kerning before (500) and after (400) the ...
11
votes
1answer
365 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, ...
4
votes
0answers
416 views

Problem T1 fontenc and microtype?

I had to reinstall Windows on my pc, and therefore Latex too. It worked perfectly well before, and I don't understand why I have a problem now (I reinstall the complete miktex distribution). Here is ...
12
votes
1answer
369 views

Why are not all microtyping features enabled by default?

According to the microtype manual, Kerning, Spacing and Tracking are not enabled by default in pdftex (>= 1.4). What are the reasons for this?
2
votes
1answer
190 views

Does protrusion in pdfLaTeX or XeLaTeX work as it should?

\documentclass[11pt]{article} \usepackage[protrusion=true,expansion=true,final]{microtype} \begin{document} \section*{The Microtypesetting} \noindent A run of the mill paragraph with some text that ...
4
votes
1answer
64 views

Combination of microtype and algorithm package fails to compile

I try to compile the following MWE: \documentclass{article} \usepackage[activate=true,final,tracking=true,kerning=true,spacing=true]{microtype} % improves font appearance. ...