summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/euflag/euflag.sty
blob: 28644220326b1331d7a9973e35405bce22603489 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
%%
%% This is file `euflag.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% euflag.dtx  (with options: `package')
%% 
%% This is a generated file.
%% 
%% Copyright © 2019 by Silmaril Consultants
%% 
%% This file was generated from an XML master source.
%% Amendments and corrections should be notified to the
%% maintainer for inclusion in future versions.
%% 
\NeedsTeXFormat{LaTeX2e}[2016/02/01]
\ProvidesPackage{euflag}[2019/02/02 v0.4
 European Union Flag]
\def\CPK@thispackage{euflag}
\edef\CPK@thispackage{\meaning\CPK@thispackage}
\edef\CPK@thisjob{\jobname}
\edef\CPK@thisjob{\meaning\CPK@thisjob}
\ifx\CPK@thispackage\CPK@thisjob
%% this is the documentation: omit PassOptionsToPackage
\message{Option svgnames not being passed to package xcolor}
\else
%% this is a user job: include PassOptionsToPackage
\message{Option svgnames being passed to package xcolor}
\PassOptionsToPackage{svgnames}{xcolor}
\fi
%%
%% Packages required
%%
%% Provide color.
\RequirePackage[svgnames]{xcolor}
  \@ifundefined{T}{%
    \newcommand{\T}[2]{{\fontencoding{T1}\selectfont#2}}}{}
%% Provide for graphics (PNG, JPG, or PDF format (only) for pdflatex; EPS format (only) for standard \LaTeX{}).
\RequirePackage{graphicx}
%% Provide for the American Mathematical Society's symbols (see their documentation for details).
\RequirePackage{amssymb}
\definecolor{PantoneReflexBlue}{HTML}{003399}
\definecolor{PantoneYellow}{HTML}{FFCC00}
\newcommand{\eustar}{\scalebox{0.1}{\ensuremath{\bigstar}}}
\newcommand{\euflag}{{%
    \fboxsep0pt
    \colorbox{PantoneReflexBlue}{%
        \vbox to1em{%
          \hsize1.5em
          \parskip0pt
          \parindent0pt
          \centering
          \color{PantoneYellow}%
          \setlength{\unitlength}{1em}
          \divide\unitlength by18
          \begin{picture}(6,6)(-2,3.5)
            \put(6,0){\eustar}
            \put(5.196,3){\eustar}
            \put(3,5.196){\eustar}
            \put(0,6){\eustar}
            \put(-3,5.196){\eustar}
            \put(-5.196,3){\eustar}
            \put(-6,0){\eustar}
            \put(-5.196,-3){\eustar}
            \put(-3,-5.196){\eustar}
            \put(0,-6){\eustar}
            \put(3,-5.196){\eustar}
            \put(5.196,-3){\eustar}
          \end{picture}%
      }% end vbox
    }% end colorbox
  }% end environment
}% end command

\endinput
%%
%% End of file `euflag.sty'.