Questions tagged [protrusion]
The protrusion tag has no usage guidance.
52
questions
4
votes
0
answers
90
views
OpenType case-senstive forms break microtype's protrusion for hyphens
By enabling the OpenType feature case-senstive forms ([Letters=Uppercase]), vertically lifted brackets, hyphens, or parentheses for example) via setmainfont with fontspec, I loose the protrusion for ...
1
vote
1
answer
85
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}
\...
2
votes
1
answer
122
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{...
2
votes
1
answer
223
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 ...
5
votes
0
answers
189
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 ...
1
vote
0
answers
59
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 (...
1
vote
0
answers
77
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:
... ...
2
votes
0
answers
106
views
ConTeXt: Protrusion inside enumeration
I cannot get protrusion to work inside enumerations. I’m creating a presentation, and most of the content is inside an itemize environment. I have searched all over, in the wiki, the ’Fonts out of ...
3
votes
0
answers
80
views
ConTeXt: Protrusion does not work with the \quotation macro
For some reason, protrusion is not applied when using the \quotation macro. See the following example:
\setuppapersize[S3]
\showframe
\definefontfeature [default] [default] [protrusion=quality]
\...
1
vote
1
answer
59
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!
...
2
votes
1
answer
513
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 ...
13
votes
2
answers
3k
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 ...
14
votes
1
answer
2k
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) ...
5
votes
1
answer
143
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
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 ...
1
vote
0
answers
162
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 ...
2
votes
1
answer
107
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}
\...
3
votes
1
answer
238
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
193
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 ...
3
votes
1
answer
227
views
KOMA-Script ‘fontsize’ with ‘newtxmath’: ‘microtype’ custom protrusion settings not working
I want to use scrbook with fontsize=12pt. To get Linux Libertine with matching math, I use the newtxmath package. I wanted to set up microtype margin protrusion for footnote markers and it didn't take ...
4
votes
1
answer
236
views
SetProtrusion with helvetica on specific characters
I am using a document with Helvetica from the helvet package. I would like dashes not to protrude into the left margin. However, when I use SetProtrusion protrusion is disabled entirely:
\...
10
votes
2
answers
920
views
Disable protrusion from microtype for just one word
I had a really bad overfull hbox in my bibliography caused by an emdash in the first line of a two line entry. The only solution to get rid of the overfull hbox was to line break the emdash to the ...
8
votes
1
answer
166
views
Why does unboxing lose margin kerning in pdfTeX?
Consider the following code:
\showboxdepth=20
\showboxbreadth=200
\hsize=5.33333in
\pdfoutput=0
\pdfprotrudechars=1
\input protcode.tex
\setprotcode\tenrm
\vbox{\noindent Test. Test. Test. Test. ...
5
votes
1
answer
137
views
ConTeXt scaled headline with hanging/protrusion
I'm using \scale to scale up a headline to the width of the entire paragraph, like so:
\def\scaleHead#1%
{\scale[width=\textwidth]{#1}}
\setuphead[subject]
[textcommand=\scaleHead]
\subject{Call me ...
5
votes
2
answers
922
views
Text alignment issue
I have been having trouble getting some text to line up correctly and was hoping I could get some assistance with this. My code is below, as well as a screenshot of the output. I've highlighted the ...
9
votes
2
answers
343
views
microtype: Protrusion not affecting unnumbered section titles
The microtype protrusion won't work in my starred (unnumbered) section titles. I have a feeling that this might be part of a general bug of microtype when dealing with starting lines of environments ...
26
votes
1
answer
2k
views
Which common LaTeX Fonts come prepackaged with specific settings for Microtype?
For anyone interested in achieving the very best microtypography: Some fonts apparently come with microtype specific settings, other fonts don't, in which case microtype applies "Default" settings ...
7
votes
1
answer
311
views
microtype: Customizing protrusion for ellipsis and multiplication symbols
I can’t bring microtype to set protrusion for the \times symbol as well as the … ellipsis symbol).
I used the "XXXX ={} notation to refer to these symbols (with XXXX being the UTF-8 code), as ...
2
votes
1
answer
686
views
Does protrusion in pdfLaTeX or XeLaTeX work as it should?
\documentclass[11pt]{article}
\usepackage[protrusion=true,expansion=true,final]{microtype}
\begin{document}
\section*{The Microtypesetting}
\noindent
A run of the mill paragraph with some text that ...
21
votes
1
answer
256
views
How does one retrieve \rpcode values in LuaTeX?
The \rpcode values from pdfTeX are properties of font characters, e.g.,
\rpcode\font 50 = 200
sets the right protrusion value for character 50 in the current font to 200. Reading chapter 7 of the ...
2
votes
0
answers
596
views
Maintaining Optical Margins with Hanging Punctuation
To achieve hanging quotation marks, I am changing their protrusion settings in my preamble:
\documentclass{minimal}
\setlength{\parindent}{0cm}
\usepackage{luatextra}
\setmainfont{Times}
\...
3
votes
1
answer
101
views
Cannot deactivate protrusion locally
I do some comparision of typesetting tools and encountered the following issue in XeLaTeX (TeXLive 2013 version).
I use two same text boxes but with different protrusion settings (transparent text, ...
9
votes
1
answer
390
views
How can I make my dash work with microtype?
Consider the following definition:
\documentclass[a6paper]{article}
\usepackage[showframe]{geometry}
\usepackage{microtype}
\def\Dash{\unskip\thinspace\textemdash\thinspace\ignorespaces\allowbreak}
...
2
votes
0
answers
213
views
XeLaTeX and microtype protusion problems at hyphens [closed]
I was excited to learn that XeLaTeX finally has microtype support (I had asked about that earlier). However, after adding microtype to my document, I noticed that line breaks at hyphens now go wrong.
...
5
votes
1
answer
858
views
Font protrusion --- who really uses it? [closed]
Apart from the paradigmatic appeal to some of Gutenberg's Bibles, I have not seen further actual examples of texts typeset using font protrusion and hanging punctuation. Indeed, as a scholar and a ...
10
votes
1
answer
3k
views
Hanging punctuation with \enquote
Following this advice on tex.sx, I'm using csquotes.
And I'd like to have hanging punctuations, for instance that left-quotation marks are displayed in the margins. I focus on this point in this ...
9
votes
2
answers
883
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:
(...
9
votes
1
answer
2k
views
How do I enable protrusion for footnotes with \fnsymbol using microtype?
In microtype package (v.2.5 beta 06) and footnote protrusion, custom protrusion for footnote numbers is enabled. However, as soon as I edit the footnote characters to the ones generated by \fnsymbol ...
12
votes
2
answers
2k
views
How can I fix a problem where italics prevent line breaking when using microtype? [duplicate]
I wish to use protrusion and expansion from microtype as I like the look you get with them. I use amsthm and typeset theorems in italic as usual (with \theoremstyle{plain}). With microtype enabled, ...
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 ...
5
votes
1
answer
1k
views
Setting font protrusion in XeLaTeX with microtype v2.5
I am testing microtype v2.5 with XeLaTeX and have checked the font protrusion features. With the default features, the hyphen protrudes at a hyphenation about 50 per cent of its width. Nonetheless, I'...
1
vote
1
answer
637
views
How do I activate hanging punctuation with XeteX under ConTeXt?
I'm noob at ConTeXt. I want to use auto2 font with ConTeXt, I think the easiest way to do that is using the XeTeX backend. ConTeXt can do some protrusion with pdfTeX and LuaTeX, but with XeTeX it ...
13
votes
1
answer
2k
views
How to set expansion and protrusion for TeX Gyre Pagella using LuaLaTeX?
For my documents, I have often used the mathpazo package combined with microtype and have found the result to be really good. Because now I need to create PDFs which contain a variety of diacritics ...
18
votes
4
answers
7k
views
How do I get the protrusion to work in XeTeX?
When I render my documents using pdfLaTeX and microtype they look fine, but when I switch to XeTeX the right edges of justified text look terrible: some lines overlfow, and hyphens look "indented". Is ...
20
votes
1
answer
1k
views
LuaLaTeX protrusion problem with Negative value
Please see the following screen shots.
As you can see there are two "overfull" hbox there. However, LaTeX does not produced any overfull box warning at all. I tried to produce a minimal working ...
8
votes
1
answer
2k
views
microtype package (v.2.5 beta 06) and footnote protrusion
According to section 6 of microtype manual (v.2.5 from 2011/02/07, p. 23) the code below should set custom protrusion for footnote numbers. However, when \microtypecontext command is set, it cancels ...
11
votes
1
answer
5k
views
XeTeX, microtype and fontspec
I am using XeTeX from TL2010 with microtype 2.5 beta and fontspec. My main font is Linux Libertine O. I do not see a single difference with and without including the microtype package.
Am I doing ...
3
votes
1
answer
671
views
microtype protrusion incompatible quote, changemargin and adjustwidth environments
Here is my problem. I need some text to have a reduced margin. Unfortunately, none of the suggested methods of doing this appear to be compatible with microtype protrusion. Is this a bug? Is there a ...
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{...
29
votes
3
answers
2k
views
Can I get full justification for italic text?
In the TeXbook, Knuth notes that italics can lead to problems with justification:
EXERCISE 14.16
When an entire paragraph is typeset in italic or slanted type, it sometimes appears to be offset ...