Add member table

This commit is contained in:
philipp lang 2022-05-15 18:32:30 +02:00
parent 2beea86100
commit df008b485c
1 changed files with 99 additions and 21 deletions

View File

@ -11,14 +11,77 @@
\pagestyle{empty}
\setlength{\parindent}{0cm}
\tikzset{outer/.style={remember picture}}
\tikzset{outer/.style={overlay, remember picture}}
\tikzset{formfill/.style={pos=0.01,anchor=base west,font=\LARGE}}
\tikzset{
table/.style={
matrix of nodes,
row sep=-\pgflinewidth,
column sep=-\pgflinewidth,
nodes={
rectangle,
draw=black,
font=\Large,
},
minimum height=1.5em,
text depth=0.5ex,
text height=2.5ex,
nodes in empty cells,
column 1/.style={
nodes={
align=center,
text width=5em,
}
},
column 2/.style={
nodes={
align=center,
text width=17em,
}
},
column 3/.style={
nodes={
align=center,
text width=15em,
}
},
column 4/.style={
nodes={
align=center,
text width=5em,
}
},
column 5/.style={
nodes={
align=center,
text width=9em,
}
},
column 6/.style={
nodes={
align=center,
text width=7em,
}
},
column 7/.style={
nodes={
align=center,
text width=13em,
}
},
row 1/.style={
nodes={
draw=white,
}
}
}
}
\newcommand{\checkbox}[1]{\tikz[label distance=0.2cm]{\node[label={east:\large{#1}},draw,very thick,rectangle,text height=0.5cm,text width=0.5cm,inner sep=0cm] at (0,0) {};}}
\newcommand{\emptycheckbox}{\tikz{\node[text height=0.5cm,text width=0.5cm,inner sep=0cm] at (0,0) {};}}
\begin{document} \sffamily
\begin{tikzpicture}[outer]
\begin{scope}[local bounding box=headarea]
\path (current page.north west) ++(1cm,-1cm) coordinate (OL) -- (current page.north east) ++(-1cm,0cm) coordinate (OR) node[midway,below=0.5cm] {\textbf{TEILNEHMER - / INNENLISTE}};
\matrix (options) at ($(OL)+(0.5cm,-1cm)$) [matrix of nodes, column sep=0cm,row sep=0.5cm,nodes in empty cells, every node/.style={inner sep=0cm,align=left,text width=6.2cm}, anchor=north west] {
\checkbox{Jugendbildungsmaßnahme} & \checkbox{Gruppenleiter/innenschulung} & \checkbox{Ferienkolonie} & \checkbox{Freizeitnaßnahme} \\
@ -27,24 +90,39 @@
\node[align=left,inner sep=0cm,anchor=west] at (options-2-4.west) {\tikz{\node[draw,very thick,rectangle,text height=0.5cm,text width=0.5cm,inner sep=0cm] (checkbox) at (0,0) {}; \draw[thick] (checkbox.south east) ++(0.2cm,0) -- (checkbox.south east -| options-2-4.south east);}};
\node[anchor=north west] (org) at ($(options.south west)+(0cm,-0.5cm)$) {\large{Veranstalter:}};
\draw[thick] (org.south east -| options-2-2.south west) -- (org.south east -| options-2-4.south east) node[pos=0.02,above=0.1cm] {\LARGE{aa}};
\draw (org.south east -| options-2-2.south west) -- (org.south east -| options-2-4.south east) node[formfill] {DPSG Stamm Silva Solingen Wald};
\node[anchor=north west] (title) at ($(org.south west)+(0cm,-0.5cm)$) {\large{Titel der Maßnahme:}};
\draw[thick] (title.south east -| options-2-2.south west) -- (title.south east -| options-2-4.south east);
\draw (title.south east -| options-2-2.south west) -- (title.south east -| options-2-4.south east) node[formfill] {Stammeslager};
\node[anchor=north west] (datefrom) at ($(title.south west)+(0cm,-0.5cm)$) {\large{Datum vom:}};
\draw[thick] (datefrom.south east -| options-2-2.south west) -- ($(datefrom.south east -| options-2-2.south east) - (1,0cm)$);
\draw (datefrom.south east -| options-2-2.south west) -- ($(datefrom.south east -| options-2-2.south east) - (1,0cm)$) node[formfill] {23.06.2021};
\node[anchor=south west] (dateuntil) at (options-2-3.south west |- datefrom.south west) {\large{bis:}};
\draw[thick,label={east:aaa}] (dateuntil.south east) -- (datefrom.south east -| options-2-3.south east);
\draw[label={east:aaa}] (dateuntil.south east) -- (datefrom.south east -| options-2-3.south east) node[formfill] {23.06.2021};
\path[fill=yellow] (datefrom.south -| OL) ++(0,-1.0) rectangle ($(datefrom.south -| OR) + (0,-1.5)$);
\draw (datefrom.south) -- ++(4cm,-4cm);
\end{scope}
\matrix at ($(datefrom.south west) + (0,-2.3cm)$) [table,below right] {
Lfd. Nr. & Name / Vorname & Straße & PLZ & Wohnort & Geburtsjahr & Unterschrift \\
1 & Philipp Denise Ackermann & Friedenhoferstr 57a & 55555 & Solingen & 1990 & \\
1 & Philipp Denise Ackermann & Friedenhoferstr 57a & 55555 & Solingen & 1990 & \\
1 & Philipp Denise Ackermann & Friedenhoferstr 57a & 55555 & Solingen & 1990 & \\
1 & Philipp Denise Ackermann & Friedenhoferstr 57a & 55555 & Solingen & 1990 & \\
1 & Philipp Denise Ackermann & Friedenhoferstr 57a & 55555 & Solingen & 1990 & \\
1 & Philipp Denise Ackermann & Friedenhoferstr 57a & 55555 & Solingen & 1990 & \\
1 & Philipp Denise Ackermann & Friedenhoferstr 57a & 55555 & Solingen & 1990 & \\
1 & Philipp Denise Ackermann & Friedenhoferstr 57a & 55555 & Solingen & 1990 & \\
1 & Philipp Denise Ackermann & Friedenhoferstr 57a & 55555 & Solingen & 1990 & \\
1 & Philipp Denise Ackermann & Friedenhoferstr 57a & 55555 & Solingen & 1990 & \\
1 & Philipp Denise Ackermann & Friedenhoferstr 57a & 55555 & Solingen & 1990 & \\
1 & Philipp Denise Ackermann & Friedenhoferstr 57a & 55555 & Solingen & 1990 & \\
1 & Philipp Denise Ackermann & Friedenhoferstr 57a & 55555 & Solingen & 1990 & \\
1 & Philipp Denise Ackermann & Friedenhoferstr 57a & 55555 & Solingen & 1990 & \\
};
% \draw[red,ultra thick] (current page.north west) rectangle (current page.south east);
\draw[thick,green] (headarea.north west) -- (headarea.south east);
% \draw[ultra thick] (OL) rectangle (current page.south east);
\end{tikzpicture}
\pagebreak[4]