1
0
Fork 0
mirror of https://github.com/benedictdudel/pandoc-letter-din5008.git synced 2024-08-16 10:19:49 +02:00

Optionalize class options.

Not every user has an email address to show.
This commit is contained in:
Andreas Scherer 2019-09-15 11:03:11 +02:00
parent ab4ec36ed7
commit f6753d28cd

View file

@ -2,9 +2,9 @@
foldmarks=true, % print foldmarks
foldmarks=BTm, % show foldmarks top, middle, bottom
fromalign=right, % letter head on the right
fromphone, % show phone number
fromemail, % show email
fromlogo, % show logo in letter head
$if(phone)$fromphone,$endif$ % show phone number
$if(fromemail)$fromemail,$endif$ % show email
$if(fromlogo)$fromlogo,$endif$ % show logo in letter head
version=last, % latest version of KOMA letter
$for(letteroption)$
$letteroption$$sep$,
@ -53,8 +53,7 @@ $endfor$
\begin{letter}{%
$for(address)$
$address$$sep$\\
$endfor$
}
$endfor$}
\opening{$opening$}