From 215192d4520ba482f2c8ba1e9ef8f4fe5d36d420 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 4 Feb 2019 21:36:09 +0000 Subject: euflag (4feb19) git-svn-id: svn://tug.org/texlive/trunk@49934 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/euflag/classpack.sty | 112 +++++++++++++++++++++++ Master/texmf-dist/tex/latex/euflag/euflag.sty | 78 ++++++++++++++++ 2 files changed, 190 insertions(+) create mode 100644 Master/texmf-dist/tex/latex/euflag/classpack.sty create mode 100644 Master/texmf-dist/tex/latex/euflag/euflag.sty (limited to 'Master/texmf-dist/tex/latex/euflag') diff --git a/Master/texmf-dist/tex/latex/euflag/classpack.sty b/Master/texmf-dist/tex/latex/euflag/classpack.sty new file mode 100644 index 00000000000..65c6381369a --- /dev/null +++ b/Master/texmf-dist/tex/latex/euflag/classpack.sty @@ -0,0 +1,112 @@ +%% +%% This is file `classpack.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% classpack.dtx (with options: `package') +%% +%% This is a generated file. +%% +%% Copyright © 2009-2013 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}[2015/01/01] +\ProvidesPackage{classpack}[2019/01/22 v1.10 + A literate-programming solution to class and package maintenance] +%% +%% Packages required +%% +%% Provide for graphics (PNG, JPG, or PDF format (only) for pdflatex; EPS format (only) for standard \LaTeX{}). +\RequirePackage{graphicx} +%% Additional column formatting types for tables. +\RequirePackage{array} +%% Handling of URI formatting. +\RequirePackage{url} +\@ifundefined{c@IndexColumns}{}{\setcounter{IndexColumns}{2}} +\setlength{\columnsep}{3pc} +\def\MacroFont{\fontencoding\encodingdefault + \ttfamily\fontseries{m}\fontshape\updefault + \small\selectfont\color{DarkBlue}} +\newlength{\revmarg} +\setlength{\revmarg}{25mm} +\renewcommand*\l@subsection{% + \@dottedtocline{2}{1.5em}{2.7em}} +\renewcommand*\l@subsubsection{% + \@dottedtocline{3}{4.2em}{3.6em}} +\renewcommand{\@pnumwidth}{3em} +\renewcommand{\@tocrmarg}{4em plus1fil} +\renewcommand\appendix{\par + \setcounter{section}{0}% + \setcounter{subsection}{0}% + \gdef\thesection{\@Alph\c@section}} +\def\ConTeXt{C\kern-.0333emon\-\kern-.0667em\TeX + \kern-.0333emt} +\def\tubreflect#1{% + \@ifundefined{reflectbox}{% + \PackageError{classpack}% + {A graphics package must be loaded for \string\XeTeX}% + {Add the graphicx package to your Preamble}% + }{% otherwise OK + \ifdim \fontdimen1\font>0pt + \raise 1.75ex \hbox{\kern.1em + \rotatebox{180}{#1}}\kern-.1em + \else + \reflectbox{#1}% + \fi + }% +} +\def\tubhideheight#1{\setbox0=\hbox{#1}% + \ht0=0pt \dp0=0pt \box0 } +\DeclareRobustCommand\Xe[1]{\leavevmode + \tubhideheight{\hbox{X% + \setbox0=\hbox{\TeX}\setbox1=\hbox{E}% + \lower\dp0\hbox{\raise\dp1\hbox{% + \kern-.125em\tubreflect{E}}}% + \kern-.1667em #1}}} +\def\XeTeX{\Xe\TeX} +\def\XeLaTeX{\Xe{\,\LaTeX}} +\DeclareRobustCommand\SMC{% + \ifx\@currsize\normalsize\small\else + \ifx\@currsize\small\footnotesize\else + \ifx\@currsize\footnotesize\scriptsize\else + \ifx\@currsize\large\normalsize\else + \ifx\@currsize\Large\large\else + \ifx\@currsize\LARGE\Large\else + \ifx\@currsize\scriptsize\tiny\else + \ifx\@currsize\tiny\tiny\else + \ifx\@currsize\huge\LARGE\else + \ifx\@currsize\Huge\huge\else + \small\SMC@unknown@warning + \fi\fi\fi\fi\fi\fi\fi\fi\fi\fi +} +\newcommand\SMC@unknown@warning{\PackageError{classpack}% + {\string\SMC: nonstandard text font size command -- using + \string\small}% + {Check the font size or scaling for \the\@currsize}} +\newcommand\textSMC[1]{{\SMC #1}} + \def\Bib{% + \ifdim \fontdimen1\font>0pt + B{\SMC\SMC IB}% + \else + \textsc{Bib}% + \fi +} +\def\BibTeX{\Bib\kern-.08em \TeX} +\let\BiBTeX\BibTeX +\let\BIBTeX\BibTeX +\newcommand{\vstrut}{\vrule height1.2em depth.6667ex width0pt} +\def\menusep{\thinspace$\rightarrow$\thinspace\allowbreak} +\newcommand{\prestrut}{\vrule height1em width0pt} +\newcommand{\poststrut}{\vrule depth.5ex width0pt} +\hyphenation{ele-ment ele-ments attri-bute attri-butes + docu-ment docu-ments primi-tive helico-pter} +\renewcommand*\descriptionlabel[1]{% + \hspace\labelsep\sffamily\bfseries #1} + +\endinput +%% +%% End of file `classpack.sty'. 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'. -- cgit v1.2.3