%% %% 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-2024 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}[2023/12/30 v0.91 A command to reproduce the flag of the European Union] %% %% ****************************************************************** %% %% Options \newlength{\EUF@baseline} \setlength{\EUF@baseline}{0pt} \DeclareOption{baseline}{\setlength\EUF@baseline{-.167em}} \DeclareOption*{% \PackageWarning{euflag}{Unknown option ‘\CurrentOption’; please Read The Fine Manual}% } \ProcessOptions %% Now invoke the options. \ExecuteOptions{} \ProcessOptions\relax %% %% Packages required for the package %% %% Sets the Google NoTo typeface as the default. \RequirePackage{noto}% %% Provide for running headers and footers. \RequirePackage{fancyhdr}% %% Some \LaTeX{} kernel commands for general use, but in the case of ClassPack, particularly ltx@ifpackageloaded. \RequirePackage{ltxcmds}% \ifdefined\IfPackageLoaded\relax \else\newcommand{\IfPackageLoaded}[3]{% \ltx@ifpackageloaded{#1}{#2}{#3}}\fi %% Creates paragraphs separated by white-space with no indentation. \RequirePackage{parskip}% %% Provide color. \IfPackageLoaded{xcolor}{\relax}{% \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{}); and for reflection and rotation features. \RequirePackage{graphicx}% %% Provide for the American Mathematical Society's symbols (see their documentation for details). \RequirePackage{amssymb}% \RequirePackage{anyfontsize}% %% %% ****************************************************************** %% %% Changes to package defaults \definecolor{PantoneReflexBlue}{HTML}{003399} \definecolor{PantoneYellow}{HTML}{FFCC00} %% %% ****************************************************************** %% %% The flag \newcommand{\eustar}{\scalebox{0.1}{\ensuremath{\bigstar}}} \newcommand{\makestars}{% \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}% } \newcommand{\euflag}[1][\EUF@baseline]{% {% \fboxsep0pt \raisebox{#1}{% \colorbox{PantoneReflexBlue}{% \vbox to1em{% \hsize1.5em \parskip0pt \parindent0pt \centering \makestars \vfill }% end vbox }% end colorbox }% end raisebox }% end encapsulation }% end command \endinput %% %% End of file `euflag.sty'.