summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/worldflags/worldflag_CD.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-04-20 20:13:00 +0000
committerKarl Berry <karl@freefriends.org>2021-04-20 20:13:00 +0000
commit6afb45c00f4bcfea8efffe384d8c4fff3b3150d3 (patch)
tree9dc7daa427ac9eda1e26691e9cf077e5f3ad48ee /Master/texmf-dist/tex/latex/worldflags/worldflag_CD.tex
parent4e4deceb7fcf63bfb6953bf55d36f212fec27128 (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_CD.tex')
-rw-r--r--Master/texmf-dist/tex/latex/worldflags/worldflag_CD.tex23
1 files changed, 23 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/worldflags/worldflag_CD.tex b/Master/texmf-dist/tex/latex/worldflags/worldflag_CD.tex
new file mode 100644
index 00000000000..0122fc3c499
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/worldflags/worldflag_CD.tex
@@ -0,0 +1,23 @@
+% --------------------------------------------------------------------------
+% Congo (Democratic Republic):
+% --------------------------------------------------------------------------
+\BeginFlagDescription{3}{4}
+\definecolor{red}{RGB}{249,66,58}
+\definecolor{blue}{RGB}{0,163,224}
+\definecolor{gold}{RGB}{255,215,0}
+\fill [blue] (0,0) rectangle (\flaglength,1);
+\starV{gold}{(0.24*\StretchFactor,0.742)}{0.1893*\flagwidth}{0}
+\begin{scope}
+\clip (0,0) rectangle (\flaglength,1);
+\newdimen\dd\dd=0.00148\flagwidth
+\newdimen\bb\bb=0.01\flaglength
+\newdimen\hh\hh=0.01\flagwidth
+\pgfmathparse{50*(\bb*\dd*sqrt(\hh^2+\bb^2-\dd^2)-\hh*\dd^2)/(\bb^2-\dd^2)}
+\edef\x{\pgfmathresult}
+\coordinate (c1) at (0,\x*1pt);
+\coordinate (c2) at (\flaglength,\flagwidth-\x*1pt);
+\draw [gold,line width=133.33\dd,line cap=rect] (c1)--(c2);
+\draw [red,line width=100\dd,line cap=rect] (c1)--(c2);
+\end{scope}
+\FrameCode
+\EndFlagDescription