diff options
author | Karl Berry <karl@freefriends.org> | 2022-09-11 20:48:57 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-09-11 20:48:57 +0000 |
commit | eef265a54da15417ed16fae9facf6fd40cc12e9b (patch) | |
tree | 4c2d4f095c4dec0c06d05367d6904b7558ca7390 /Master/texmf-dist/tex | |
parent | e731bf8b8717484b4de492c623aab83aaabf1b1f (diff) |
srdp-mathematik (11sep22)
git-svn-id: svn://tug.org/texlive/trunk@64349 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/srdp-mathematik/srdp-mathematik.sty | 29 |
1 files changed, 27 insertions, 2 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 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 %%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |