{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

10
votes
1answer
342 views

Loading microtype before or after the font

According to the answer given here, the microtype package should be loaded after the font, since microtype "needs to know what fonts are in use at the time that it is loaded". I am, however, not able ...
11
votes
1answer
306 views

fontspec & microtype: fine tune OpenType fonts

I just began to try LuaTeX in order to make use of OpenType fonts. After loading fontspec I select such a font the usual way: \setmainfont{Adobe Garamond Pro} Now I wonder how I can fine tune the ...
2
votes
0answers
67 views

Rare pdflatex “Auto Expansion is only possible with scalable font” on scaleable-font document [duplicate]

I know I am sounding crazy, but this looks like a veritable pdflatex bug to me. even small innocent changes to the file make it go away. \documentclass[12pt]{article} \usepackage[english]{babel} ...
11
votes
2answers
824 views

Microtype warning with lmodern package and KOMA-script

With a simple document \documentclass{scrreprt} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{microtype} \usepackage{lmodern} \begin{document} \chapter{Test test test} ...
3
votes
0answers
123 views

Pair kerning strategies in (pdf)LaTeX

I'm using the microtype package on pdfLaTeX and I'm wondering over the possibility to implement pair kerning, as opposed to single-character kerning, within the facilities provided by that package. If ...
9
votes
1answer
297 views

fontspec option “Renderer=Basic” - what does it mean?

Since a few days I've been using the fontspec option \setmainfont[Renderer=Basic] ... in order to use the microtype option tracking=true with LuaLaTeX. I have a simple question on this: why does ...
7
votes
3answers
200 views

Shrink monospaced font in custom (verbatim) environments

I'm redesigning lecture notes for a university class since the students wanted to read the notes on their tablets, e-book readers, etc. I have code blocks in these documents, defined in the cdblk and ...
4
votes
1answer
168 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 ...
1
vote
0answers
133 views

XeLaTeX and microtype protusion problems at hyphens

I was excited to learn that XeLaTeX finally has microtype support (I had asked about that earlier). However, after adding microtype to my document, I noticed that line breaks at hyphens now go wrong. ...
3
votes
0answers
45 views

Space is sometimes gobbled with microtype and url

I experimented with condensing URLs slightly and thought everything worked fine, until I noted a problem in the final proofreading. The first "this" in the following minimal example seems to have no ...
6
votes
1answer
211 views

\LaTeX logo too compressed with microtype and defined \SetExtraKerning

I have, perhaps, a slightly odd problem. I have used microtype to define some special spacing rules. This is the relevant bit of the preamble (and I will have hopefully not forgotten anything --- if I ...
10
votes
0answers
96 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 ...
23
votes
1answer
493 views

microtype and the French way of typing text

In French, we put spaces before characters : ! ; ? when we type the text. For instance, we will type Que fait-on ? On met un espace avant les deux points : comme cela. If I do so and use microtype, ...
0
votes
0answers
49 views

How can I prevent microtype from modifying individual wordspaces

I have created a package that inserts symbol characters from a certain font or little pdf files containing symbols into LaTeX text (http://www.ctan.org/tex-archive/macros/luatex/latex/lilyglyphs). It ...
5
votes
0answers
190 views

How to use Multiple-Master-Font-instances for HZ/microtype instead of horizontal scaling? (ConTeXt) [closed]

Question I would like to use a Multiple Master font with a width axis for the HZ-program (=Herman Zapf Programm, equivalent to the microtype-package of LaTeX) In standard configuration, ConTeXt (and ...
11
votes
1answer
642 views

Microtype package with Libertine font

In the microtype documentation it advices one to use settings that complement one's choice of font. I use libertine font. Does anyone know of any options or settings that specifically suit this font?
21
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 ...
6
votes
2answers
336 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 ...
1
vote
0answers
89 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 ...
6
votes
1answer
360 views

Optical Kerning with microtype

I am dissapointed with microtypes kerning. This MWE: \documentclass[ngerman,10pt]{article} \usepackage[ngerman]{babel} \usepackage{lmodern} \usepackage[T1]{fontenc} ...
7
votes
2answers
323 views

dtx file: how to run it?

I want to clarify first that I am a beginner, and thus my question might be imprecise or inadequate. Anyway: I found this documentation file for the package microtype, can be easily found on ctan. It ...
6
votes
1answer
148 views

How to determine width of \textls? \settowidth doesn't work

Using microtype's \textls, how can I determine the width of the resulting text? Here is a MWE that does not work: \documentclass{article} \usepackage[log-functions=false]{expl3} ...
28
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. ...
31
votes
2answers
664 views

Does combining microtype with ragged right make any sense?

My impression when using microtype in a document that used \RaggedRight (everything said is probably true for \raggedright as well but who cares really ...) always was that all lines just get ...
5
votes
0answers
1k views

Cyrillic and microtype: pdfTeX error (font expansion): auto expansion is only possible with scalable fonts [duplicate]

I have a rather huge document and everything worked fine. The problems started when I tried to insert some Russian text. I was able to resolve some issues, but now I'm stuck with the following error: ...
1
vote
1answer
340 views

Microtypesets and Fontspec

Is there a way to use Microtypesets so that one would specify a fontspec family. I have a very complicated document and it would be nice to be able to turn the microtype features on only for those ...
8
votes
1answer
286 views

microtype tracking disables small caps in luaLaTeX

Normall microtype tracking loosens the tracking of small caps. However, with fontspec's \setmainfont{ebgaramond}, small caps are completely disabled and I get a loose normal text, as opposed to ...
6
votes
1answer
219 views

microtype with latex+dvips+ps2pdf

I would like to use microtype with the latex, dvips, ps2pdf workflow. Is it possible to use it in this workflow? If it can be used are there any options that I need to call when using microtype?
8
votes
1answer
733 views

Hanging punctuation with \enquote

Following this advice on tex.sx, I'm using csquotes. And I'd like to have hanging punctuations, for instance that left-quotation marks are displayed in the margins. I focus on this point in this ...
8
votes
1answer
137 views

Soul vs Microtype in regards to Tracking

When using small/all caps, I was told to adjust the tracking alongside. I have found \SetTracking from microtype and \so from soul. Is there an advantage to using one or the other and if yes why? Do ...
5
votes
1answer
469 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 ...
15
votes
3answers
608 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 ...
2
votes
2answers
149 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: ...
8
votes
2answers
645 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: ...
4
votes
3answers
791 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 ...
13
votes
4answers
572 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
939 views

The caption package and letterspacing

Problem Statement I adjusted the caption format for my figures and tables using the caption package, such that the words "Figure" and "Table" are typeset using small caps. Now I want to obtain ...
14
votes
2answers
235 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 ...
4
votes
1answer
189 views

fontspec-color not working correctly with microtype package [closed]

If I use the fontspec package together with the microtype package, the color-feature of fontspec does only colarize the last line of the paragraph instead of the whole paragraph, as the grouped ...
6
votes
1answer
110 views

unpleasent character protrusion using microtype, biblatex and block=nbpar

Using microtype together with biblatex's entrysets and block=nbpar options leads to an unpleasent result. The left bracket of (a) is moved too much to the right. (b) and (c) are less affected by the ...
8
votes
1answer
161 views

Customizing protrusion in microtype using \SetProtrusion

I am using microtype in a document (with pdftex) and I would like to alter the amount of protrusion that small numbers (i.e. the digits 0-9) are subject to. However, I cannot make \SetProtrusion ...
6
votes
1answer
238 views

Strange behaviour of \textsection in footnote with fixltx2e

This is a follow-up question to How do I enable protrusion for footnotes with \fnsymbol using microtype?, and my answer there. The MWE that I provided there \documentclass[10pt]{article} ...
7
votes
1answer
474 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 ...
30
votes
1answer
1k 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 ...
24
votes
3answers
997 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 ...
10
votes
1answer
351 views

Is microtype-2.5 (beta-08) stable enough for production use?

I am affected by the performance issues of microtype-2.4 and enter the last phase of an important work (fine-tuning of page breaks, overfull hboxes, etc.). The compile time with microtype is about 4 ...
7
votes
1answer
329 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 ...
2
votes
2answers
718 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 ...
5
votes
1answer
600 views

Spacing in \chaptertitlename

Consider the following MWE: \documentclass{book} \usepackage{titlesec} \usepackage{lipsum} % just to generate text for the example \usepackage[tracking=smallcaps]{microtype} ...
11
votes
2answers
435 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, ...