Debian Codegraph @

texmf-dist/tex/latex/worldflags/worldflag_JM.tex

raw
1 % --------------------------------------------------------------------------
2 % Jamaica:
3 % --------------------------------------------------------------------------
4 \begin{flagdescription}{1/2}
5 \definecolor{green}{RGB}{0,177,64}
6 \definecolor{gold}{RGB}{254,219,0}
7 \fill [black] (0,0) rectangle (\flaglength,1);
8 \fill [green] (0,0)--(\flaglength,0)--(0.5\flaglength,0.5)--cycle;
9 \fill [green] (0,1)--(\flaglength,1)--(0.5\flaglength,0.5)--cycle;
10 \begin{scope}
11 \clip (0,0) rectangle (\flaglength,1);
12 \draw [gold,line width=\flagwidth/6] (0,0)--(\flaglength,1);
13 \draw [gold,line width=\flagwidth/6] (0,1)--(\flaglength,0);
14 \end{scope}
15 \framecode{}
16 \end{flagdescription}