Difference between revisions of "Command old/setuptolerance"

From Wiki
Jump to navigation Jump to search
m (cleaned up)
(→‎Description: Formatting)
Line 17: Line 17:
  
 
== Description ==  
 
== Description ==  
<pre>
 
Use \setuptolerance[horizontal,...] for interword spacing and \setuptolerance[vertical,...] for column stretching. Don't try to combine these two.
 
  
horizontal is the default orientation, so the following two are equivalent:
+
Use <code>\setuptolerance[horizontal,...]</code> for interword spacing
 +
and <code>\setuptolerance[vertical,...]</code> for column stretching.
 +
Don't try to combine these two.
  
\setuptolerance[horizontal,tolerant] and \setuptolerance[tolerant]
+
The default orientation is ''horizontal'', so the following two are equivalent:
 +
 
 +
<texcode>
 +
\setuptolerance[horizontal,tolerant]
 +
% and
 +
\setuptolerance[tolerant]
 +
</texcode>
  
 
In horizontal orientation the keywords have the following effect:
 
In horizontal orientation the keywords have the following effect:
  
stretch:     \emergencystretch\bodyfontsize
+
{|
space:       \spaceskip .5em plus .25em minus .25em
+
|stretch:
verystrict:   \tolerance 200
+
|<tt>\emergencystretch\bodyfontsize</tt>
strict:       \tolerance 1500
+
|-
tolerant:     \tolerance 3000
+
|space:
verytolerant: \tolerance 4500
+
|<tt>\spaceskip .5em plus .25em minus .25em</tt>
 
+
|-
in vertical orientation the keywords define a factor "bottomtolerance"
+
|verystrict:
which is only used (?) in columns. The factors are:
+
|<tt>\tolerance 200</tt>
 
+
|-
verystrict:  0
+
|strict:
strict:      0.050
+
|<tt>\tolerance 1500</tt>
tolerant:    0.075
+
|-
verytolerant: 0.100
+
|tolerant:
</pre>
+
|<tt>\tolerance 3000</tt>
 +
|-
 +
|verytolerant:
 +
|<tt>\tolerance 4500</tt>
 +
|}
  
 +
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 ==
 
== Example ==

Revision as of 13:07, 15 September 2010

\setuptolerance

Syntax

\setuptolerance[...,...,...]
[...,...,...] [horizontal vertical stretch space verystrict strict tolerant verytolerant]


Description

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: \emergencystretch\bodyfontsize
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