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
0 votes
0 answers
26 views

\lstMakeShortInline fails with some characters when luatex-ja and microtype are involved

The following MCE example: \documentclass{article} \usepackage{listings} \usepackage{luatexja-fontspec} \usepackage{microtype} \lstMakeShortInline! \begin{document} Foo !\foo! \fontspec{Latin Modern ...
user avatar
0 votes
1 answer
61 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} \...
user avatar
  • 101
11 votes
0 answers
214 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 ...
user avatar
  • 61
1 vote
1 answer
102 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 ...
user avatar
1 vote
1 answer
149 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 ...
user avatar
  • 4,907
1 vote
1 answer
46 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} \...
user avatar
2 votes
1 answer
64 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{...
user avatar
  • 616
2 votes
0 answers
68 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 ...
user avatar
0 votes
0 answers
36 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 ...
user avatar
  • 1
2 votes
1 answer
124 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 ...
user avatar
2 votes
1 answer
198 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} \...
user avatar
0 votes
0 answers
77 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 ...
user avatar
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 ...
user avatar
  • 4,932
9 votes
1 answer
276 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 {\@...
user avatar
2 votes
3 answers
138 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]...
user avatar
3 votes
0 answers
386 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 ...
user avatar
  • 101
4 votes
1 answer
71 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): \...
user avatar
  • 4,662
1 vote
1 answer
136 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} \...
user avatar
  • 11.1k
5 votes
0 answers
138 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 ...
user avatar
  • 558
1 vote
1 answer
76 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.<...
user avatar
  • 318
4 votes
1 answer
119 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}...
user avatar
  • 525
8 votes
2 answers
451 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 ...
user avatar
  • 135
4 votes
1 answer
219 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 ...
user avatar
  • 4,662
2 votes
1 answer
34 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 ...
user avatar
2 votes
0 answers
106 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 ...
user avatar
2 votes
1 answer
124 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 ...
user avatar
  • 738
1 vote
0 answers
69 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 ...
user avatar
  • 111
12 votes
3 answers
486 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 ...
user avatar
1 vote
0 answers
48 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 (...
user avatar
12 votes
1 answer
339 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 ...
user avatar
  • 235
0 votes
0 answers
140 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/...
user avatar
  • 103
0 votes
0 answers
163 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 ...
user avatar
5 votes
2 answers
280 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. ...
user avatar
  • 3,307
2 votes
1 answer
179 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 ...
user avatar
  • 4,662
1 vote
1 answer
105 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 ...
user avatar
  • 11
2 votes
0 answers
460 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 ...
user avatar
  • 340
1 vote
0 answers
55 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=...
user avatar
  • 909
1 vote
0 answers
67 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: ... ...
user avatar
  • 4,805
12 votes
1 answer
488 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). (...
user avatar
  • 17.3k
0 votes
0 answers
69 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 ...
user avatar
  • 1,228
2 votes
0 answers
111 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 &...
user avatar
  • 1,228
1 vote
1 answer
155 views

Installation of MinionPro: not scalable font?

I have installed Minion Pro on my system following this description. I managed to compile the simple test document without a problem, but once I compile the following I get ! pdfTeX error (font ...
user avatar
  • 923
7 votes
1 answer
404 views

Microtype's `\textls{}' and '\lsstyle' seem to break the icons from Fontawesome5

Sometimes I use the fontawesome5 icons in a block of text set in all uppercase. When I do this I'll letterspace that text with microtype's \textls{} or \lsstyle (depending on the macro) to increase ...
user avatar
0 votes
0 answers
472 views

nonfrenchspacing error missing package?

My tex file works fine as long as I don't put my bibliography inside, in which case I get the error (microtype) \nonfrenchspacing is active. Adjustment of (microtype) interword spacing will disable ...
user avatar
0 votes
1 answer
459 views

CAS bundle (an Elsevier document class) - pdfTeX error (font expansion): auto expansion is only possible with scalable fonts

I'm writing a scientific article using CAS bundle from Elsevier, which is a double-column format. This how my document looks. \documentclass[a4paper,fleqn]{cas-dc} \usepackage[numbers]{natbib} \...
user avatar
  • 3
2 votes
1 answer
62 views

Right aligned lines mismatch when enabling microtype

I have a document which has a right aligned two line header. Said header is created using scrlayer-scrpage. When I also try to enable the microtype package the two lines do not line up at the right ...
user avatar
  • 396
1 vote
1 answer
37 views

microtype justification not working on unnumbered section

I am trying to write a paper using \twocolumn and \microtype. Justification looks pretty good in the text, but not in the section (it protrudes into the second column). How can I stop that? Thank you! ...
user avatar
1 vote
1 answer
50 views

Spacing out factors in products

In a document like \documentclass{scrartcl} \begin{document} $f f_g h^{i_jk^l} m$ \end{document is it possible to increase the spacing in top level products locally/globally? The desired output ...
user avatar
  • 1,486
0 votes
0 answers
87 views

Why doesn't microtype increase tracking for non-small caps?

Originally, I faced the following problem: In my document, I have lots of products with each of the factors having lots of sub- and superscripts attached, so I wondered whether spacing out the factors ...
user avatar
  • 1,486
2 votes
1 answer
38 views

Glossaries bite microtype?

Looks like glossaries doesn't like letter spacing adjustments: whenever I add \textls adjustments to a name in the glossary, the entry is no longer listed under its initial letter, but shows up under ...
user avatar
  • 173

1
2 3 4 5
8