{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

18
votes
1answer
759 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 ...
6
votes
1answer
149 views

Keywords with spaces in Listings

I want spaced keywords in listings (that is, keyword, with spaces in between). Now, there are some questions in this site already answered, like this one, where the official answer is that “it is not ...
1
vote
1answer
120 views

OTF + microtype quality + Koma-script

I stopped using LaTeX some years ago, and I'm wondering if there's now any functional way to use, at the same time: Koma Script for great European layout (“Tschicholdian” one); OpenType for various ...
17
votes
1answer
159 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 ...
2
votes
1answer
48 views

Can I use microtype (or something else) to 'amend' a ligature's spacing?

Say I have the following source: \documentclass{article} \usepackage{xparse} \ExplSyntaxOn \NewDocumentCommand \Dash { } { \leavevmode \unskip \nobreak \hspace{\halfspace} \textemdash ...
5
votes
2answers
228 views

letterspacing italic small caps automatically

The MinionPro-It.otf file I am using contains italic small caps, confirmed with otfinfo -f MinionPro-It.otf and cfftot1 MinionPro-It.otf | t1testpage | epstopdf --filter > MinionPro-It.pdf. The ...
5
votes
0answers
65 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 ...
3
votes
4answers
83 views

Spacing capitals in section headings

I'm using titlesec to customise my section headings. I want to have my subsections in capitals, which I can achieve with the \uppercase function, but all typographic style guides suggest that caps ...
0
votes
0answers
76 views

Maintaining Optical Margins with Hanging Punctuation

To achieve hanging quotation marks, I am changing their protrusion settings in my preamble: \documentclass{minimal} \setlength{\parindent}{0cm} \usepackage{luatextra} \setmainfont{Times} ...
3
votes
1answer
90 views

Set tracking amount with microtype

The question is this: How can I globally set the amount of tracking to be executed with microtype's \textls command? More details: The microtype package gives the option of setting the space between ...
3
votes
2answers
76 views

Tracking in full caps and italicized small caps

The microtype package includes a tracking option, in which the space between letters is increased. This should normally be done for sequences of both full caps and small caps, see e.g. Bringhurst's ...
1
vote
1answer
214 views

Micro-Typography with Luatex

Since I wanted to use Opentype with Latex, I had to go with Luatex and consequently am now missing some features of Microtype (spacing, kerning). (I tried converting my openfonts but failed) Here is ...
3
votes
0answers
64 views

Can I turn a variable width font into a fixed-width font?

I found a free ancient-typewriter font I'd like to use in a project, but the person who made it apparently traced some scanned outlines and poured them into a variable width truetype font. That is not ...
9
votes
1answer
206 views

TeX Capabilities with Arbitrary Fonts

I am formatting 85,000 words of text in InDesign that include several (non-negotiable) .ttf and .otf fonts not canonical to LaTeX. I'd like to switch to a TeX-based format for the following ...
3
votes
0answers
54 views

Controlling the space in section numbers

I want to control the space around the dots of the section numbers (and subsection and so on). I think the space sometimes is too small like the one with IV . sometimes to wide, eg when it involves a ...
1
vote
0answers
39 views

\SetTracking from microtype is ineffective with mathdesign

I like the tracking but I wish to descrease the spacing a bit. But it does not work: \documentclass[twoside,a4paper,12pt]{article} %\usepackage[T1]{fontenc} \usepackage[charter]{mathdesign} ...
4
votes
2answers
286 views

Modifying (i.e., partially overriding) microtype's character protrusion settings for specific characters

I would like to disable or modify character protrusion (enabled by microtype) for specific characters. Let me illustrate the issue with the en-dash, which protrudes far too wide for my taste: ...
4
votes
1answer
128 views

Using letterspacing for better justification

According to R. Bringhurst's "The Elements of Typographic Style" (version 3.1, 2004, pp. 190-192), the best justification is achieved by a combination of three methods: flexibly altering the space ...
14
votes
2answers
578 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 ...
2
votes
1answer
328 views

microtype has issues with mathdesign \mathsf font [closed]

I am using \documentclass{amsart} \usepackage{microtype} \usepackage[bitstream-charter,cal=cmcal]{mathdesign} Sometimes \mathsf{...} produces pdfTeX error (font expansion): auto expansion is ...
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 ...
2
votes
0answers
90 views

Spacing problem with microtype and Hoefler Text under xelatex

I'm seeing an odd spacing problem with microtype and Hoefler Text under XeLaTeX. A minimal example is provided below. When typeset with xelatex, the word "he" and the emphasized word "ought" overlap ...
13
votes
1answer
290 views

What is the latest progress in the realm of TeX? [closed]

Motivation TeX.SE as well as external resources contain information from as far as 2010 regarding e.g. LuaTeX, XeLaTeX, microtype, and popular dilemmas such as KOMA/memoir or babel/polyglossia, which ...
7
votes
1answer
149 views

incompatibility between tikzposter class and microtype package

I've just started using the new tikzposter class (having previously used the fancytikzposter package from the same author) and immediately discovered that using the microtype package causes TeX to ...
16
votes
1answer
2k 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?
0
votes
0answers
75 views

Em dash out of right margin

I am almost sure this question was already asked somewhere (I couldn't find it). Still why my em dash and the word proceeding it are typeset out of margins? the source is proliferation---nextword ...
8
votes
1answer
138 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} ...
10
votes
1answer
228 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
239 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
754 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
95 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
268 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
170 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
152 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
110 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
41 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
167 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 ...
8
votes
0answers
200 views

Microtype and word spacing

I'm trying to change the default word spacing for some font. I know 2 ways to do it: setting \fontdimens or \spaceskip. With these approaches and microtype's \textls I get two different results, ...
10
votes
0answers
92 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 ...
22
votes
1answer
384 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
46 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
164 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
556 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?
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 ...
6
votes
2answers
303 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
83 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 ...
5
votes
1answer
277 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
247 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
133 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} ...