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

Microtype problem with line-endings

today i noticed that when i compile my Tex-File with LuaLaTeX and the Microtype-Package that the line-endings are not correctly formatted. Here an small example where you can see that the punctuation ...
4 votes
2 answers
336 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 ...
7 votes
0 answers
855 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
1 answer
143 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
2 answers
312 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
1 answer
603 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 ...
7 votes
1 answer
189 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 ...
0 votes
1 answer
679 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,...
7 votes
3 answers
280 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[...
12 votes
1 answer
390 views

Unwanted kerning inside em-dash when using microtype

I'm using microtype together with XCharter font. I have to add some space around en-dash and this works perfectly. Now I introduced some em-dashes with '---' but these are rendered by pdflatex as an ...
6 votes
1 answer
642 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): \...
6 votes
1 answer
236 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 ...
2 votes
1 answer
244 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 ...
2 votes
2 answers
271 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
2 answers
412 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
0 answers
172 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
0 answers
178 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, ...
5 votes
1 answer
146 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}, ...
1 vote
1 answer
143 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{...
8 votes
1 answer
157 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
1 answer
795 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
1 answer
454 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 / ...
9 votes
1 answer
713 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
1 answer
4k 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
0 answers
164 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
1 answer
635 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
1 answer
184 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} ...
5 votes
0 answers
501 views

Automatic letterspacing of capitals

I have a very large text corpus that I am fine-tuning for typography among other things. From what I know, abbreviations, such as ACAB, need to be letterspaced. I have found somewhat convincing ...
2 votes
1 answer
111 views

Protrusion not working for cyrillic dash

In the following LuaLaTeX MWE I am using protrusion, but it doesn't work for the cyrillic dash "--- (it is a babel shortand) while working for the normal one. \documentclass[10pt,draft]{scrbook} \...
18 votes
3 answers
8k views

How to set-up LuaTeX, Microtype, with Minion Pro, Myriad Pro

Since recently I am using LuaLaTeX with the most recent beta version of Microtype, along with the fonts Minion Pro and Myriad Pro. In the manual of Microtype it says: Currently, this package ...
12 votes
1 answer
1k views

MinionPro, microtype and \j - Is there a way to get rid of a strange warning?

When I typeset my free physics textbook, I get a microtype warning Unknown slot number of character `\j' (It happens only for this character, no other one.) I get this message since many years, ...
13 votes
1 answer
714 views

Disabling ligatures also disables kerning

I am using Adobe Minion Pro (mostly because of its maths support), but I don't want to use the 'Th' ligature. This decision is based on guidance from Bringhurst's Elements of Typographic Style. I ...
3 votes
1 answer
249 views

How to protrude the left side of a bibliography?

In some circumstances it is very nice to have a bibliography text typeset with protrusion enabled, especially when one uses a bibliography style in which a lot of lines begin with italics. However, ...
1 vote
0 answers
512 views

Undefined control sequence \DeclareMicrotypeSet

I am trying to compile the tex file for CV template of https://raw.githubusercontent.com/grayclhn/safecv/master/template-grad.tex. The error message is : ! Undefined control sequence. l.45 \...
9 votes
2 answers
892 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: (...
7 votes
2 answers
439 views

Setting SMALL CAPS font protrusion in microtype for Charis SIL?

I am trying to enable font protrusion for Charis SIL in microtype when typesetting with the XeTeX engine. The mycrotype manual indicates that it has protrusion settings for Charis SIL, but only in ...
6 votes
1 answer
450 views

Microtype and textpos

I have found an effect on the part of the microtype package that I'd wish to cancel somehow. In the MWE that I am including below I collect a couple of token contents to be typed as part of a footer ...
4 votes
1 answer
208 views

Space from line

How can i obtain the correct spacing of the two writings from the line? if you note the upper write is more far from the line... \documentclass[a4paper]{memoir} \RequirePackage[babel=true,...
24 votes
1 answer
2k views

Wrong protrusion with csquotes and microtype

I’m experiencing problems using the csquotes package and microtype using protrusion (margin kerning). The problem is that using \enquote I only get margin kerning on the left margin. \documentclass{...
8 votes
1 answer
459 views

Customizing protrusion in microtype using \SetProtrusion

I am using microtype in a document (with pdftex) and I would like to alter the amount of protrusion that small numbers (i.e. the digits 0-9) are subject to. However, I cannot make \SetProtrusion ...
22 votes
4 answers
1k views

Microtype and quote environment leads to different indent of first line

When the microtype package is loaded a quote environment which starts with punctuation marks is inconsistent "indented". The first line in the following minimal example is unaffected, i.e. at the same ...
2 votes
2 answers
317 views

How to *disable* Lua's Microtype for a given tabular column?

I'm looking for a way to disable Lua's Microtype (note the capital M - to distinguish from the lower case microtype package) in the first tabular column of the MWE given below: \documentclass[a4paper]...
5 votes
1 answer
933 views

Microtype and LuaTeX: changing protrusion and hanging punctuation

I'm experimenting (using TeXLive 2013) with having my punctuation marks extend fully into both the left and right margins. I don't know how to include images so I'll do my best to format this here to ...
8 votes
1 answer
677 views

How do I call microtype's \SetProtrusion in the preamble?

In this answer about full justification for italic text, I used microtype's \SetProtrusion to get better-looking margin kerning for italics. It works fine, but I had to call \SetProtrusion after \...
35 votes
1 answer
7k views

microtype producing dozens of Unknown slot number warnings

With TeX Live 2017, microtype has started producing dozens of unknown slot number warnings. This does not happen with TeX Live 2016 (fully updated). Here is an MWE: \documentclass{article} \...
1 vote
0 answers
197 views

SetProtrusion of microtype package doesn't have any effect [closed]

I am trying to change or disable protrusion for specific characters. However, it doesn't seem to have any effect at all. I use Charis SIL font and for now I am trying to disable endash and emdash ...
0 votes
1 answer
375 views

Using microtype (or similar) to sequeeze/extend paragraph by one line?

I am tuning page breaks for a book; it has very short paragraphs (dialogues), many 2 & 3-liners, thus many potential widows/clubs which I try to avoid; this leads to large stretching of vertical ...
24 votes
1 answer
515 views

protrusion issue - pdftex bug, microtype bug or LaTeX bug?

While finishing an article for TUGboat I came across a strange behavior of the protrusion mechanism of pdfTeX (as implemented by the microtype package). The character \ in typewriter has a negative ...
12 votes
1 answer
202 views

Deactivate protrusion for active character `«

Is ist possible to deactivate microtype’s protrusion for certain characters only? I’m trying to make «#1» a shortcut for \fbox{#1} but it won’t work unless I deactivate protrusion completly. % !TeX ...
2 votes
1 answer
116 views

Avoid en dashes from sticking out of the text body with microtype [duplicate]

When using microtype, en dashes seem to extend beyond the text body if they appear at the beginning or end of a line. How can I get around this? MWE: \documentclass{article} \usepackage{mathpazo} \...

1 2 3
4
5
9