Difference between revisions of "Command old/setuptolerance"
Jump to navigation
Jump to search
(Clarify the stretch option) |
(add category and autosyntax) |
||
Line 5: | Line 5: | ||
== [[Help:Reference|Syntax]] == | == [[Help:Reference|Syntax]] == | ||
− | + | ||
− | + | <syntax>setuptolerance</syntax> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | </ | ||
== Description == | == Description == | ||
Line 78: | Line 71: | ||
{{Forum|{{SUBPAGENAME}}}} | {{Forum|{{SUBPAGENAME}}}} | ||
− | [[Category: | + | [[Category:Command/Hyphenation|setuptolerance]] |
Revision as of 16:22, 20 December 2019
\setuptolerance
Syntax
\setuptolerance[...,...] | |
[...,...] | horizontal vertical verystrict strict tolerant verytolerant space stretch |
Description
Set up how tolerant TeX should be of ‘ugly’ stretching of spaces. The more stretching you allow, the easier it is for TeX to choose a stretched-out underfull line instead of a margin-invading overfull line.
Use \setuptolerance[horizontal,...]
for interword spacing and \setuptolerance[vertical,...]
for column stretching. Don't try to combine these two.
The default orientation is horizontal, so the following two are equivalent:
\setuptolerance[horizontal,tolerant] % and \setuptolerance[tolerant]
In horizontal orientation the keywords have the following effect:
stretch: | make \emergencystretch equal to \bodyfontsize (i.e. 11pt), default is 0pt |
space: | \spaceskip .5em plus .25em minus .25em |
verystrict: | \tolerance 200 |
strict: | \tolerance 1500 |
tolerant: | \tolerance 3000 |
verytolerant: | \tolerance 4500 |
In vertical orientation the keywords define a factor bottomtolerance which is only used(?) in columns. The factors are:
verystrict: | 0 |
strict: | 0.050 |
tolerant: | 0.075 |
verytolerant: | 0.100 |
Example
See also
Help from ConTeXt-Mailinglist/Forum
All issues with: