1
0
Fork 0
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:
Benedict Dudel 2022-12-19 22:56:33 +01:00
parent f0b7e48a01
commit 78064d9c33
2 changed files with 8 additions and 7 deletions

View file

@ -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

View file

@ -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$