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
|
author: Max Mustermann
|
||||||
phone: +49 1234 56789
|
phone: +49 1234 56789
|
||||||
email: max.mustermann@beispiel.de
|
email: max.mustermann@beispiel.de
|
||||||
|
|
|
@ -1,11 +1,6 @@
|
||||||
\documentclass[
|
\documentclass[
|
||||||
foldmarks=true, % print foldmarks
|
$if(phone)$ fromphone,$endif$
|
||||||
foldmarks=BTm, % show foldmarks top, middle, bottom
|
$if(email)$ fromemail,$endif$
|
||||||
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
|
|
||||||
$for(letteroption)$
|
$for(letteroption)$
|
||||||
$letteroption$$sep$,
|
$letteroption$$sep$,
|
||||||
$endfor$
|
$endfor$
|
||||||
|
|
Loading…
Reference in a new issue