mirror of
https://github.com/benedictdudel/pandoc-letter-din5008.git
synced 2024-08-16 10:19:49 +02:00
Add optional letter options
This commit is contained in:
parent
f0b7e48a01
commit
78064d9c33
2 changed files with 8 additions and 7 deletions
|
@ -1,4 +1,10 @@
|
|||
---
|
||||
letteroption:
|
||||
- parskip=half
|
||||
- foldmarks=true
|
||||
- foldmarks=BTm
|
||||
- fromalign=right
|
||||
- version=last
|
||||
author: Max Mustermann
|
||||
phone: +49 1234 56789
|
||||
email: max.mustermann@beispiel.de
|
||||
|
|
|
@ -1,11 +1,6 @@
|
|||
\documentclass[
|
||||
foldmarks=true, % print foldmarks
|
||||
foldmarks=BTm, % show foldmarks top, middle, bottom
|
||||
fromalign=right, % letter head on the right
|
||||
$if(phone)$ fromphone,$endif$ % show phone number
|
||||
$if(email)$ fromemail,$endif$ % show email
|
||||
$if(fromlogo)$ fromlogo,$endif$ % show logo in letter head
|
||||
version=last, % latest version of KOMA letter
|
||||
$if(phone)$ fromphone,$endif$
|
||||
$if(email)$ fromemail,$endif$
|
||||
$for(letteroption)$
|
||||
$letteroption$$sep$,
|
||||
$endfor$
|
||||
|
|
Loading…
Reference in a new issue