What is the scope of the \hyphenpenalty command? E.g.
\hyphenpenalty=0
Dear hyphens! You are welcome here! Welcome!
{
\hyphenpenalty=100000
We don't want no pesky hyphens inside dis here block! Dey tuk r jurrbs!
}
I sure hope those inner-block bigots haven't scared away
those poor hyphens out here too!
Are hyphens still welcome after the inner block? :)
For context: I'm trying to write stuff in the margin in places where I've highlighted corrections in my thesis, and I'd appreciate aggressive hyphenation to make more use of limited available margin space. Aesthetics don't really matter too much because it's to point out what a correction was for, so it will be removed in the official document. I want to make sure that having a hyphenpenalty inside a marginpar won't affect the rest of my document.
\the\hyphenpenaltyto check the value inside and outside block – touhami Dec 18 '16 at 18:26