From: Michael Wagner Date: Wed, 31 Jul 2024 21:16:10 +0000 (+0200) Subject: gitarre X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=eb87c609160a9954d1e8dbec963ce0916c35e7d2;p=SVBaL.git gitarre --- diff --git a/latex/ausweis.lco b/latex/ausweis.lco new file mode 100644 index 0000000..4dd4abf --- /dev/null +++ b/latex/ausweis.lco @@ -0,0 +1,47 @@ +\ProvidesFile{testlco.lco}[2022/01/08 letter class option] +\RequirePackage{ngerman} % Deutsche Sprache +\RequirePackage{fix-cm} +\RequirePackage[T1]{fontenc} % Ligaturschriften +\RequirePackage[utf8]{inputenc} % Eingabezeichensatz +\RequirePackage{graphicx} % Grafikpaket +\RequirePackage{hyperref} +\usepackage{wallpaper} % Hintergrundbilder +\hypersetup{pdfpagemode=None} +\KOMAoptions{ + paper=a4, + pagenumber=botcenter, +% fromalign=right, +% fromrule=afteraddress, +% fromphone, +% fromfax, +% fromlogo,fromurl,fromemail, +% backaddress, + foldmarks, +% headsepline,footsepline, + enlargefirstpage, + parskip=half +} +%\setkomavar{fromname}{Dr.\ Joachim Schlosser} +%\setkomavar{fromaddress}{Matthias-Erzberger-Str.~9b\\86199~Augsburg} +%\setkomavar{fromphone}{+49\,(0)\,555\,12345} +%\setkomavar{fromfax}{+49\,(0)\,555\,12345} +%\setkomavar{fromemail}{joachim@example.org} +\setkomavar*{emailseparator}{mailto} +\setkomavar{emailseparator}{:} +%\setkomavar{fromurl}{\url{//www.schlosser.info}} +\setkomavar*{urlseparator}{} +\setkomavar{urlseparator}{} +\setkomavar{frombank}{Eine Bank\\IBAN~123\,45\,678} +\setkomavar{place}{München} +\setkomavar{signature}{Donald Duck} +\setkomavar{fromlogo}{\parbox[b]{8cm}{\usekomafont{fromaddress}% + {\mbox{\LARGE \bfseries Dr.\ rer.\ nat.\ Joachim~Schlosser}} + \smallskip} +} +\setkomafont{backaddress}{\sffamily} +\setkomafont{fromaddress}{\sffamily} +\addtokomafont{fromname}{\scriptsize} +\addtokomafont{fromaddress}{\scriptsize} +\pagestyle{headings} +\CenterWallPaper{1}{MitgliederausweisSVBaLVorlage_leer_v2.pdf} + diff --git a/latex/ausweis.tex b/latex/ausweis.tex new file mode 100644 index 0000000..12232ee --- /dev/null +++ b/latex/ausweis.tex @@ -0,0 +1,17 @@ +\documentclass{scrlttr2} +\LoadLetterOption{ausweis} +\setkomavar{date}{\vspace*{-6\baselineskip}\today} +\begin{document} +\begin{letter}{ + %\today \par \vspace*{2\baselineskip} + Herr\\Michael Wagner\\Turfstr. 18a\\81929 München +} +\opening{\par \vspace*{3\baselineskip}Sehr geehrter Herr Wagner,} +Hier steht der Text + +in mehreren Absätzen SDFG SDF SDFG SDFGHSDFGH SDFGH SDFGH SDF SDFG SDF SDSGH SDFG HGFTHs dfgsdf sdfg sdfg sdf sdfg dfsg sdfg s. + +Und ein dritter. +\closing{Mit freundlichen Grüßen} +\end{letter} +\end{document} diff --git a/python/eh_util/ausweis/.dummy b/python/eh_util/ausweis/.dummy new file mode 100644 index 0000000..e69de29 diff --git a/python/eh_util/eh_util/settings.py b/python/eh_util/eh_util/settings.py index 24602be..ed6eccc 100644 --- a/python/eh_util/eh_util/settings.py +++ b/python/eh_util/eh_util/settings.py @@ -31,7 +31,7 @@ ALLOWED_HOSTS = [] # Application definition INSTALLED_APPS = [ - 'eh_abgleich', + 'ausweis.apps.AusweisConfig', 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', diff --git a/python/eh_util/eh_util/urls.py b/python/eh_util/eh_util/urls.py index 3d7abc2..6ddd3d8 100644 --- a/python/eh_util/eh_util/urls.py +++ b/python/eh_util/eh_util/urls.py @@ -19,4 +19,5 @@ from django.urls import include, path urlpatterns = [ path('admin/', admin.site.urls), path('eh-abgleich/', include('eh_abgleich.urls')), + path('/ausweis/', include('ausweis.urls')), ]