From 6afb45c00f4bcfea8efffe384d8c4fff3b3150d3 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 20 Apr 2021 20:13:00 +0000 Subject: worldflags (20apr21) git-svn-id: svn://tug.org/texlive/trunk@58924 c570f23f-e606-0410-a88d-b1316a301751 --- .../tex/latex/worldflags/worldflag_CD.tex | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Master/texmf-dist/tex/latex/worldflags/worldflag_CD.tex (limited to 'Master/texmf-dist/tex/latex/worldflags/worldflag_CD.tex') 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 -- cgit v1.2.3