1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307
|
# scrletter package
# Matthew Bertucci 2022/05/18 for v3.36
#include:scrkbase
#include:scrextend
#include:scrlayer-scrpage
#include:scrlogo
#keyvals:\KOMAoptions#c
foldmarks=%<setting%>
firsthead=#true,on,yes,false,off,no
fromalign=#center,centered,middle,false,no,off,left,locationleft,leftlocation,locationright,rightlocation,location,right
fromrule=#afteraddress,below,on,true,yes,aftername,false,no,off
symbolicnames=#true,on,yes,false,off,no,marvosym,fontawesome,awesome
fromphone=#true,on,yes,false,off,no
frommobilephone=#true,on,yes,false,off,no
fromfax=#true,on,yes,false,off,no
fromemail=#true,on,yes,false,off,no
fromurl=#true,on,yes,false,off,no
fromlogo=#true,on,yes,false,off,no
addrfield=#backgroundimage,PPbackgroundimage,PPBackgroundImage,PPBackGroundImage,ppbackgroundimage,ppBackgroundImage,ppBackGroundImage,false,off,no,image,Image,PPimage,PPImage,ppimage,ppImage,PP,pp,PPexplicite,PPExplicite,ppexplicite,ppExplicite,topaligned,alignedtop,true,on,yes
backaddress=#true,on,yes,false,off,no,underlined,plain
priority=#false,off,no,manual,B,b,economy,Economy,ECONOMY,B-ECONOMY,B-Economy,b-economy,A,a,priority,Priority,PRIORITY,A-PRIORITY,A-Priority,a-priority
locfield=#narrow,wide
numericaldate=#true,on,yes,false,off,no
refline=#dateleft,dateright,narrow,nodate,wide
subject=#afteropening,beforeopening,centered,left,right,titled,underlined,untitled
enlargefirstpage=#true,on,yes,false,off,no
firstfoot=#true,on,yes,false,off,no
pagenumber=#bot,foot,botcenter,botcentered,botmittle,footcenter,footcentered,footmiddle,botleft,footleft,botright,footright,center,centered,middle,false,no,off,head,top,headcenter,headcentered,headmiddle,topcenter,topcentered,topmiddle,headleft,topleft,headright,topright,left,right
#endkeyvals
\addrchar{initial letter}
\addrentry{last name}{first name}{address}{phone}{F1}{F2}{F3}{F4}{key%plain}
\addtolengthplength[factor]{length}{pseudo-length%keyvals}
\addtolengthplength{length}{pseudo-length%keyvals}
\addtoplength[factor]{pseudo-length%keyvals}{value}
\addtoplength{pseudo-length%keyvals}{value}
\addtoreffields{name}
\AtBeginLetter{code}#*
\AtEndLetter{code}#*
\bankname#*
\begin{letter}[options%keyvals]{recipient}
\begin{letter}{recipient}
\cc{distribution list%text}
\ccname#*
\closing{concluding text%text}
\customername#*
\datename#*
\defaultreffields
\emailname#*
\encl{enclosures%text}
\enclname#*
\end{letter}
\faxname#*
\foreachemptykomavar{list of variables}{command}#*
\foreachkomavar{list of variables}{command}#*
\foreachkomavarifempty{list of variables}{then code}{else code}#*
\foreachnonemptykomavar{list of variables}{command}#*
\headfromname#*
\headtoname#*
\Ifkomavar{name}{then code}{else code}#*
\Ifkomavarempty*{name}{true}{false}#*
\Ifkomavarempty{name}{true}{false}#*
\Ifplength{pseudo-length}{then code}{else code}#*
\invoicename#*
\letterlastpage#*
\LetterOptionNeedsPapersize{option name}{paper size}
\letterpagemark#*
\letterpagestyle#*
\LoadLetterOption{name%keyvals}
\LoadLetterOptions{list of names%keyvals}
\mobilephonename#*
\myrefname#*
\newkomavar*[description]{name}
\newkomavar*{name}
\newkomavar[description]{name}
\newkomavar{name}
\newplength{name}#*
\opening{salutation%text}
\pagename#*
\phonename#*
\ps
\raggedsignature#*
\raggedsubject#*
\removereffields
\setkomavar*{name%keyvals}{description%text}
\setkomavar*{name%keyvals}{description%text}
\setkomavar{name%keyvals}[description%text]{content%text}
\setkomavar{name%keyvals}{content%text}
\setlengthtoplength[factor]{length}{pseudo-length%keyvals}
\setlengthtoplength{length}{pseudo-length%keyvals}
\setparsizes{indent%l}{distance%l}{last-line end space}#*
\setplength[factor]{pseudo-length%keyvals}{value}
\setplength{pseudo-length%keyvals}{value}
\setplengthtodepth[factor]{pseudo-length%keyvals}{content}
\setplengthtodepth{pseudo-length%keyvals}{content}
\setplengthtoheight[factor]{pseudo-length%keyvals}{content}
\setplengthtoheight{pseudo-length%keyvals}{content}
\setplengthtototalheight[factor]{pseudo-length%keyvals}{content}
\setplengthtototalheight{pseudo-length%keyvals}{content}
\setplengthtowidth[factor]{pseudo-length%keyvals}{content}
\setplengthtowidth{pseudo-length%keyvals}{content}
\startbreaks#*
\stopbreaks#*
\stopletter#*
\subjectname#*
\thisletter#*
\usekomavar*[command]{name%keyvals}
\usekomavar*{name%keyvals}
\usekomavar[command]{name%keyvals}
\usekomavar{name%keyvals}
\useplength{pseudo-length%keyvals}
\wwwname#*
\yourmailname#*
\yourrefname#*
# if visualize.lco is loaded with \LoadLetterOption or \LoadLetterOptions
\showfields{field list}#*
#keyvals:\showfields
test
head
foot
address
location
refline
#endkeyvals
\setshowstyle{style%keyvals}#*
#keyvals:\setshowstyle
frame
rule
edges
#endkeyvals
\edgesize#*
\showenvelope(width,height)(h-offset,v-offset)#*
\showenvelope(width,height)(h-offset,v-offset)[instructions]#*
\showISOenvelope{format%keyvals}#*
\showISOenvelope{format%keyvals}[instructions]#*
#keyvals:\showISOenvelope#c
C4
C5
C5/6
DL
C6
#endkeyvals
\showUScommercial{format%keyvals}#*
\showUScommercial{format%keyvals}[instructions]#*
#keyvals:\showUScommercial#c
9
10
#endkeyvals
\showUScheck#*
\showUScheck[instructions]#*
\unitfactor#*
#keyvals:\setkomavar#c,\setkomavar*#c,\usekomavar#c,\usekomavar*#c
addresseeimage
backaddress
backaddressseparator
ccseparator
customer
date
emailseparator
enclseparator
faxseparator
firstfoot
firsthead
fromaddress
frombank
fromemail
fromfax
fromlogo
frommobilephone
fromname
fromphone
fromurl
fromzipcode
invoice
location
myref
nextfoot
nexthead
phoneseparator
place
placeseparator
PPdatamatrix
PPcode
signature
specialmail
subject
subjectseparator
title
toaddress
toname
yourmail
yourref
zipcodeseparator
#endkeyvals
#keyvals:\useplength#c,\setplength#c,\addtoplength#c,\setlengthtoplength#c,\addtolengthplength#c,\setplengthtowidth#c,\setplengthtoheight#c,\setplengthtodepth#c,\setplengthtototalheight#c
backaddrheight
bfoldmarklength
bfoldmarkvpos
firstfoothpos
firstfootvpos
firstfootwidth
firstheadhpos
firstheadvpos
firstheadwidth
foldmarkhpos
foldmarkvpos
fromrulethickness
fromrulewidth
lfoldmarkhpos
lfoldmarklength
locheight
lochpos
locvpos
locwidth
mfoldmarklength
mfoldmarkvpos
pfoldmarklength
PPdatamatrixvskip
PPheadheight
PPheadwidth
refaftervskip
refhpos
refvpos
refwidth
sigbeforevskip
sigindent
specialmailindent
specialmailrightindent
subjectaftervskip
subjectbeforevskip
additional verti
subjectvpos
tfoldmarklength
tfoldmarkvpos
toaddrheight
toaddrhpos
toaddrindent
toaddrvpos
toaddrwidth
#endkeyvals
#keyvals:\setkomafont#c,\addtokomafont#c,\usekomafont#c,\usesizeofkomafont#c,\usefamilyofkomafont#c,\useseriesofkomafont#c,\useshapeofkomafont#c,\useencodingofkomafont#c,\usefontofkomafont#c
addressee
backaddress
descriptionlabel
foldmark
footnote
footnotelabel
footnotereference
footnoterule
fromaddress
fromname
fromrule
itemizelabel
labelinglabel
labelingseparator
labelitemi
labelitemii
labelitemiii
labelitemiv
pagefoot
pagehead
pageheadfoot
pagenumber
pagination
placeanddate
refname
refvalue
specialmail
lettersubject
lettertitle
toaddress
toname
#endkeyvals
#keyvals:\LoadLetterOption#c,\LoadLetterOptions#c
DIN
DINmtext
KakuLL
KOMAold
NF
NipponEH
NipponEL
NipponLH
NipponLL
NipponRL
SN
SNleft
UScommercial9
UScommercial9DW
#endkeyvals
#keyvals:\pagestyle#c,\thispagestyle#c,\cleardoublepageusingstyle#c,\cleardoubleoddpageusingstyle#c,\cleardoubleevenpageusingstyle#c
letter
plain.letter
#endkeyvals
# deprecated
\adrentry{last name}{first name}{address}{phone}{F1}{F2}{comment}{key%plain}#S
\adrchar{initial letter}#S
\ifkomavar#S
\ifkomavarempty#S
|