blob: 4d0f209f56e814b9d73b87535bba302a45857606 (
plain)
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
|
\ProvidesFile{sfbrief.lco}
\LoadLetterOption{SNleft}
\usepackage{babel}
\usepackage{graphicx}
\usepackage{blindtext}
\usepackage[babel,german=swiss]{csquotes}
\setkomavar{fromname}{Starship Factory}
\setkomavar{fromlogo}{\includegraphics[width=.2\textwidth]{logo1farbig}}
\setkomavar{fromaddress}{Sankt-Alban-Rheinweg 62\\4052 Basel}
\setkomavar{location}{\raggedleft vorstand@starship-factory.ch\\www.starship-factory.ch}
\setkomavar{place}{Basel}
\setkomavar{frombank}{PostFinance \\
Konto: 60-738720-1\\
IBAN: CH15 0900 0000 6073 8720 1
}
\setkomavar{firstfoot}{%
\parbox[t]{\textwidth}{\footnotesize
\begin{tabular}[t]{l@{}}%
\multicolumn{1}{@{}l@{}}{Vorstand:}\\
Juliane Clausen\\
Yvo Waldmeier\\
Cedric Spindler
\end{tabular}%
\hfill
\ifkomavarempty{frombank}{}{%
\hfill
\begin{tabular}[t]{l@{}}%
\multicolumn{1}{@{}l@{}}{%
\usekomavar*{frombank}:}\\
\usekomavar{frombank}
\end{tabular}%
}%
}%
}
\@setplength{locwidth}{.4\textwidth}
\@setplength{specialmailrightindent}{7.5em}
\@addtoplength{firstheadvpos}{4mm}
\@addtoplength{firstfootvpos}{-12mm}
\setkomavar{firsthead}{%
\parbox[b][5em][t]{\textwidth}{\raggedright
{\usekomafont{fromname}\strut\ignorespaces
\usekomavar{fromname}%
{%
\ifnum\@rulefrom=1\\[-.5\baselineskip]%
\usekomafont{fromrule}{%
\setlength{\@tempdima}{\useplength{fromrulewidth}}%
\ifdim\@tempdima=\z@
\setlength{\@tempdima}{\textwidth}%
\if@logo
\settowidth{\@tempdimb}{\usekomavar{fromlogo}}%
\addtolength{\@tempdima}{-\@tempdimb}%
\fi
\fi
\expandafter\rule\expandafter{\the\@tempdima}{%
\useplength{fromrulethickness}}}%
\fi
}%
\\
}%
{\usekomafont{fromaddress}\strut\ignorespaces
\usekomavar{fromaddress}%
\if@phone\\\usekomavar*{fromphone}\usekomavar{fromphone}\fi%
\if@fax\\\usekomavar*{fromfax}\usekomavar{fromfax}\fi%
\if@email\\\usekomavar*{fromemail}\usekomavar{fromemail}\fi%
\if@www\\\usekomavar*{fromurl}\usekomavar{fromurl}\fi%
\ifnum\@rulefrom=2\\[-.5\baselineskip]%
\usekomafont{fromrule}{%
\setlength{\@tempdima}{\useplength{fromrulewidth}}%
\ifdim\@tempdima=\z@
\setlength{\@tempdima}{\textwidth}%
\fi
\expandafter\rule\expandafter{\the\@tempdima}{%
\useplength{fromrulethickness}}}%
\fi
\\
}%
}%
\if@logo
\llap{\usekomavar{fromlogo}}%
\fi
}%
\endinput
|