From 85d3e90d0bd18de87136f621969a6b6be9ad9719 Mon Sep 17 00:00:00 2001 From: Alexander Schremmer Date: Mon, 16 Dec 2013 21:38:07 +0100 Subject: LaTeX-Briefvorlage --- Vereinskram/Briefvorlage/.gitignore | 3 ++ Vereinskram/Briefvorlage/brief.tex | 21 ++++++++ Vereinskram/Briefvorlage/index.mdwn | 1 + Vereinskram/Briefvorlage/logo1farbig.pdf | Bin 0 -> 3990 bytes Vereinskram/Briefvorlage/sfbrief.lco | 82 +++++++++++++++++++++++++++++++ Vereinskram/index.mdwn | 1 + 6 files changed, 108 insertions(+) create mode 100644 Vereinskram/Briefvorlage/.gitignore create mode 100644 Vereinskram/Briefvorlage/brief.tex create mode 100644 Vereinskram/Briefvorlage/index.mdwn create mode 100644 Vereinskram/Briefvorlage/logo1farbig.pdf create mode 100644 Vereinskram/Briefvorlage/sfbrief.lco diff --git a/Vereinskram/Briefvorlage/.gitignore b/Vereinskram/Briefvorlage/.gitignore new file mode 100644 index 00000000..3eec47da --- /dev/null +++ b/Vereinskram/Briefvorlage/.gitignore @@ -0,0 +1,3 @@ +*.aux +*.log +*.pdf diff --git a/Vereinskram/Briefvorlage/brief.tex b/Vereinskram/Briefvorlage/brief.tex new file mode 100644 index 00000000..cd2bc797 --- /dev/null +++ b/Vereinskram/Briefvorlage/brief.tex @@ -0,0 +1,21 @@ +\documentclass[paper=A4,priority=A,foldmarks=H,ngerman,fromlogo,sfbrief]{scrlttr2} +\usepackage[utf8]{inputenc} +\setkomavar{signature}{Juliane Clausen\\Präsident} +%\setkomavar{yourref}{Ihr Zeichen} +%\setkomavar{yourmail}{Schreiben vom} +%\setkomavar{customer}{Kundennummer} +\setkomavar{date}{\today} +\setkomavar{subject}{Betreff} + +\begin{document} +\begin{letter} + {Herr Empfänger\\ + Bankstrasse 42\\ + CH-8000 Zürich + } + \opening{Sehr geehrter Herr Empfänger,} + \blindtext + \closing{Mit freundlichen Grüßen} + %\encl{Anlagen} +\end{letter} +\end{document} diff --git a/Vereinskram/Briefvorlage/index.mdwn b/Vereinskram/Briefvorlage/index.mdwn new file mode 100644 index 00000000..627c91e7 --- /dev/null +++ b/Vereinskram/Briefvorlage/index.mdwn @@ -0,0 +1 @@ +[[Vereinskram/Briefvorlage/brief.tex]] enthält die Briefvorlage mit Logo. diff --git a/Vereinskram/Briefvorlage/logo1farbig.pdf b/Vereinskram/Briefvorlage/logo1farbig.pdf new file mode 100644 index 00000000..3cc412e1 Binary files /dev/null and b/Vereinskram/Briefvorlage/logo1farbig.pdf differ diff --git a/Vereinskram/Briefvorlage/sfbrief.lco b/Vereinskram/Briefvorlage/sfbrief.lco new file mode 100644 index 00000000..4d0f209f --- /dev/null +++ b/Vereinskram/Briefvorlage/sfbrief.lco @@ -0,0 +1,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 diff --git a/Vereinskram/index.mdwn b/Vereinskram/index.mdwn index 43fb87f9..7706e55e 100644 --- a/Vereinskram/index.mdwn +++ b/Vereinskram/index.mdwn @@ -9,3 +9,4 @@ Informationen zur Verwaltung. * [[Vereinskram/Vorstand]] * [[Vereinskram/Preise]] * [[Vereinskram/Entsorgung]] +* [[Vereinskram/Briefvorlage]] -- cgit v1.2.1