Changes

Jump to navigation Jump to search
339 bytes added ,  00:13, 18 July 2013
Added example of setupletterlayer and setupletterframe for the [foot] element in letter
The “layers” (which are used for the “head”, “address” or “reference line”) are configured with <cmd>setupletterlayer</cmd> and <cmd>setupletterframe</cmd> command, the first is used to move the layer to its position on the page with the “x” and “y” keys and you can select one letter elements (which are created with <cmd>defineletterelement</cmd>) with the “alternative” key. With <cmd>setupletterframe</cmd> you can change the “width” and “height” of the element.
 
Thus, for example, the following will produce a small, sans serif header, 10pt from the bottom of the page and centered.
 
<texcode>
\defineletterelement[layer][foot][example]%
{This is my footer.}
\setupletterlayer[foot][alternative=example,style=\tfx\sans,y=10pt]
 
\setupletterframe[foot][align=middle]
</texcode>
 
The “sections” (which are used for the “subject” and “content”) are configured with <cmd>setuplettersection</cmd> which allows you to change the alignment and spacing before and after the element.
5

edits

Navigation menu