Difference between revisions of "Letter"
Jump to navigation
Jump to search
m (→Example: Visual output) |
m (Framed output) |
||
Line 2: | Line 2: | ||
{{note|This module is still in development}} | {{note|This module is still in development}} | ||
+ | |||
+ | == Introduction == | ||
The letter module provides a interface to write different kinds of correspondence | The letter module provides a interface to write different kinds of correspondence | ||
Line 8: | Line 10: | ||
== Example == | == Example == | ||
− | < | + | <texcode> |
+ | \usemodule[letter] | ||
+ | |||
+ | \starttext | ||
+ | |||
+ | \startletter | ||
+ | [opening={Dear Reader,}, | ||
+ | closing={Best regards,}, | ||
+ | signature={The TeXnician}] | ||
+ | |||
+ | \input knuth | ||
+ | |||
+ | \stopletter | ||
+ | |||
+ | \stoptext | ||
+ | </texcode> | ||
+ | |||
+ | produces | ||
+ | |||
+ | <div style="padding:10px; border:thin dashed green;"> | ||
+ | <context> | ||
\usemodule[letter] | \usemodule[letter] | ||
Line 24: | Line 46: | ||
\stoptext | \stoptext | ||
</context> | </context> | ||
+ | </div> | ||
== Styles == | == Styles == |
Revision as of 23:50, 5 February 2009
< Modules | User:Wolfgang_Schuster >
NOTE: This module is still in development |
Introduction
The letter module provides a interface to write different kinds of correspondence with the support for different styles and extensions.
Example
\usemodule[letter] \starttext \startletter [opening={Dear Reader,}, closing={Best regards,}, signature={The TeXnician}] \input knuth \stopletter \stoptext
produces
Styles
The layout of the letter can be changed with styles, the module comes with styles for:
- Germany
- Netherlands
- France
- America
Features
It is possible to change the default input method to the one use by Hans Hagen in the m-letter module or Donald Knuths letter style in the TeXbook.
Further Information
You can find more informations here:
- http://modules.contextgarden.net/letter
- http://wolfgang.schuster.googlepages.com/letter
- http://www.ctan.org/tex-archive/macros/context/contrib/context-letter/
The manual for module is included in newer versions of the package or available from: