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
53 views

Custom Fonts With pdfLaTeX

I have been using fontspec to use fonts I've downloaded, but this has been achieved through XeLatex. Now I want to use microtype, meaning I have to use pdf(La)Tex. But now I cannot use fontspec, I ...
0
votes
0answers
29 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
49 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 ...
4
votes
1answer
43 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
87 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
55 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
269 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 ...
0
votes
0answers
35 views

LuaLaTex and microtype - error - can anybody help? [duplicate]

I get an error with lualatex and microtype. This is my file: \documentclass[fontsize=12pt]{scrartcl} \usepackage{microtype} \usepackage{lipsum} \usepackage{fontspec} \begin{document} \lipsum \end{...
8
votes
2answers
375 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....
0
votes
1answer
39 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#...
4
votes
1answer
199 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
vote
0answers
105 views

Mixing fonts and microtype settings

I am defining fall backs for missing glyphs in a font and I am partly building on @egreg's answer to this question. Here's a MWE (never mind that the actual replacement defined here makes little ...
32
votes
1answer
1k views

microtype error with lualatex: “attempt to call field warning a nil value”

no answer needed, I'm adding the question as reference After todays update of luaotfload microtype gives an error when used with lualatex: \documentclass{article} \usepackage{microtype} \begin{...
13
votes
2answers
833 views

Microtypography protrusion with Polish quotation marks

I use pdfLaTeX with Polish documents. In Polish quotation marks look like this: „Lorem”. With package polski, one can use them in LaTeX with ,,Lorem''. All was well, but I recently discovered the ...
2
votes
1answer
44 views

Setting TOC page number font options

I have a latex document that looks something like this \documentclass{report} \usepackage[activate={true,nocompatibility},final,tracking=true,kerning=true,spacing=true,factor=1100,stretch=10,shrink=...
1
vote
1answer
123 views

microtype: \texls has no effect

I use microtype's \textls in combination with fontspec to change the tracking of text, and until recently, this worked as it should. Recently, it seems to have stopped to work with fonts other than ...
1
vote
1answer
101 views

microtype - pdftex 1.40 required - but installed

I have the following MWE \documentclass[a4paper,11pt]{report} \usepackage[english, ngerman]{babel} \usepackage[activate={true,nocompatibility},final,tracking=true,kerning=true,spacing=true,factor=...
5
votes
1answer
127 views

width of (\alph*) labels

I made a list using enumitem and \begin{enumerate}[label=(\alph*)] ... \end{enumerate} The resulting labels are, to me, annoyingly uneven. Notice that (b) is much wider than (c) in the image below. ...
1
vote
0answers
45 views

How to mark the space between words

I would like to make the space between words of a text "more visible". Is there a way to colorize the word-space in a text?
5
votes
1answer
88 views

How to fix scrlayer-scrpage / microtype kerning issue?

I am experiencing a weird interaction between scrlayer-scrpage package from Koma Script and a custom microtype setting. I am using scrartcl class together with Minion Pro font and scrlayer-scrpage. I ...
2
votes
1answer
27 views

Line breaks not appearing in optimal location

For some reason, despite using the microtype package, I cannot fix some overfilling in a paragraph, as can be seen in the image below. I would prefer a line break immediately after the open bracket ...
1
vote
2answers
48 views

Inline list: How to insert a non-stretching but line-breaking thin space?

This is a follow-up to How to insert a non-stretching but line-breaking thin space?, but in reference to an inline list. The MWE below attempts to use each of the solutions mentioned there, but the ...
14
votes
1answer
375 views

Unclarities about Microtype's default options

I delved deeper into the details of the microtype package to get the best results and perhaps not the safest results. Four things are still unclear after reading the manual, hence a post here. (1) ...
1
vote
1answer
69 views

Problems with accsupp and microtype

I was building on egreg's solution to this question to provide missing accented characters for my document. I also added accsupp to make sure that the text is searchable. Unfortunately, there seems ...
1
vote
0answers
137 views

Any way whatsoever to get font expansion in XeLaTeX

I have recently switched to XeLaTeX from LuaLaTeX for various reasons, and am missing microtype’s font expansion. Is there a way (any way whatsoever) that this can be achieved, even if it is unstable (...
5
votes
0answers
207 views

Pre-built preamble with LuaLaTeX and microtype

I have been trying to get super-fast compiles with LuaLaTeX by using a pre-built preamble for my documents. However, every time I try to compile, I get this error: No file main.aux. [\directlua]:1: ...
2
votes
1answer
66 views

LaTeX won't hyphenate a word in sectioning header

I have a long subsection title, and it is resulting in the warning Overfull \hbox because LaTeX does not hyphenate the word "recherche" : \documentclass[12pt]{article} \usepackage[french]{babel} \...
1
vote
2answers
147 views

Tuning Paragraph shape for makeup

Recently I happened to process ~4500 paragraphes in my 6-volum book set, ~1500 A4 pages, and I had many operations for page-proofing (widow and orphan control, amount of lines of last paragraph of the ...
2
votes
1answer
211 views

Microtype and Minion Pro

Before I formatted my computer (Windows 7 Pro 64 bit) I had MiKTeX (32 bit installed) and with respect to Minion Pro everything was smooth. I have been using ShareLaTeX since then and today I ...
6
votes
1answer
117 views

How can I improve the kerning of citation footnotes made with natbib?

I'm writing an article that requires the natbib package for citations, and I'm using the super and compress options. Right now I'm "manually" placing the citation outside of punctuation, as in Hello ...
7
votes
3answers
196 views

classicthesis StrSubstitute and accented character

I have a "second order" incompatibility problem between: classicthesis, StrSubstitute and accented characters. Here is a MWE: \documentclass[italian]{article} \usepackage[utf8]{inputenc} \usepackage[...
4
votes
1answer
287 views

microtype warning about “slots” and “text commands”

I’m writing a multilingual document using XeLaTeX, the scrreprt document class, and the XeCJK and microtype packages (loaded in that order). MWE (with the font properly installed on my system): \...
2
votes
1answer
66 views

Problems with using \pagenumbering{roman} in combination with the microtype package and labeling of sections / chapters

I am using the scrreprt document class for writing a report for a study course at my university. While writing the appendix I recognized that there seems to be an error caused by the microtype package ...
6
votes
1answer
133 views

Kerning of MinionPro footnotefigures with microtype

I am using the MinionPro package and with the option footnotefigures. When this option is active, special glyphs are used for footnotes, which look a bit thicker than normal numbers. However, the ...
1
vote
0answers
219 views

Microtype - Fontspec + Textsc = Bad character code [duplicate]

If I load microtpye but not fontspec, use \textsc and compile with XeLaTeX, I get the error Bad character code (-815). ^^I^^I\textsc{asdf}. If I also load fontspec or exclude microtype, the error ...
2
votes
2answers
100 views

Letterspaced texttyper text with identical width for inter-word spaces

I like to use LaTeX to place some text on top of an existing PDF form, so I don't have to fill it out by hand. For this I'm using microtypes letterspacing feature to stretch the upper-case text across ...
6
votes
2answers
209 views

Problem of amsart and microtype under xelatex

Would anyone know what is the problem of the interaction of amsart and microtype under xelatex -- that does not happen under latex, pdflatex or lualatex? With the file: \documentclass{amsart} \...
3
votes
0answers
139 views

Word spacing with tracking in lualatex

What is the right way to do tracking in LuaLaTeX at the moment? My problem is basically the same as in the older question Problem with interword spacing in LuaLaTeX. However, the answer given by ...
1
vote
0answers
101 views

Enable hyphenation like in Word/OpenOffice/Libre Office [duplicate]

At first, I thought that hyphenation does not work properly. But then, I fould out that it is normal for (La)TeX and Babel to hyphenate (microtype) text in a different way than software like Word, ...
0
votes
1answer
375 views

British English hyphenation does not work properly. What is wrong with my code?

\documentclass[12pt,a4paper]{report} \usepackage[british]{babel} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[activate={true,nocompatibility},final,tracking=true,kerning=true,...
1
vote
1answer
90 views

Manually suppressing ligatures with {} does not work throughout the document

I have decided to write a document without using microtype because I have not yet figured out how to solve my kerning issue. But when I am not using microtype, I also cannot use \DisableLigatures{...
5
votes
1answer
118 views

microtype/ntheorem: Protrusion not affecting headers of the theorems

I'm trying to switch to the ntheorem package (instead of amsthm) but I realized that headers of the theorems aren't protruded: \documentclass{article} \usepackage[activate={true, nocompatibility}, ...
8
votes
1answer
95 views

Microtype protrusion doesn't work with hyperref in XeTeX

See this basic MWE. Protrusion works beautifully. \documentclass{article} \usepackage[hidelinks]{hyperref} \usepackage{microtype} \begin{document} Lorem ipsum dolor sit amet, consectetuer adipiscing ...
10
votes
1answer
305 views

Suppress 'ae' and 'oe' ligatures in baskervaldx

I'm using Baskervaldx font with fontspec and LuaLaTeX, but I can't suppress 'ae' and 'oe' ligatures using either \defaultfontfeatures{Ligatures={NoCommon,NoContextual,NoHistoric,NoDiscretionary}} ...
4
votes
1answer
297 views

Microtype: tracking for bold fonts

There are some new fonts (e.g. Fira, now IBM Plex) and even packages for pdftex. The fonts include extrabold and even black subfonts. I'd like to use them, but it seems necessary to add more space / ...
7
votes
1answer
282 views

Automatically alter letterspacing (intra-word spacing) to avoid loose lines with LuaLaTeX

In the book The Complete Manual of Typography by James Felici, it is recommended to sometimes alter the spaces between letters in order not to stretch the inter-word spaces too dramatically. I have ...
0
votes
1answer
1k views

Alternative of \resizebox{\textwidth}{!} for homogenously fixing font size for multiple lines

I am trying to list three different sentences: \begin{tabular}{@{}p{0.4in}p{0.3in}p{4in}} Fall &2015 &Teaching Assistant, Machine Learning (Andrew Ng)\\ Winter &2016 &...
1
vote
0answers
96 views

How to enforce disabled protrusion for first line of paragraph [closed]

My setup is LuaLaTex with fontspec and microtype. I would like to overwrite the default protrusion settings of microtype for the font I am using. As there are no font-specific defaults defined, I ...
0
votes
1answer
311 views

Microtype is not working with lualatex on MikTex [closed]

When I compile a document on a certain MikTeX installation on Windows with microtype 2.7 (determined in MikTeX Package Manager) using lualatex.exe -synctex=1 -interaction=nonstopmode "mwe".tex I get ...
2
votes
1answer
70 views

Problem with lmodern font and paired delimiter / overline

I'm currently writing my bachelor thesis and forgot to include \usepackage[T1]{fontenc}. But I'm using \usepackage[utf8]{inputenc} and \usepackage{microtype}. When I included \usepackage[T1]{fontenc} ...