Changes

Jump to navigation Jump to search
m
Taco moved page Command/setuptolerance to Command old/setuptolerance without leaving a redirect
== [[Help:Reference|Syntax]] ==
<table cellspacing="4" cellpadding="2" class="cmd">
<tr>
<td colspan="2" class="cmd">\setuptolerance<span class="first" >[...,...,...]</span></td>
</tr>
<tr valign="top" class="first">
<td class="cmd">[...,...,...]</td>
<td>[horizontal vertical stretch space <strong>verystrict</strong> strict tolerant verytolerant]</td>
</tr>
</table>
<syntax>setuptolerance</syntax>
== 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 <code>\setuptolerance[horizontal,...]</code> for interword spacing and <code>\setuptolerance[vertical,...]</code> for column stretching. Don't try to combine these two.
The default orientation is ''horizontal'', so the following two are equivalent:
{|
|stretch:
|make <tt>\emergencystretch</tt> equal to <tt>\bodyfontsize</tt>(i.e. 11pt), default is 0pt
|-
|space:
|}
== Tolerance of float captions ==
 
Float captions don't inherit the global tolerance setting, but instead use their own tolerance:
 
<texcode>
%% global tolerance
\setuptolerance
[tolerant]
 
%% tolerance for captions
\setupcaption
[align=tolerant]
</texcode>
 
== Tolerance of framed texts ==
 
Framed texts don't inherit the global tolerance setting, but instead use their own tolerance as well:
 
<texcode>
%% global tolerance
\setuptolerance
[tolerant]
 
%% tolerance for framed texts
\setupframedtext
[align=verytolerant]
</texcode>
== Example ==
<!-- Please fill in an example if you can -->
== See also ==
<!-- something like [[{{cmd:goto|\goto]] }} -->
== Help from ConTeXt-Mailinglist/Forum ==
{{Forum|{{SUBPAGENAME}}}}
[[Category:CommandsCommand/Hyphenation|setuptolerance]]

Navigation menu