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
0answers
45 views

LuaLaTeX: ctex and microtype together produce errors “Missing font identifier”

Compile the following MWE with LuaLaTeX: %! TEX program = lualatex \documentclass{article} \RequirePackage[fontset=fandol]{ctex} \usepackage{microtype} \begin{document} {\small\scshape Some text} \...
2
votes
1answer
25 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 ...
2
votes
0answers
68 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 ...
2
votes
1answer
66 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 ...
1
vote
0answers
48 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 ...
0
votes
0answers
54 views

Package microtype Warning: Unknown slot number of character

Although I know this question was already asked it still is an issue. I'm using texlive 2021 with lualatex 1.13.2 and Microttype 2.8c. But I still get Package microtype Warning: Unknown slot number of ...
12
votes
3answers
447 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 ...
2
votes
0answers
40 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 (...
10
votes
1answer
227 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 ...
0
votes
0answers
65 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/...
0
votes
0answers
67 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 ...
5
votes
2answers
106 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. ...
2
votes
1answer
75 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 ...
1
vote
1answer
75 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 ...
2
votes
0answers
114 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 ...
1
vote
0answers
52 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=...
1
vote
0answers
49 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: ... ...
12
votes
1answer
311 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). (...
0
votes
0answers
59 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
vote
0answers
96 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
vote
1answer
103 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 ...
7
votes
1answer
268 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 ...
0
votes
0answers
248 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 ...
0
votes
1answer
314 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} \...
2
votes
1answer
49 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 ...
1
vote
1answer
33 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! ...
0
votes
1answer
44 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 ...
0
votes
0answers
78 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 ...
2
votes
1answer
37 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 ...
1
vote
0answers
91 views

dvipdfmx and dvips do not expand fonts properly with lualatex in DVI mode

dvilualatex with microtype is supposed to support expansion, even in DVI mode. And indeed it seems to work when producing the DVI file. But then the generated file does not actually include expanded ...
2
votes
1answer
150 views

Microtype: How to disable protrusion for single characters?

I want to disable the protrusion for endashes and emdashes. The line filling does not look good there ... But how to do so? According to the answers here, I tried to manipulate the font packages but ...
0
votes
1answer
167 views

Conflict between Minion Math font and math-mode siunitx?

Update 3 07FEB2020: When I replace Minion Math with Asana Math, it also doesn't compile! Seems like only certain fonts work, so it must be a siunitx or unicode-math issue... Update 2 of 06FEB2020: It ...
5
votes
2answers
479 views

Microtype expansion gets disabled when fontsize is changed! (lualatex)

It seems like microtype's expansion gets disabled when fontsize is changed from default fontsize. Here are two pieces of code, in the first one expansion does work, in the second one it does not (as ...
0
votes
0answers
46 views

Prevent microtype's textls from add space before word division hyphen

Is there any way to prevent microtype's textls from add space before word division hyphen? \documentclass[a4paper,12pt]{book} \usepackage{fontspec} \setmainfont{texgyretermes} \usepackage[letterspace=...
7
votes
1answer
304 views

Making microtype match TeXLive2019 on arXiv (TeXLive2016)

If I compile the same document locally, with pdflatex shipped with TeXLive2019 installed, I get a different pdf than if I compile the same sources on arXiv, which currently uses TeXLive2016. I ...
0
votes
1answer
184 views

How to Stretch Font Vertically—INLINE—without \scalebox?

Closely Related: Stretching text vertically Is it possible to stretch a font vertically—INLINE—without using \scalebox? For example, I would like to have a paragraph with italicized text, or small ...
4
votes
1answer
655 views

Disable microtype warning

My document compiled without warning, I was so proud of it. I updated texlive this morning and suddenly my document produces a warning :( LaTeX Warning: Command \showhyphens has changed. ...
0
votes
0answers
89 views

Xelatex not recognizing fonts installed

I'm using Linux Mint, and I'm collaborating in a project of a book. There are many custom packages created, and one of them in respect of the fonts. The fonts defined are: \RequirePackage{ifthen} \...
0
votes
0answers
121 views

Should “font tuning” of IEEEtran be disabled when using the microtype package with the IEEEtran class?

According to the documentation of the IEEEtran class, IEEEtran normally alters the default interword spacing to be like that used in IEEE publications. The result is text that requires less ...
6
votes
3answers
511 views

What does TeX do to make text more beautiful? (Answer: four things.)

This original question was: Are fonts rendered more beautifully with LaTeX than with other systems, such as Word? The larger question really is: Beyond overall document layout, what specifically ...
0
votes
0answers
126 views

microtype does not load particular configuration file

The following example via XeLaTeX \documentclass{article} \usepackage{microtype} \usepackage{fontspec} \setmainfont{TeX Gyre Termes} \begin{document} Test \end{document} produces a log file ...
0
votes
0answers
108 views

Justification broken

I recently had problems with the text justification. Most of these have been resolved by the simple adding of the microtype package. However, I still have one broken justification in my text: I ...
3
votes
1answer
114 views

Is it tolerable to force hyphenation in English one-syllable words in small layouts?

I already know English language does not allow hyphenation of one-syllable words, that is why I am not asking this question on english.sx. But I am facing a typesetting task (humanities) with a very ...
4
votes
1answer
415 views

“Unknown slot number of character” with microtype and siunitx

This MWE produces the following warnings: \documentclass{article} \usepackage{microtype} \usepackage[detect-all]{siunitx} \begin{document} \num{1e-3} \end{document} I receive 5 warnings similar ...
2
votes
2answers
207 views

`microtype`: Set Minimum Width of a Space

Problem Description I am a newbie. I use microtype package. I would like to set the minimum width of a space to a width of a regular space. However, with default settings, it is shrinked too much and ...
2
votes
0answers
92 views

adding microtype package produces invalid DVI error when using fouriernc package

This MWE \documentclass[11pt,notitlepage]{article} \raggedbottom \usepackage{fouriernc} \usepackage[T1]{fontenc} \usepackage[activate={true,nocompatibility},final,tracking=true, ...
5
votes
2answers
415 views

Kerning for subscripts of \sigma?

Is there any way to reduce the distance inside σ₀ and between \sigma and its subscript in general in the following setup automatically? That is, each time you type in \sigma_0 (or \sigma_1 etc.), you ...
8
votes
2answers
421 views

Unable to supress ligatures in headings which are set in Caps

I am aware that similar questions have been asked a few times. However, none of the answers solved my problem. This Answer says that it is a bug in luaotfload. But I'm already using a newer version (2....
1
vote
1answer
99 views

incompatibility between tikzposter class, microtype and hyperref package

MWE: \documentclass{tikzposter} \usepackage{microtype} \usepackage{hyperref} % Ref: https://tex.stackexchange.com/questions/254257/tikzposter-and-doi-package-conflict \def\HyperFirstAtBeginDocument#...
7
votes
1answer
434 views

Microtype package produces warning when using LuaTex

I am receiving the following warning message whenever I include microtype: Module microtype Warning: overwriting function `keepligature' on input line 59 Here is a minimum working example: \...

1
2 3 4 5
7