From eef265a54da15417ed16fae9facf6fd40cc12e9b Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 11 Sep 2022 20:48:57 +0000 Subject: srdp-mathematik (11sep22) git-svn-id: svn://tug.org/texlive/trunk@64349 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/doc/latex/srdp-mathematik/README.md | 2 +- .../doc/latex/srdp-mathematik/srdp-mathematik.pdf | Bin 178996 -> 179280 bytes .../doc/latex/srdp-mathematik/srdp-mathematik.tex | 2 +- .../tex/latex/srdp-mathematik/srdp-mathematik.sty | 29 +++++++++++++++++++-- 4 files changed, 29 insertions(+), 4 deletions(-) diff --git a/Master/texmf-dist/doc/latex/srdp-mathematik/README.md b/Master/texmf-dist/doc/latex/srdp-mathematik/README.md index a8c4d5c94b4..dae98aacba4 100644 --- a/Master/texmf-dist/doc/latex/srdp-mathematik/README.md +++ b/Master/texmf-dist/doc/latex/srdp-mathematik/README.md @@ -1,4 +1,4 @@ -# srdp-mathematik.sty v1.10.0 +# srdp-mathematik.sty v1.10.1 This package provides basic commands for the defined formats of the Austrian sRDP in mathematics. Furthermore, it includes ways to implement answers in the tex file, which can be voluntarily displayed in the pdf file and diff --git a/Master/texmf-dist/doc/latex/srdp-mathematik/srdp-mathematik.pdf b/Master/texmf-dist/doc/latex/srdp-mathematik/srdp-mathematik.pdf index f672e17a53c..7b0ef3ce76a 100644 Binary files a/Master/texmf-dist/doc/latex/srdp-mathematik/srdp-mathematik.pdf and b/Master/texmf-dist/doc/latex/srdp-mathematik/srdp-mathematik.pdf differ diff --git a/Master/texmf-dist/doc/latex/srdp-mathematik/srdp-mathematik.tex b/Master/texmf-dist/doc/latex/srdp-mathematik/srdp-mathematik.tex index 5e2aee63732..9468954d3c4 100644 --- a/Master/texmf-dist/doc/latex/srdp-mathematik/srdp-mathematik.tex +++ b/Master/texmf-dist/doc/latex/srdp-mathematik/srdp-mathematik.tex @@ -55,7 +55,7 @@ hidelinks \vfill -\Huge The \textit{srdp-mathematik} package v1.10.0\\[1cm] +\Huge The \textit{srdp-mathematik} package v1.10.1\\[1cm] Documentation \\ [1cm] 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 e6299a1ce3d..5e468069385 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/08/24 v1.10.0 Standard-Schularbeitsformate] +\ProvidesPackage{srdp-mathematik}[2022/09/11 v1.10.1 Standard-Schularbeitsformate] \usepackage{color} @@ -200,7 +200,32 @@ % % % -% +%%%%%%%%%%%%%%%%%%%%%%% UK FLAG ################## + +\newcommand{\flagUK}[1][0.0125]{\definecolor{ukred}{RGB}{200,16,46} +\definecolor{ukwhite}{RGB}{255,255,255} +\definecolor{ukblue}{RGB}{1,33,105} +\begin{tikzpicture}[scale=#1] %Scale must be changed to make the flag fit on letter/A4 paper (scale=1 produces a 60 cm by 30 cm flag) +\clip (-30,-15) rectangle (30,15); %Optional, crops the flag to the correct size +\draw[-] (-30,-15)--(30,-15)--(30,15)--(-30,15)--cycle; %Optional, draws a border around the flag +%Blue background: +\fill[ukblue] (-30,-15)--(30,-15)--(30,15)--(-30,15)--cycle; +%White upright cross: +\fill[ukwhite] (5,15)--(5,5)--(30,5)--(30,-5)--(5,-5)--(5,-15)--(-5,-15)--(-5,-5)--(-30,-5)--(-30,5)--(-30,5)--(-5,5)--(-5,15)--cycle; +%White St. Andrew's Cross: +\fill[ukwhite] (-30,-15)--(-30,{-15+3/2*sqrt(5)})--({30-3*sqrt(5)},15)--(30,15)--(30,{15-3/2*sqrt(5)})--({-30+3*sqrt(5)},-15)--cycle; %Lower-left to upper-right +\fill[ukwhite] (-30,15)--(-30,{15-3/2*sqrt(5)})--({30-3*sqrt(5)},-15)--(30,-15)--(30,{-15+3/2*sqrt(5)})--({-30+3*sqrt(5)},15)--cycle; %Upper-left to lower-right +%Red upright Cross: +\fill[ukred] (3,15)--(3,3)--(30,3)--(30,-3)--(3,-3)--(3,-15)--(-3,-15)--(-3,-3)--(-30,-3)--(-30,3)--(-30,3)--(-3,3)--(-3,15)--cycle; +%Red St. Patrick's Cross: +\fill[ukred] ({10-2*sqrt(5)},5)--(10,5)--(30,15)--({30-2*sqrt(5)},15)--cycle; %Upper-right diagonal +\fill[ukred] (-10,5)--({-10-2*sqrt(5)},5)--(-30,{15-sqrt(5)})--(-30,15)--cycle; %Upper-left diagonal +\fill[ukred] ({-10+2*sqrt(5)},-5)--(-10,-5)--(-30,-15)--({-30+2*sqrt(5)},-15)--cycle; %Lower-left diagonal +\fill[ukred] (10,-5)--({10+2*sqrt(5)},-5)--(30,{-15+sqrt(5)})--(30,-15)--cycle; %Lower-right diagonal +\end{tikzpicture}} + +%%Created by Senan Sekhon, December 2, 2020 + %%%%%%%%%%%%%%%%%%%%%%% BEISPIEL UMGEBUNG %%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -- cgit v1.2.3