-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsps.lco
59 lines (49 loc) · 1.44 KB
/
sps.lco
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
\ProvidesFile{sps.lco}[2015/11/09 v1.0 SPSA scrlttr2 style]
% Imports
\usepackage[ngerman]{babel}
\usepackage[utf8]{inputenx}
\usepackage{datetime}
% New KOMA variables
\newkomavar{invoicenr}
\newkomavar{fromiban}
\newkomavar{bankseparator}
% Personal data
\setkomavar{fromname}{Swiss Python Summit Association}
\setkomavar{fromaddress}{8000 Zürich}
\setkomavar{fromemail}{[email protected]}
\setkomavar{fromurl}{http://www.python-summit.ch/}
\setkomavar{place}{Zürich}
\setkomavar{signature}{Swiss Python Summit Association}
\setkomavar{subject}{Invoice %
\getdateyear{invoicedate}%
\twodigit{\getdatemonth{invoicedate}}%
\twodigit{\getdateday{invoicedate}}%
-\usekomavar{invoicenr}}
\setkomavar{date}{\displaydate{invoicedate}}
\setkomavar{frombank}{Postfinance, 8000 Zürich}
\setkomavar{fromiban}{IBAN CH79 0900 0000 8984 1185 1}
\setkomavar{bankseparator}{\quad\textbar\quad}
% Font
\usepackage[sfdefault,light]{roboto}
\usepackage[T1]{fontenc}
\usepackage{mathastext}
% Layout
\usepackage{parskip}
% Header
\setkomavar{firsthead}{%
\centering
{\Large \usekomavar{fromname}}\\
{\small \def\\{, }\usekomavar{fromaddress}}\\
{\small \usekomavar{fromurl}}%
}
% Left aligned signature
\renewcommand*{\raggedsignature}{\raggedright}
% Less spacing between closing and name
\@setplength{sigbeforevskip}{1em}
% Footer
\setkomavar{firstfoot}{%
\centering
\footnotesize
\usekomavar{frombank}\usekomavar{bankseparator}\usekomavar{fromiban}
}
\endinput