Questions tagged [microtype]

{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.

Filter by
Sorted by
Tagged with
2 votes
1 answer
36 views

Another font for italic, and Open Features

Xelatex I can set special font for italics so \setmainfont[ItalicFont={Ropa Mix PTT}]{Theano Old Style} I can set Open features, or Letter spacing so: \newfontfamily{\notefnt}{Slopes}[LetterSpace=8....
0 votes
0 answers
39 views

Strange interaction of \tagform@ and microtype

Consider the following example, in which I'm using \tagform@ to mimic the look of \eqref when trying to add a prime symbol to the equation number. \documentclass{article} \usepackage{amsmath} \...
  • 6,831
2 votes
0 answers
42 views

Cabin Font, Microtype, and Lualatex Produce Smallcaps---but not with Tracking=True

In the following MWE, I am using Cabin as the main font and compiling with lualatex. Remark: I do not believe that this is a duplicate with Smallcaps don't work if fontspec's microtype is used ...
  • 5,807
0 votes
0 answers
343 views

How to resolve this message, Package microtype Warning: Unable to apply patch `eqnum'

While using elsarticle-num.tex, I tried to disable hyphenation and make text in justifying alignment (horizontal-alignment) as MS-Word. \usepackage{microtype} is fine to make less hyphenation, there ...
5 votes
0 answers
150 views

Microtypography status in LuaTeX

According to this table from the microtype manual, the current support of microtypography in the TeX engines is as follows: Nevertheless, TeX.SX is full of LuaTeX workarounds in specific cases for ...
  • 11.4k
5 votes
1 answer
175 views

How to set the "correct" tracking with fontspec and microtype (LuaLaTeX)

I'm using LuaTeX with Garamond Premier font. For some reason, enabling tracking from microtype package changes the tracking of small caps quite considerably. Maybe too much? See the pictures: With ...
  • 613
4 votes
1 answer
195 views

How to limit scope of microtype's letterspacing command \textls to non-math environment?

Package microtype has the command \textls to manipulate letterspacing in an ad hoc manner. While its use is usually frowned upon by typographists, according to microtype's user manual (p 23 footnote), ...
0 votes
2 answers
59 views

Extra horizontal space with titlesec's runin style and microtype

Consider the following example: \documentclass{article} \usepackage{titlesec} \usepackage{parskip} \usepackage{microtype} \titleformat{\section}[runin]{}{}{0pt}{} \titlespacing{\section}{0pt}{\...
  • 6,831
3 votes
1 answer
47 views

footnote inside csquotes' blockquote: fails if microtype is loaded

The following MCE: \documentclass{article} \usepackage{csquotes} % \usepackage{microtype} \begin{document} \blockquote{foo\footnote{bar.}.} \end{document} compiles like a charm but it is not the case ...
16 votes
2 answers
659 views

Is there microtype support for plain TeX?

Is there code to make the microtypography primitives, particularly font expansion, usable with the plain TeX format running with native PDF-output engines (namely pdfTeX and LuaTeX)? I don't think the ...
  • 1,728
1 vote
1 answer
72 views

Indentation/protrusion of first line in redefined quote with microtype

MWE: \documentclass{article} \usepackage{microtype} \renewenvironment{quote} {\list{}{\leftmargin0.5cm \rightmargin0cm} \item\relax\fontsize{9.8pt}{11.4pt}\selectfont} {\endlist} \begin{document} \...
  • 111
14 votes
0 answers
272 views

Optimising microtype for variable fonts

One can find the following passage on p. 27 of the microtype package documentation: Don’t use too large a value for expansion. Font expansion is a feature that is supposed to enhance the typographic ...
  • 191
1 vote
1 answer
117 views

Roman numerals in TOC are not in smallcaps - microtype problem with memoir

I'm using the memoir class for typesetting a book. In the \frontmatter I have a chapter with a section and a subsection. My problem is that, in the TOC, the page number of the chapter appears in ...
1 vote
1 answer
175 views

Overrunning Sentences within Emphasized Text When Using Microtype and Compiling with Lualatex [closed]

Consider the code which is to be compiled with Lualatex: \documentclass{book} \usepackage{lipsum} \usepackage[tracking=true]{microtype} \begin{document} \large \emph{\lipsum[1]} \end{document} which ...
  • 5,807
1 vote
1 answer
58 views

\blx @keyaliases@1 entry could not be found in the database

The compilation of the following MCE: \documentclass{article} \usepackage{titleps} % \usepackage{microtype} \usepackage{biblatex} \usepackage{lipsum} \addbibresource{biblatex-examples.bib} \...
2 votes
1 answer
84 views

Activate microtype-Protrusion for superscript old style numbers with LuaLaTex

I’ve been playing around with microtype’s protusion-capabilities and LuaLaTeX, but faced a problem regarding old-style superscript numbers. The regular numbers protrude. This code \documentclass{...
  • 626
2 votes
0 answers
110 views

Microtype warnings (~100) with fontsetup (NewComputerModern)

I have been using the microtype package together with the fontsetup package. The document seems to compile normally. Protrusion and expansion also seem to be working, but I usually get around 100 ...
0 votes
0 answers
41 views

Problem using acmart class with smartref package

I use the smartref package. I would like to use it together with \documentclass{acmart}, but I get an error message when I run LaTeX on the document below for the second time. The error is on the ...
  • 1
2 votes
1 answer
137 views

Microtype quotation marks in itemize not aligned properly at begin of an item

A fellow LaTeX user ran into a problem using quotations inside an itemize/enumerate environment. When using automatic quotation marks from csquotes at the beginning of an item, the quotation mark is ...
3 votes
1 answer
3k views

\usetagform incompatible with microtype?

It seems that \usetagform in mathtools package is incompatible with microtype package as can be seen in the following MWE: \documentclass[10pt]{article} \usepackage{microtype} \usepackage{mathtools} \...
0 votes
0 answers
104 views

Using custom sans serif fonts with pdfLaTex to facilitate microtype usage

I'm currently making an unofficial thesis/dissertation template for my college. There are some caveats to such an endeavour because of my college's formatting guidelines. One challenge is that the ...
4 votes
0 answers
43 views

Microtype package v 3.0a with documentclass `book` in \maketitle: bug [duplicate]

I found a bug when I use microtype package v 3.0a with documentclass book in \maketitle macro. % !TeX program = pdflatex % !TeX encoding = utf8 \documentclass{book} \usepackage{microtype} \title{My ...
  • 5,194
9 votes
1 answer
319 views

\maketitle has stopped working, despite backing up data

Out of the blue I have started receiving the following errors (despite loading up previous versions of my files and/or bib. files from the cloud): Runaway argument? {\scantokens { \Huge {\bfseries {\@...
2 votes
3 answers
147 views

microtype won't work in theorem environment, using Times New Roman

I'm using microtype package in my document. However, it won't fit to margin the text into the definition environment. Here is the code: \documentclass[letterpaper]{article} \usepackage[protrusion=true]...
3 votes
0 answers
403 views

Overfull \vbox in list of figures since MiKTeX update

Since updating my MikTeX distribution, I am getting an overfull \vbox warning in the list of figures when the microtype package is loaded and the entry expands over more than a single line, as shown ...
  • 101
4 votes
1 answer
80 views

How to turn off microtype temporarily?

As a temporary workaround for the conflict between microtype and ctex, I need to disable microtype around the command \scshape. In old versions, there is a key disable for this (see this answer): \...
  • 6,831
1 vote
1 answer
161 views

microtype, csquotes active quotes and itemize interaction

I've met today a bad interaction between microtype, csquotes autoquotes, and the itemize environment, essentially leading to a "forgotten \endgroup" error. A MWE: \documentclass{article} \...
  • 11.5k
5 votes
0 answers
143 views

Closing quotation marks don't protrude into the right margin of bibliography with biblatex

I like how the microtype package handles character protrusion when I compile my LaTeX documents with LuaLaTeX. But I have noticed that this doesn't seem to work properly in the bibliography that the ...
  • 568
1 vote
1 answer
90 views

Conflict between microtype and syntax packages

While using the syntax package together with microtype, I stumbled on a strange error: Missing font identifier.<to be read again>\chardef <TEST> ::= ` Missing number, treated as zero.<...
  • 350
4 votes
1 answer
162 views

\textls (from microtype) not working consistently for things in math mode

In the following code: \documentclass{article} \usepackage[letterspace= -150]{microtype} \usepackage{amsmath} \DeclareFontFamily{U}{BOONDOX-calo}{\skewchar\font=45 } \DeclareFontShape{U}{BOONDOX-calo}...
  • 593
8 votes
2 answers
474 views

Using polyglossia, microtype and newcomputermodern with LuaLaTeX results in "0.0.0.0.0" being added

Using the packages polyglossia, microtype and newcomputermodern when compiling with LuaLaTeX leads to ".0.0.0.0.0" being added. This occurs at the beginning of the document and with section ...
  • 135
5 votes
1 answer
245 views

LuaLaTeX: ctex and microtype together produce errors when using "\scshape"

Consider the following MWE, to compile with LuaLaTeX: %! TEX program = lualatex \documentclass{article} \RequirePackage[fontset=fandol]{ctex} \usepackage{microtype} \begin{document} {\scshape Some ...
  • 6,831
2 votes
1 answer
38 views

Line-width distributed letter-spacing with \newcommand macros

I am using the soul package to produce "distributed" text. That is, text that is automatically spaced such that it fills the entire line. This works great, but now what I want to do is use a ...
4 votes
0 answers
147 views

What are the pros and cons of using microtype or LuaTeX's inbuilt microtypography features?

Both the microtype package and LuaLaTeX appear to offer the ability to use protrusion and expansion for microtypographic improvement. However, as a recent convert to LuaLaTeX, I'm quite confused as ...
  • 414
2 votes
1 answer
140 views

Force \fontdimen 6 for a specific font to silent a microtype warning

I am using the packages fdsymbol together with the microtype package and there are many warnings a compile time stating the following: Package microtype Warning: Font `U/FdSymbolF/m/n/14.4' does not ...
  • 738
1 vote
0 answers
90 views

Disabling ligatures only for small caps style?

I want to write the word Beruflich in small caps using the \scshape command. However, when the letters fl are next to each other they are output without small caps. When they are separated by a space ...
  • 111
12 votes
3 answers
497 views

Wrong alignment with microtype: "(3D)" is too far left; inside enumerate. Is it by design?

The package microtype is meant to make small improvements to the final look of a LaTeX document. According to an answer to Should I load microtype with pdflatex? and a comment beneath the answer, one ...
1 vote
0 answers
54 views

pdftex character protrusion without latex: what happened to protcode.tex?

If one uses pdftex, not pdflatex, and wants character protrusion, it used to be that one would input protcode.tex. That was present in texlive2015, but disappeared by texlive2019. The pdftex manual (...
12 votes
1 answer
382 views

What are the downsides of using XeTeX?

In 2021, what are the downsides of using XeTeX (or LuaTeX), as opposed to pdfTeX? There is a similar question here but the answers are mostly old. Has the situation improved since, with regards to ...
  • 235
0 votes
0 answers
169 views

Microtype: 'Unknown slot number of character' for Palatino in classicthesis w/ LuaLatex

I'm trying to convert my document to use classicthesis. By default, it uses the palatino font, which however results in the following error at while compiling with LuaLatex: File: mt-Palatino.cfg 2012/...
  • 103
0 votes
0 answers
250 views

LuaLaTeX and Microtype with cmbright -- spacing and kerning

I like the cmbright typeface, like what microtype does, and love the facilities LuaLaTeX can offer. However, microtype's kerning and spacing features are not compatible with LuaLaTeX. I definitely ...
6 votes
2 answers
367 views

,,Improper \halign inside $$'s`` with lmodern/microtype/fontspec

This is less of an actual problem than a "why does this happen" question. When working on a larger document, I started getting spurious and (to me) inexplicable Improper \halign inside $$'s. ...
  • 3,411
2 votes
1 answer
286 views

Interactive button in the pdf file

I thought .pdf files generated with LaTeX were static, until I see this interactive button on page 4 of the documentation of microtype: It is amazing! How is this achieved? Is it possible to build ...
  • 6,831
1 vote
1 answer
115 views

Italicized characters violating margins, even with microtype option [protrusion=false]

Pretty self-explanatory. I'm dealing with a gov't agency which uses automated checks for uploaded documents. I was going in circles trying to find margin violations. I expected microtype to be able ...
  • 11
3 votes
0 answers
651 views

Package microtype Warning: I cannot find a spacing list for font (microtype)

I am getting that warning message here when using the package nicematrix in Texmaker on an Ubuntu-PC. I have never seen that before in any setting: Package microtype Warning: I cannot find a spacing ...
  • 360
1 vote
0 answers
57 views

Tracking (microtype) causes different results within \makebox

Why is the tracking for small caps text different in \makebox and how can I get an equal result? % !TeX TS-program = lualatex \documentclass{book} \usepackage{fontspec} \usepackage[% tracking=...
  • 909
1 vote
0 answers
68 views

Why does my .otf font not like microtype's protrusion?

And, more importantly, what can I do to fix it? No MWE, since it happens every time I use a particular font (and not when I don't or disable microtype's protrusion). These are the warnings I get: ... ...
  • 5,955
12 votes
1 answer
526 views

How do I properly tell Microtype that `newcomputermodern` is the same as `computer modern`?

I noticed this error message from microtype in my log file: Package microtype Info: Loading generic protrusion settings for font family (microtype) `NewCM10-Book.otf' (encoding: TU). (...
  • 17.4k
0 votes
0 answers
73 views

Microtype setting doesn't override previous one if font color matches

I am trying to set tracking, word-spacing, font-color (lets call them (T,W,C)) independently in different parts of the document. In my observation, certain microtype settings don't override old ones ...
  • 1,248
2 votes
0 answers
112 views

LuaTeX: Microtype/fontspec/luaotfload buggy interaction canceling each other's settings

Microtype and fontspec/luaotfload seem to interact, and cancel each other's settings. In the following code, fontspec option Color=FF0000 and \lsstyle interact to cancel each others effect (coloring &...
  • 1,248

1
2 3 4 5
8