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}
\usepackage[activate={true,nocompatibility},final,tracking=true,kerning=true,factor=1100,stretch=10,shrink=10]{microtype}
\begin{document}
Hello, here is some text without a meaning. This text should show
what a printed text will look like at this place. If you read this text,
you will get no information. Really? Is there no information? Is there
a difference between this text and some nonsense like “Huardest gef-
burn”? Kjift – not at all! A blindinginng -- enter text here -- text like this gives you information
about the selected font, how the letters are written and an impression
of the look. This text should contain all letters of the alphabet and it
should be written in of the original language. There is more text in this line until it happens and we need more -- this is important -- no need for
special contents, but the length of words should match the language.
This is the second paragraph. Hello, here is some text without a
meaning. This text should show what a printed text will look like at
this place. If you read this text, you will get no information. Really? Is
there no information? Is there a difference between this text and some
nonsense like “Huardest gefburn”? Kjift – not at all! A blind text like
this gives you information about the selected font, how the letters
are written and an impression of the look. This text should contain
all letters of the alphabet and it should be written in of the original
language. There is no need for special contents, but the length of
words should match the language.
\end{document}
Palatino seems to make this problem even more visible.
Update after initial replies:
I don't want to get rid of protrusion at all. However, the dash looks really misplaced to my eye. I have tried the following but cannot find a way that actually shows any effect:
\SetProtrusion
{ encoding = {T1,OT1},
family = {ppl,pplx,pplj} }
{-- = {0,0}}


microtype's core features? – AlexG May 18 '17 at 11:58