summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/euflag/euflag.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-02-04 21:36:09 +0000
committerKarl Berry <karl@freefriends.org>2019-02-04 21:36:09 +0000
commit215192d4520ba482f2c8ba1e9ef8f4fe5d36d420 (patch)
treeae9dfa821643aa6919ff88744977fefafb2e41c7 /Master/texmf-dist/tex/latex/euflag/euflag.sty
parent054d357b9895e835697ab0d8648835ef60d7e174 (diff)
euflag (4feb19)
git-svn-id: svn://tug.org/texlive/trunk@49934 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/euflag/euflag.sty')
-rw-r--r--Master/texmf-dist/tex/latex/euflag/euflag.sty78
1 files changed, 78 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/euflag/euflag.sty b/Master/texmf-dist/tex/latex/euflag/euflag.sty
new file mode 100644
index 00000000000..28644220326
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/euflag/euflag.sty
@@ -0,0 +1,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'.