diff options
author | Karl Berry <karl@freefriends.org> | 2022-12-16 21:04:54 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-12-16 21:04:54 +0000 |
commit | be7f325aa40bdbe6f972a5b99206422d9c215c13 (patch) | |
tree | 0460aec456fe8569b571c630fe7de285911f8488 /Master/texmf-dist/tex/latex/srdp-mathematik | |
parent | cd77744f3fec78bc254f0d3ab497b9fe7bb5008c (diff) |
srdp-mathematik (16dec22)
git-svn-id: svn://tug.org/texlive/trunk@65293 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/srdp-mathematik')
-rw-r--r-- | Master/texmf-dist/tex/latex/srdp-mathematik/srdp-mathematik.sty | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/latex/srdp-mathematik/srdp-mathematik.sty b/Master/texmf-dist/tex/latex/srdp-mathematik/srdp-mathematik.sty index b3eb03da168..7b1238730cb 100644 --- a/Master/texmf-dist/tex/latex/srdp-mathematik/srdp-mathematik.sty +++ b/Master/texmf-dist/tex/latex/srdp-mathematik/srdp-mathematik.sty @@ -10,7 +10,7 @@ % \NeedsTeXFormat{LaTeX2e}[1996/12/26] -\ProvidesPackage{srdp-mathematik}[2022/11/09 v1.10.4 Standard-Schularbeitsformate] +\ProvidesPackage{srdp-mathematik}[2022/12/16 v1.11.0 Standard-Schularbeitsformate] \usepackage{color} @@ -341,7 +341,21 @@ % % % +%%%%%%%%%%%%%%%%% Parallel-Linien +\newcommand{\parallellines}[3][0]{% +\FPset\length{0.4}\FPset\seperation{0.1}\FPset\Px{#2}\FPset\Py{#3}\FPset\rotation{#1}% +\FPset\convertdegree{180}\FPdiv\radians\rotation\convertdegree\FPmul\rotation\radians\FPpi% +\FPsin\sinus\rotation\FPcos\cosinus\rotation% +\FPmul\Qcosx\length\cosinus\FPmul\Qsiny\length\sinus% +\FPmul\Rcosx\seperation\cosinus\FPmul\Rsiny\seperation\sinus% +\FPadd\Qx\Px\Qcosx\FPadd\Qy\Py\Qsiny% +\FPsub\Rx\Px\Rsiny\FPadd\Ry\Py\Rcosx% +\FPmul\Scosx\length\cosinus\FPmul\Ssiny\length\sinus% +\FPadd\Sx\Rx\Scosx\FPadd\Sy\Ry\Ssiny% +\psline[linewidth=0.8pt](\Px,\Py)(\Qx,\Qy)% +\psline[linewidth=0.8pt](\Rx,\Ry)(\Sx,\Sy)% +} %%%%%%%%%%%%%%%%%%%%%%%%% Vektorendefinition |