Changes

Jump to navigation Jump to search
2,876 bytes added ,  00:52, 21 February 2012
A description of all the keys involved.
</table>
== Description of keys ==
=== Horizontal alignment ===
{|
|-
| <code>normal</code> *or* <code>width</code> *or* <code>yes</code>
| justified alignment
|-
|<code>middle</code>
|centered lines
|-
|<code>flushleft</code> *or* <code>no</code> *or* <code>right</code>
|left-aligned (The <code>right</code> is from 'ragged-right'. Don't use it.)
|-
|<code>flushright</code> *or* <code>left</code>
|right-aligned (Again, better to not use <code>left</code>.)
|-
|<code>inner</code>
|Flush to inner margin.
|-
|<code>outer</code>
|Flush to outer margin.
|-
|<code>disable</code>
|Used only for oneliners. Equivalent to flushleft, but something called
|<code>\parfillskip</code> is set to zero.
|-
|<code>last</code>
|Justified, with last line centered.
|}
 
=== How wide do we let the lines get? ===
{|
|-
| <code>wide</code>
| Lets/makes ragged-right/-left/-middle lines to be wider
|-
| <code>broad</code>
| Similar? Used in tables.
|}
 
=== Where would we like the bottom line to end up? ===
{|
|-
| <code>bottom</code>
| Ragged-ish bottom (the room for variation is but a single lineheight, of course).
|-
| <code>height</code>
| Fill the height: press the last line's baseline against the lower boundary.
|-
| <code>line</code>
| Let the last line's descenders touch the lower boundary.
|}
 
=== Vertical alignment within boxes, e.g. <code>\framed</code> or table cells ===
{|
|-
| <code>high</code>
| Align to top
|-
| <code>low</code>
| Align to bottom
|-
| <code>lohi</code>
| Vertically centered
|}
 
=== Predefined combinations ===
{|
|-
| <code>table</code>
| Equivalent to <code>flushleft,broad,high</code>
|-
| <code>reset</code>
| Equivalent to <code>normal</code>.
|-
| <code>center</code>
| Equivalent to <code>middle,broad</code>.
|}
 
 
=== Typesetting direction --- which direction do you write in? ===
{|
|-
| <code>lefttoright</code> *or* <code>l2r</code>
| "Hello, world."
|-
| <code>righttoleft</code> *or* <code>r2l</code>
| ".dlrow ,olleH"
|}
 
=== Nicer justification and microtypography ===
{|
|-
| <code>hanging</code>
| Enable hanging punctuation ('protrusion')
|-
| <code>nothanging</code>
| Disable hanging punctuation
|-
| <code>hz</code>
| Enable slight stretching of characters ('font expansion').
|-
| <code>nohz</code>
| Disable font expansion.
|-
| <code>hyphenated</code>
| Allow hyphenation.
|-
| <code>nothyphenated</code>
| Allow hyphenation.
|-
| <code>lesshyphenation</code>
| Less hyphenation. Not sure if this is relative/additive, or absolute.
|-
| <code>morehyphenation</code>
| More hyphenation. Not sure if this is relative/additive, or absolute.
|-
| <code>tolerant</code>
| Allow uglier final paragraphs (more hyphenations, more stretching) to avoid
overfull hboxes.
|-
| <code>verytolerant</code>
| Allow even uglier paragraphs.
|-
| <code>stretch</code>
| Allow spaces to be stretched extra far. Can be combined with (very)tolerant, and usually is.
|}

Navigation menu