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:
parent
ab4ec36ed7
commit
f6753d28cd
1 changed files with 4 additions and 5 deletions
|
@ -2,9 +2,9 @@
|
||||||
foldmarks=true, % print foldmarks
|
foldmarks=true, % print foldmarks
|
||||||
foldmarks=BTm, % show foldmarks top, middle, bottom
|
foldmarks=BTm, % show foldmarks top, middle, bottom
|
||||||
fromalign=right, % letter head on the right
|
fromalign=right, % letter head on the right
|
||||||
fromphone, % show phone number
|
$if(phone)$fromphone,$endif$ % show phone number
|
||||||
fromemail, % show email
|
$if(fromemail)$fromemail,$endif$ % show email
|
||||||
fromlogo, % show logo in letter head
|
$if(fromlogo)$fromlogo,$endif$ % show logo in letter head
|
||||||
version=last, % latest version of KOMA letter
|
version=last, % latest version of KOMA letter
|
||||||
$for(letteroption)$
|
$for(letteroption)$
|
||||||
$letteroption$$sep$,
|
$letteroption$$sep$,
|
||||||
|
@ -53,8 +53,7 @@ $endfor$
|
||||||
\begin{letter}{%
|
\begin{letter}{%
|
||||||
$for(address)$
|
$for(address)$
|
||||||
$address$$sep$\\
|
$address$$sep$\\
|
||||||
$endfor$
|
$endfor$}
|
||||||
}
|
|
||||||
|
|
||||||
\opening{$opening$}
|
\opening{$opening$}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue