diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/schule/schule.mod.Formulare.code.tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/schule/schule.mod.Formulare.code.tex | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/schule/schule.mod.Formulare.code.tex b/Master/texmf-dist/tex/latex/schule/schule.mod.Formulare.code.tex new file mode 100644 index 00000000000..fc41b245bab --- /dev/null +++ b/Master/texmf-dist/tex/latex/schule/schule.mod.Formulare.code.tex @@ -0,0 +1,16 @@ +% Formulare +% ******************************************************************** +\AtBeginDocument{\begin{Form}} +\AtEndDocument{\end{Form}} + +\newlength{\schule@TextFieldHeight} + +\NewDocumentCommand{\feldLinFormular}{O{0.7cm} m O{}}{ + \par + \begin{tikzpicture} + \pgfmathsetlength\schule@TextFieldHeight{#2 * #1} + \foreach \n in {1,...,#2} % Linien zeichnen + \draw[gray](0, -#1*\n )--(0.99\linewidth, -#1*\n ); + \node (0,0) [anchor=north west, inner sep=0pt] {\TextField[name=Comment,multiline=true,height={\schule@TextFieldHeight},charsize=18pt,backgroundcolor=,width=0.99\linewidth,bordercolor=,#3]{}}; +\end{tikzpicture} +}
\ No newline at end of file |