diff options
author | Karl Berry <karl@freefriends.org> | 2021-04-20 20:13:00 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-04-20 20:13:00 +0000 |
commit | 6afb45c00f4bcfea8efffe384d8c4fff3b3150d3 (patch) | |
tree | 9dc7daa427ac9eda1e26691e9cf077e5f3ad48ee /Master/texmf-dist/tex/latex/worldflags/worldflag_GY.tex | |
parent | 4e4deceb7fcf63bfb6953bf55d36f212fec27128 (diff) |
worldflags (20apr21)
git-svn-id: svn://tug.org/texlive/trunk@58924 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/worldflags/worldflag_GY.tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/worldflags/worldflag_GY.tex | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/worldflags/worldflag_GY.tex b/Master/texmf-dist/tex/latex/worldflags/worldflag_GY.tex new file mode 100644 index 00000000000..943a2c5bda9 --- /dev/null +++ b/Master/texmf-dist/tex/latex/worldflags/worldflag_GY.tex @@ -0,0 +1,23 @@ +% -------------------------------------------------------------------------- +% Guyana: +% -------------------------------------------------------------------------- +\BeginFlagDescription{3}{5} +\definecolor{red}{RGB}{200,16,46} +\definecolor{green}{RGB}{0,177,64} +\definecolor{gold}{RGB}{254,219,0} +\fill [green] (0,0) rectangle (\flaglength,1); +\newdimen\d\d=0.05\flagwidth +\fill [white] (0,0)--(\flaglength,0.5)--(0,1)--cycle; +\pgfmathparse{\d/cos(atan2(\flagwidth,2*\flaglength))} +\edef\y{\pgfmathresult} +\pgfmathparse{\d/sin(atan2(0.5\flagwidth,\flaglength))} +\edef\x{\pgfmathresult} +\fill [gold] (0,\y*1pt)--(\flaglength-\x*1pt,0.5)--(0,\flagwidth-\y*1pt)--cycle; +\fill [black] (0,0)--(0.5\flaglength,0.5)--(0,1)--cycle; +\pgfmathparse{\d/cos(atan2(\flagwidth,\flaglength))} +\edef\y{\pgfmathresult} +\pgfmathparse{\d/sin(atan2(\flagwidth,\flaglength))} +\edef\x{\pgfmathresult} +\fill [red] (0,\y*1pt)--(0.5\flaglength-\x*1pt,0.5)--(0,\flagwidth-\y*1pt)--cycle; +\FrameCode +\EndFlagDescription |