{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

14
votes
2answers
232 views

How do I get microtype's “outer spacing” to work with the xspace package?

Microtype adds extra space to the start and end of letterspaced text, configured via the \SetTracking command's "outer spacing" option. Unfortunately, xspace breaks this. For example, I define a few ...
9
votes
2answers
426 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 ...
6
votes
1answer
660 views

Letterspacing titles with LuaLaTeX

I'm using LuaLaTeX to write my thesis and I've been learning about typography thanks to Robert Bringhurst's "The elements of typographic style". Problem is I can't replicate the letterspacing used in ...
9
votes
1answer
400 views

Mimicking the Microtype documentation

One of the nicest LaTeX examples I have seen is the Microtype documentation. The .dtx file is available here and I have been trying to recreate a document looking like this. Unfortunately it's not ...
30
votes
1answer
883 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 ...
1
vote
1answer
357 views

How do I activate hanging punctuation with XeteX under ConTeXt?

I'm noob at ConTeXt. I want to use auto2 font with ConTeXt, I think the easiest way to do that is using the XeTeX backend. ConTeXt can do some protrusion with pdfTeX and LuaTeX, but with XeTeX it ...
13
votes
1answer
926 views

How to set expansion and protrusion for TeX Gyre Pagella using LuaLaTeX?

For my documents, I have often used the mathpazo package combined with microtype and have found the result to be really good. Because now I need to create PDFs which contain a variety of diacritics ...
12
votes
3answers
4k 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 ...
30
votes
2answers
867 views

An Example from the Microtype Documentation

While exploring the depths of the microtype package with regard to LuaTeX I came across this innocent looking page 18 from the microtype.pdf 2.5 beta-08. As the blue note in the margins hints a ...
13
votes
4answers
838 views

meta packages and typesetting

Background(just ignore): Is there an exhaustive list of packages that you should load and of things you should do to improve your document? Here I mean packages and things that have to do with the ...
14
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 ...
15
votes
2answers
807 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 ...
4
votes
1answer
193 views

How to limit hyphenation in a multicol environment?

I have a LaTeX document (compiling with pdflatex), with the multicols and microtype package enabled. The document is using two cols using the \begin{multicols}{2} ...\end{multicols} environment. ...
2
votes
1answer
270 views

No tracking with Microtype + russian babel + mathdesign

I'm trying to compile the following code based on "more realistic example" from microtype.sty manual, Sect. 5.3. It works without babel (or with, say, french option) or without mathdesign. But with ...
3
votes
1answer
319 views

microtype character code

I am using lualatex This is LuaTeX, Version beta-0.70.1-2011062107 (rev 4277) with microtype [2011/08/18 v2.5 <beta-07> Micro-typographical refinements (RS)]. My computer has an american ...
8
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 ...
14
votes
1answer
837 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 ...
9
votes
2answers
2k views

Which LaTeX font packages contain real small caps and work with the “microtype” package?

I'm wondering which font packages are available in MikTeX and TeXLive containing real small caps and also work together with the "microtype" package? For instance, kpfonts has real small caps but ...
3
votes
1answer
352 views

Wrong PDF crop when using the microtype package or zero margin

[UPDATED]PLEASE READ AT THE BOTTOM OF THE POST[UPDATED] I'm still using TexLive 2010 (ubuntu) and I need to create some tight pdf (using pdflatex and pdfcrop with --hires option). I need to use ...
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 ...
15
votes
3answers
540 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
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} ...
8
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 ...
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 ...
4
votes
1answer
703 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 ...
2
votes
1answer
604 views

Incompatibility between svjour3 and microtype

There seems to be an incompatibility between the svjour3 document class for Springer journals and the microtype package. Minimal example: \documentclass{svjour3} \usepackage{microtype} ...
1
vote
1answer
719 views

microtype versus mathastext: unknown slot number error

The following MWE compiles with pdftex but produces a mysterious warning. \documentclass{article} \usepackage{libertine} \usepackage{mathastext} \usepackage{microtype} \begin{document} Here is some ...
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 ...
7
votes
0answers
917 views

XeLaTeX and Microtype [duplicate]

Possible Duplicate: Margin kerning in Xe(La)TeX for TeXlive 2010: how to enable? Is it possible to get microtype to work with XeLaTeX? Is there any other alternatives to that kind of ...
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 ...
4
votes
2answers
496 views

Space after lettrine

When using the lettrine package, there are often additional spaces after the small caps: It can get even bigger than that actually. It seems to me that this is because lettrine uses an mbox to ...
7
votes
2answers
2k views

Fixing an overfull box

I have an overfull box in a French text which looks like this: The sequence at the end of the line is: d'Ananias~: \og Vous "Vous" cannot be hyphenated and \og inserts a non-secable space, so ...
7
votes
1answer
460 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. ...
1
vote
1answer
351 views

LaTeX and Glyph Scaling for Justified Text

I am very new to LaTeX - and I am not sure if Latex has the capability to do what I want, so I thought I would ask here. I am working with publishing books in Khmer (the language of Cambodia) in ...
3
votes
1answer
531 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 ...
16
votes
1answer
342 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} ...
10
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 ...
17
votes
4answers
559 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 ...
1
vote
1answer
284 views

Times (or Termes) with protrusion/hanging in ConTeXt MkIV

On the ConTeXt wiki, http://wiki.contextgarden.net/Protrusion#MkIV, some examples are given of how to use Termes fonts and how to use microtypographical extensions. The bottom example works, but I ...
7
votes
3answers
567 views

How to do extra spacing when using small caps for abbreviations?

The default letter spacing for small capitals seem optimised for use in headlines and such but a bit too cramped for use in abbreviations. How should I do to get the letter spacing more suitably ...
16
votes
1answer
985 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. ...
5
votes
1answer
428 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 ...
17
votes
3answers
12k 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 ...
24
votes
3answers
934 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 ...
2
votes
1answer
744 views

Prevent microtype tracking to add space between letters?

I use a latex template with small caps for chapter titles. These are spaced a bit using \textls from microtype package. Unfortunately, microtype does not properly increase the tracking but rather add ...
9
votes
3answers
721 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 ...
5
votes
2answers
727 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 ...
17
votes
5answers
4k views

Increasing Letterspace for words in caps or small caps

Some typographers say it's a good habit to increase the letterspace when writing words in caps or small caps. So my question is, how to do it with pdflatex and/or xelatex? And while we're at it, which ...
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 ...
13
votes
1answer
3k 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 ...