-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WIP: Update donation templates #53
Open
jpwgnr
wants to merge
4
commits into
main
Choose a base branch
from
update_donation_template
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
TEXOPTS= --lualatex \ | ||
--output-directory=build \ | ||
--interaction=nonstopmode \ | ||
--halt-on-error | ||
|
||
FOLDER = Mittelabrufe | ||
FILES = $(wildcard $(FOLDER)/*) | ||
TARGETS= $(shell basename -s .tex -a $(FILES)) | ||
|
||
all: $(addprefix build/, $(addsuffix .pdf, $(TARGETS))) | ||
|
||
build/%.pdf: $(FOLDER)/%.tex FORCE | build | ||
TEXINPUTS=../logos:..: latexmk $(TEXOPTS) $< | ||
|
||
FORCE: | ||
|
||
build: | ||
mkdir -p build | ||
|
||
clean: | ||
rm -r build | ||
|
||
.PHONY: all clean FORCE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
\documentclass{pepmittelabruf} | ||
|
||
\author{Jan Herdieckerhoff} | ||
|
||
\setkomavar{Adresse}{ | ||
Wilhelm und Else Heraeus-Stiftung \\ | ||
Dr.~Stefan Jorda \\ | ||
Kurt-Blaum-Platz 1 \\ | ||
63450 Hanau} | ||
\setkomavar{Anrede}{Sehr geehrter Herr Dr.~Jorda} | ||
\setkomavar{Jahr}{2023} | ||
\setcounter{Mittel}{1000} | ||
\setkomavar{Fristdatum}{31. März 2023} | ||
|
||
\begin{document} | ||
|
||
\mittelabruf{} | ||
|
||
\end{document} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
TEXOPTS= --lualatex \ | ||
--output-directory=build \ | ||
--interaction=nonstopmode \ | ||
--halt-on-error | ||
|
||
FOLDER = Rechnungen | ||
FILES = $(wildcard $(FOLDER)/*) | ||
TARGETS= $(shell basename -s .tex -a $(FILES)) | ||
|
||
all: $(addprefix build/, $(addsuffix .pdf, $(TARGETS))) | ||
|
||
build/%.pdf: $(FOLDER)/%.tex FORCE | build | ||
TEXINPUTS=../logos:..: latexmk $(TEXOPTS) $< | ||
|
||
FORCE: | ||
|
||
build: | ||
mkdir -p build | ||
|
||
clean: | ||
rm -r build | ||
|
||
.PHONY: all clean FORCE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
\documentclass{peprechnungen} | ||
|
||
\author{Jan Herdieckerhoff} | ||
|
||
\setkomavar{Adresse}{ | ||
Nettes Unternehmen\\ | ||
Nette Person \\ | ||
Unternehmensalle 1\\ | ||
00000 Unternehmenshausen} | ||
\setkomavar{Rechnungsdatum}{15. März 2020} | ||
\setkomavar{Anrede}{Sehr geehrte Nette Person} | ||
\setkomavar{Durchführungsdatum}{16. April} | ||
\setkomavar{Jahr}{2020} | ||
\setcounter{Betrag}{1000} | ||
\setkomavar{Rechnungsnummer}{yyyy-mmdd-nnnn-xxx} | ||
\setkomavar{Fristdatum}{1. Februar 2020} | ||
|
||
\begin{document} | ||
|
||
\rechnung{} | ||
|
||
\end{document} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
\documentclass{peprechnungen} | ||
|
||
\author{Jan Herdieckerhoff} | ||
|
||
\setkomavar{Adresse}{ | ||
Nettes Unternehmen\\ | ||
Nette Person \\ | ||
Unternehmensalle 2\\ | ||
00000 Unternehmenshausen} | ||
\setkomavar{Rechnungsdatum}{15. März 2020} | ||
\setkomavar{Anrede}{Sehr geehrte Nette Person} | ||
\setkomavar{Durchführungsdatum}{16. April} | ||
\setkomavar{Jahr}{2020} | ||
\setcounter{Betrag}{1000} | ||
\setkomavar{Rechnungsnummer}{yyyy-mmdd-nnnn-xxx} | ||
\setkomavar{Fristdatum}{1. Februar 2020} | ||
|
||
\begin{document} | ||
|
||
\rechnung{} | ||
|
||
\end{document} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
TEXOPTS= --lualatex \ | ||
--output-directory=build \ | ||
--interaction=nonstopmode \ | ||
--halt-on-error | ||
|
||
FOLDER = Spenden | ||
FILES = $(wildcard $(FOLDER)/*) | ||
TARGETS= $(shell basename -s .tex -a $(FILES)) | ||
|
||
all: $(addprefix build/, $(addsuffix .pdf, $(TARGETS))) | ||
|
||
build/%.pdf: $(FOLDER)/%.tex FORCE | build | ||
TEXINPUTS=../logos:..: latexmk $(TEXOPTS) $< | ||
|
||
FORCE: | ||
|
||
build: | ||
mkdir -p build | ||
|
||
clean: | ||
rm -r build | ||
|
||
.PHONY: all clean FORCE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
\documentclass{pepspenden} | ||
|
||
\author{Jan Herdieckerhoff} | ||
\begin{document} | ||
|
||
\spende{5000}{1. Januar 2023}{% | ||
Netter Spender:in\\ | ||
Spendenallee 1\\ | ||
00000 Spendenhausen% | ||
} | ||
|
||
\end{document} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
\documentclass{pepspenden} | ||
|
||
\author{Jan Herdieckerhoff} | ||
\begin{document} | ||
|
||
\spende{5000}{1. Januar 2023}{% | ||
Netter Spender:in\\ | ||
Spendenallee 1\\ | ||
00000 Spendenhausen% | ||
} | ||
|
||
\end{document} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
PeP et al.\ e.\,V.\\ | ||
z.\,Hd.\ Kevin Schmidt\\ | ||
Otto-Hahn-Straße 4a\\ | ||
Otto-Hahn-Straße 4\\ | ||
44227 Dortmund% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
PeP et al.\\ | ||
Dortmunder Volksbank\\ | ||
IBAN:\@ DE22 4416 0014 6348 4161 00\\ | ||
BIC:\@ GENODEM1DOR% | ||
IBAN:\@ \mbox{DE22 4416 0014 6348 4161 00}\\ | ||
BIC:\@ GENODEM1DOR% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,97 @@ | ||
\ProvidesClass{pepmittelabruf}[2023/02/15 Klasse fuer PeP Mittelabruf] | ||
\ProcessOptions\relax | ||
\LoadClass[ | ||
a4paper, | ||
fontsize=12pt, | ||
parskip=half, | ||
foldmarks=false, | ||
DIV=14 | ||
]{scrlttr2} | ||
\LoadLetterOption{pepbrief} | ||
\setplength{firstfootvpos}{62em} | ||
%Fontsettings, compatible with all engines | ||
\RequirePackage{ifxetex} | ||
\RequirePackage{ifluatex} | ||
|
||
\ifluatex% | ||
\RequirePackage{fontspec} | ||
\setmainfont{Source Sans Pro} | ||
\RequirePackage{polyglossia} | ||
\setmainlanguage{german} | ||
\else% | ||
\ifxetex% | ||
\RequirePackage{fontspec} | ||
\setmainfont{Source Sans Pro} | ||
\RequirePackage{polyglossia} | ||
\setmainlanguage{german} | ||
\else% | ||
\RequirePackage[utf8]{inputenc} | ||
\RequirePackage[T1]{fontenc} | ||
\RequirePackage[default]{sourcesanspro} | ||
\RequirePackage[ngerman]{babel} | ||
\fi | ||
\fi | ||
|
||
\RequirePackage{fmtcount} | ||
\FCloadlang{german} | ||
|
||
\RequirePackage{scrlayer-scrpage} | ||
\pagestyle{scrheadings} | ||
\setkomafont{pagefoot}{\normalfont\footnotesize} | ||
\setkomafont{pagehead}{\normalfont} | ||
|
||
\RequirePackage{tabu} | ||
\RequirePackage{array} | ||
\RequirePackage{colortbl} | ||
\RequirePackage{siunitx} | ||
\sisetup{locale=DE, group-separator=., group-minimum-digits=4} | ||
|
||
\newcolumntype{C}[1]{>{\centering\arraybackslash}m{#1}} | ||
\RequirePackage{xcolor} | ||
\definecolor{grau}{rgb}{0.830,0.865,0.857} | ||
|
||
\RequirePackage{xparse} | ||
\RequirePackage{amssymb} | ||
|
||
\RequirePackage{graphicx} | ||
\RequirePackage[colorlinks=true, urlcolor=blue!50!black, unicode]{hyperref} | ||
|
||
\newkomavar[\anrede]{Anrede} | ||
\newkomavar[\adresse]{Adresse} | ||
\newkomavar[\betrag]{Betrag} | ||
\newcounter{Mittel} | ||
\setcounter{Mittel}{100} | ||
\newkomavar[\rechnungsdatum]{Rechnungsdatum} | ||
\newkomavar[\durchfuehrungsdatum]{Durchführungsdatum} | ||
\newkomavar[\jahr]{Jahr} | ||
\newkomavar[\rechnungsnummer]{Rechnungsnummer} | ||
\newkomavar[\fristdatum]{Fristdatum} | ||
|
||
\setkomavar{firstfoot}{ | ||
\hfill% | ||
\parbox[c]{5cm}{% | ||
Bankverbindung\\ | ||
\input{pepbankverbindung.tex}% | ||
} | ||
} | ||
|
||
\setkomavar{subject}{Mittelabruf für die Absolventenfeier \usekomavar{Jahr} der Fakultät Physik der TU Dortmund} | ||
|
||
\DeclareDocumentCommand\mittelabruf{}{% | ||
\begin{letter}{% | ||
\usekomavar{Adresse} | ||
} | ||
% ANREDE | ||
\opening{\usekomavar{Anrede},} | ||
% BRIEFTEXT | ||
die Absolventenfeier der Fakultät Physik der TU Dortmund wird dieses Jahr wieder von uns, dem Alumniverein PeP et al.\ e.\,V., veranstaltet. | ||
Daher möchten wir die von Ihrer Stiftung zur Verfügung gestellten Mittel in Höhe von \theMittel{} Euro abrufen. | ||
|
||
Bitte stellen Sie uns die Mittel bis zum \usekomavar{Fristdatum} zur Verfügung. | ||
|
||
|
||
|
||
\closing{Beste Grüße aus Dortmund} | ||
|
||
\end{letter} | ||
} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same as above, use common latexmkrc instead