{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

2
votes
1answer
30 views

Caron accent in the bibliography causes a microtype error

I'm getting the microtype-related error ! Argument of \MT@res@a has an extra }. when trying to compile a BibLaTeX bibliography that contains a caracter with a caron accent (\v{a}, i.e., ǎ). Here's a ...
22
votes
1answer
362 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 ...
4
votes
1answer
87 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. ...
1
vote
0answers
72 views

Letter spacing and ligatures

Is there a way to slightly increase letter spacing (tracking) using microtype package and not to lose the ligatures—especially not those starting with ‘f’—other then putting all the “fi“ and “fl“ and ...
4
votes
1answer
37 views

SetProtrusion with helvetica on specific characters

I am using a document with Helvetica from the helvet package. I would like dashes not to protrude into the left margin. However, when I use SetProtrusion protrusion is disabled entirely: ...
2
votes
0answers
32 views

Microtype problem with line-endings

today i noticed that when i compile my Tex-File with LuaLaTeX and the Microtype-Package that the line-endings are not correctly formatted. Here an small example where you can see that the punctuation ...
12
votes
1answer
119 views

microtype expansion leads to error in pdfauthor

The following document gives the error ! Argument of \MT@res@a has an extra }. The source of the error is the accent command \"L (which doesn't make much sense, I only use it in the examples as ...
16
votes
5answers
470 views

Biber 2.4, microtype, and special characters

I just performed an update of all packages in my texlive distribution (2015) and now I'm having trouble combining biber+biblatex with the microtype package. The error seems to arise only when using ...
15
votes
1answer
173 views

How to enable protrusion for superscript numbers?

I am using the memoir class in XeTeX with the microtype package. As generally protrusion works as expected, it doesn't work for superscript numbers, which occur as footnote references. According to ...
4
votes
1answer
53 views

Disable microtype for a single paragraph

I have the following sequence of lines: something is\hfill not required.\\ something is\hfill not required.\\ something is\hfill not required.\\ something is\hfill not required. In case microtype ...
56
votes
2answers
8k 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 add some lines of ...
1
vote
0answers
72 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} ...
11
votes
0answers
314 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 ...
2
votes
0answers
48 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
202 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 ...
4
votes
1answer
55 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 ...
14
votes
1answer
177 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
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} ...
7
votes
1answer
138 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
51 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
134 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
3answers
292 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 = ...
6
votes
2answers
143 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
80 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
118 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
88 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
67 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
106 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
269 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 = ...
10
votes
1answer
2k 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 ...
6
votes
2answers
106 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
148 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
45 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
72 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
48 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
125 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
213 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
63 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 ...
6
votes
1answer
134 views

Biblatex (footcite) and microtype

Biblatex is configured so that all author names are written in small caps and microtype is set to to adjust the spacing between the small cap letters a la \SetTracking{ encoding = *, shape = sc }{ 45 ...
6
votes
1answer
96 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} ...
2
votes
1answer
71 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, ...
23
votes
1answer
7k 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 ...
13
votes
1answer
153 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 ...
8
votes
1answer
410 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 ...
23
votes
1answer
614 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 ...
3
votes
1answer
333 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} ...
8
votes
1answer
145 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 ...
2
votes
1answer
126 views

Can Microtype Change the Kerning Between a Dot or Comma and a Footnotemark?

Relatet to this question: Is it possible to change the kerning between a punctuation mark and a footnotemark with microtype (or any other kerning-method)? (I know of package fnpct, but I would rather ...
8
votes
1answer
213 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} ...