diff options
author | Karl Berry <karl@freefriends.org> | 2020-05-21 21:45:11 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-05-21 21:45:11 +0000 |
commit | b5c6b4e69ec65db2578627cc90a418cf8bd02bd3 (patch) | |
tree | 85acd52b1cb307c93ee695e13e3f100df8b119a6 /Master/texmf-dist | |
parent | 89196b0ed409542647040a6706a4153df23e3d58 (diff) |
euflag (21may20)
git-svn-id: svn://tug.org/texlive/trunk@55227 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r-- | Master/texmf-dist/doc/latex/euflag/MANIFEST | 5 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/euflag/README.md | 218 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/euflag/VERSION | 2 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/euflag/classpack.sty | 112 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/euflag/euflag.pdf | bin | 102108 -> 106973 bytes | |||
-rw-r--r-- | Master/texmf-dist/source/latex/euflag/euflag.dtx | 581 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/euflag/euflag.ins | 4 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/euflag/euflag.sty | 91 |
8 files changed, 512 insertions, 501 deletions
diff --git a/Master/texmf-dist/doc/latex/euflag/MANIFEST b/Master/texmf-dist/doc/latex/euflag/MANIFEST index b9ce8d33b3b..10e0c903dea 100644 --- a/Master/texmf-dist/doc/latex/euflag/MANIFEST +++ b/Master/texmf-dist/doc/latex/euflag/MANIFEST @@ -1,5 +1,6 @@ -README.md -MANIFEST euflag.dtx euflag.ins euflag.pdf +MANIFEST +README.md +VERSION diff --git a/Master/texmf-dist/doc/latex/euflag/README.md b/Master/texmf-dist/doc/latex/euflag/README.md index 09c6b0d927d..9551743a2c9 100644 --- a/Master/texmf-dist/doc/latex/euflag/README.md +++ b/Master/texmf-dist/doc/latex/euflag/README.md @@ -1,120 +1,98 @@ -# euflag - -This is the README.md file for the euflag LaTeX package v0.4 (2019-02-02) - -##Summary -%% This package implements a single command \euflag which reproduces the -official flag of the European Union using just the built-in picture -environment, with the _xcolor_ and _graphicx_ packages and the _amssymb_ -font. -%% The flag is reproduced at 1em high based on the current font size, so it -can be scaled arbitrarily by changing the font size (see examples in ). -%% \begingroup\centering\fontsize{230}{0}\selectfont\euflag\par\endgroup - - -##Normal installation - -If this package is distributed from CTAN, it should be in a zip file -which allows it to be installed automatically by the TeX Live update -manager _tlmgr_ and similar automated installers. If you are using -automated package installation, no further action is required. +[//]: # (euflag LaTeX package) -##TDS installation +# euflag -This package is also available as a `.tds.zip` file. TDS is the TeX -Directory Structure, the standard layout for a modern TeX installation. -This enables the package to be unzipped directly into your Personal TeX -Directory (see below for what this is and how to create one on your -system). +This is the README.md file for the euflag LaTeX package v0.7 (2020-05-16) +generated by ClassPack v.1.19 (2020-05-19) on 20 May 2020 at 19:09:55 - * Install it on any TDS-compliant personal system (laptop, desktop, -workstation, table, smartphone, PDA, etc) by unzipping it straight into -your Personal TeX Directory (folder). This will put all the files into -the right places, so you can start using them immediately. +## Summary +This package implements a single command `\euflag` which reproduces the +official flag of the European Union (EU) using just the built-in picture +environment, with the _xcolor_ and _graphicx_ packages and the _amssymb_ +font. - * If you haven't yet created a personal TeX directory, see below for -details of what one is, and how to create it. +The flag is reproduced at 1em high based on the current font size, so it +can be scaled arbitrarily by changing the font size locally (see +examples in the informal table labelled ‘examples’ in §2). An option +allows for the flag to be aligned on the bottom star. +[Raw LaTeX code omitted here: see PDF doc] - * On a shared (multiuser) system like a server, unzip it into the -$TEXMFLOCAL directory instead (see below), and run your TeX -directory-indexing program (eg _texhash__mktexlsr_, etc) so that -everyone can use it. +## Automated installation +If this package is distributed from CTAN, it should be in a zip file +which allows it to be installed automatically by the TeX Live Manager +(tlmgr) and similar automated installers. + +If you are using automated LaTeX package installation, no further action +is required: the package will be installed the first time you use it in +a LaTeX document. + +If you are using the TeX Live Manager (_tlmgr_) program manually, you +can install this package with the command: + + $ tlmgr install euflag + + +## TDS installation + +This package is also available as a TeX Directory System (TDS) zip file +(`.tds.zip`). This is the standard directory layout for a modern TeX +installation which enables the package to be unzipped directly into your +Personal TeX Directory without the need to use _tlmgr_. If you haven’t +yet created a Personal TeX Directory, see below for details of what one +is, and how to create it. + * You can install this package on any TDS-compliant personal system +(laptop, desktop, workstation, table, smartphone, PDA, etc) by unzipping +it straight into your Personal TeX Directory. This will put all the +files into the right places, so you can start using them immediately. + * On a shared (multiuser) system like a server, the administrator can +unzip it into the `$TEXMFLOCAL` directory instead (see below), and run +your TeX directory-indexing program (eg _texhash_, _mktexlsr_, etc) so +that everyone can use it. * If you are using an old non-TDS-compliant system, see below under Manual Installation. +### Your Personal TeX Directory -###Your Personal TeX Directory - -This is a directory (folder) on single-user systems where you should put -all your local manual modifications (updates, and additions such as new -or updated classes, packages, and fonts) that are _not_ handled -automatically by the TeX Live update manager (_tlmgr_). The name and -location are fixed: - - -<dl> - - <dt>Apple Mac OS X - -</dt> +This is a directory (folder) where you should put all local manual +modifications (updates, additions such as new or updated classes, +packages, and fonts) that are _not_ handled automatically by _tlmgr_. +The name and location are fixed (for all practical purposes): + * Apple Mac OS X - <dd>`~/Library/texmf` + ~/Library/texmf + * Unix and GNU/Linux -</dd> + ~/texmf + * MS-Windows 95/XP/NT - <dt>Unix and GNU/Linux + C:\texmf + * MS-Windows 2007 and above -</dt> - - <dd>`~/texmf` - -</dd> - - <dt>MS-Windows 95/XP - -</dt> - - <dd>`C:\texmf` - -</dd> - - <dt>MS-Windows 2007 and above - -</dt> - - <dd>`Computer\System\YOURNAME\texmf` - -</dd> - -</dl> + Computer\System\YOURNAME\texmf Create that folder now if it does not already exist. Put (or unzip) all -additions to your system that are not handled by _tlmgr_ into this +additions to your system that are _not_ handled by _tlmgr_ into this directory, following _exactly_ the subdirectory structure that is used in your main TeX distribution (unzipping a TDS file does this for you). This is what enables LaTeX to find stuff automatically. -> #### If you are a Windows user running _MiKTeX_ - - #### - -> When you create the folder, you must add it to _MiKTeX_'s list of supported folders. Run the _MiKTeX Maintenance/Settings_ program, select the `Roots` tab, and add the folder. You only have to do this once. -> -> Each time you add or remove software in your personal TeX folder, you _must_ also click on the `Update FNDB` button in the `General` tab. +> #### If you are a Windows user running _MiKTeX_ +> When you create the folder for your Personal TeX Directory, you MUST add it to _MiKTeX_ ’s list of supported folders. Run the _MiKTeX Maintenance/Settings_ program, select the `Roots` tab, and add the folder. You only have to do this once. +> > Each time you add or remove software in your Personal TeX Directory, you MUST then click on the `Update FNDB` button in the `General` tab of the _MiKTeX Maintenance/Settings_ program, otherwise _MiKTeX_ will not find them and nothing will work! > Unix (Mac and GNU/Linux) users do not need to (indeed, should not) run -their filename database indexer (_mktexlsr_ or _texhash_) for files put -in your personal TeX directory. +their filename database indexer program (_mktexlsr_ or _texhash_) for +files put into a personal TeX directory. -##Installation on shared systems +## Installation on shared systems On multi-user systems (Unix-based), identify the shared local directory tree with the command @@ -122,30 +100,36 @@ tree with the command kpsewhich -expand-var '$TEXMFLOCAL' This will give you the location of the shared `texmf` directory into -which you must install these files. +which you must unzip these files. -Do not forget to run the _texhash_ or _mktexlsr_ (filename indexer) -program after installation, otherwise the files will not be found by -LaTeX and nothing will work! +Do not forget to run your local TeX filename database indexer program +(_texhash_ or _mktexlsr_) after installation, otherwise the files will +not be found by LaTeX and nothing will work! -##Manual installation (non-TDS systems) +## Manual installation (non-TDS systems) -To install this software manually, unzip the zip file into a temporary -directory and move the class and/or package file[s] from the -`tex/latex/euflag` directory to a location (directory/folder) where -LaTeX will find it on your system. This is referred to in some -documentation as “the TEXINPUTS directory”, although it may be called -something else on your system. +To install this software manually, download and unzip the _non-_TDS zip +file into a temporary directory and move the class and/or package +file[s] and other files to the proper locations where LaTeX will find +them on your system. This is referred to in some documentation as “the +`TEXINPUTS` directory”, although it may be called something else on your +system. _It is your responsibility to know where this location is._ See the -question in the TeX FAQ at -http://www.tex.ac.uk/cgi-bin/texfaq2html?label=inst-wlcf for more -information. If you do not know, or cannot find it, or do not have -access to it, your TeX system may be out of date and need replacing. +question in the TeX FAQ at https://texfaq.org/FAQ-inst-wlcf.html for +more information. If you do not know, or cannot find it, or do not have +access to it, your TeX system may be out of date and may need replacing. + -##Last resort +## Online systems and “last resort” systems + +Some online LaTeX systems use CTAN, so a package from there should be +available on demand. For other online LaTeX systems where you do not +have access to the file system, unzip the _non-_TDS zip file into a +temporary directory and upload the files to the online system. Follow +their instructions for where to put them. In an emergency, or as a last resort on unmanageable systems, it is possible simply to put the class and/or package file[s] into your @@ -155,32 +139,36 @@ While this may work, it is not supported, and may lead to other resources (packages, fonts, images etc) not being found. -##Usage +## Usage -Make this the first line of your LaTeX document: +Include the line shown below in the Preamble of your LaTeX document; a +`\documentclass` line should be at the top; a `\usepackage` command +normally goes anywhere in the Preamble: - \usepackage[options]{} + \usepackage[options]{euflag} -(or other class or package if more than one is supplied). Read the -documentation for the options available. The documentation is -distributed as a PDF document in the zip file. You can also regenerate -it by typesetting the `euflag.dtx` file with `xelatex` (and `biber` and -_makeindex_) in the normal way. +(similarly for other classes or packages if more than one is supplied +with this package). Read the documentation for the options available, if +any. The documentation is distributed as a PDF document in the zip file. +You can also regenerate it by typesetting the `euflag.dtx` file with +`xelatex` (and `biber` and _makeindex_) in the normal way. -##Bugs and TODO +## Bugs and TODO No outstanding reported bugs at the time of this version. +For TODO items, see the PDF documentation. + -##Copyright +## Copyright The following statement is included in the source code: Transformed from euflag.xml by ClassPack db2dtx.xsl - version 1.10 (2019-01-22) on Sunday 3 February 2019 at 21:19:20 + version 1.19 (2020-05-19) on Wednesday 20 May 2020 at 19:09:55 - euflag.sty is copyright © 2019 by Peter Flynn <peter@silmaril.ie> + euflag.sty is copyright © 2019-2020 by Peter Flynn <peter@silmaril.ie> This work may be distributed and/or modified under the conditions of the LaTeX Project Public License, either diff --git a/Master/texmf-dist/doc/latex/euflag/VERSION b/Master/texmf-dist/doc/latex/euflag/VERSION index 0d1eb927c7c..cba817f265a 100644 --- a/Master/texmf-dist/doc/latex/euflag/VERSION +++ b/Master/texmf-dist/doc/latex/euflag/VERSION @@ -1 +1 @@ -Date of most-recently-changed file is 2019-02-03T21:19:00 +Date of most recent change is 2020-05-16 diff --git a/Master/texmf-dist/doc/latex/euflag/classpack.sty b/Master/texmf-dist/doc/latex/euflag/classpack.sty deleted file mode 100644 index 65c6381369a..00000000000 --- a/Master/texmf-dist/doc/latex/euflag/classpack.sty +++ /dev/null @@ -1,112 +0,0 @@ -%% -%% 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/doc/latex/euflag/euflag.pdf b/Master/texmf-dist/doc/latex/euflag/euflag.pdf Binary files differindex abfedfb3fca..b5f9e4828cc 100644 --- a/Master/texmf-dist/doc/latex/euflag/euflag.pdf +++ b/Master/texmf-dist/doc/latex/euflag/euflag.pdf diff --git a/Master/texmf-dist/source/latex/euflag/euflag.dtx b/Master/texmf-dist/source/latex/euflag/euflag.dtx index 83dfd31f136..a6bc7ca8456 100644 --- a/Master/texmf-dist/source/latex/euflag/euflag.dtx +++ b/Master/texmf-dist/source/latex/euflag/euflag.dtx @@ -1,9 +1,9 @@ % \iffalse meta-comment % % Transformed from euflag.xml by ClassPack db2dtx.xsl -% version 1.10 (2019-01-22) on Sunday 3 February 2019 at 21:19:20 +% version 1.19 (2020-05-19) on Wednesday 20 May 2020 at 19:09:55 % -% euflag.dtx is copyright © 2019 by Peter Flynn <peter@silmaril.ie> +% euflag.dtx is copyright © 2019-2020 by Peter Flynn <peter@silmaril.ie> % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either @@ -26,16 +26,16 @@ % \fi % \iffalse %<package>\NeedsTeXFormat{LaTeX2e}[2016/02/01] -%<package>\ProvidesPackage{euflag}[2019/02/02 v0.4 -%<package> European Union Flag] +%<package>\ProvidesPackage{euflag}[2020/05/16 v0.7 +%<package> European Union Flag] %<*driver> \RequirePackage{fix-cm}% included by default. -\PassOptionsToPackage{svgnames}{xcolor}% xcolor or hyperref in use +\PassOptionsToPackage{svgnames}{xcolor}% xcolor/dox/hyperref implied \documentclass[12pt]{ltxdoc} %% %% Packages added for documentation %% -\usepackage{dox}% included by default. (0) +\usepackage{dox}% used by default. (0)% \makeatletter \doxitem[idxtype=attribute]{Attribute}{CPK@attribute}{attributes} \makeatother @@ -64,9 +64,15 @@ \doxitem[idxtype=error]{Error}{CPK@error}{errors} \makeatother \makeatletter + \doxitem[idxtype=field]{Field}{CPK@field}{fields} + \makeatother + \makeatletter \doxitem[idxtype=file]{File}{CPK@file}{files} \makeatother \makeatletter + \doxitem[idxtype=font]{Font}{CPK@font}{fonts} + \makeatother + \makeatletter \doxitem[idxtype=function]{Function}{CPK@function}{functions} \makeatother \makeatletter @@ -85,7 +91,10 @@ \doxitem[idxtype=package]{Package}{CPK@package}{packages} \makeatother \makeatletter - \doxitem[idxtype=progvar]{Prog}{CPK@prog}{progvars} + \doxitem[idxtype=variable]{Variable}{CPK@variable}{variables} + \makeatother + \makeatletter + \doxitem[idxtype=parameter]{Parameter}{CPK@parameter}{parameters} \makeatother \makeatletter \doxitem[macrolike,idxtype=switch]{Switch}{CPK@switch}{switches} @@ -97,14 +106,11 @@ \doxitem[idxtype=typeface]{Typeface}{CPK@typeface}{typefaces} \makeatother \makeatletter - \doxitem[idxtype=font]{Font}{CPK@font}{fonts} - \makeatother - \makeatletter \doxitem[macrolike,idxtype=box]{Box}{CPK@box}{boxes} \makeatother \newcommand{\LabelFont}[2][\relax]{\strut {\fontencoding\encodingdefault - \fontfamily{lmtt}\fontseries{lc}#1\selectfont#2}\space} + \fontfamily{lmtt}\fontseries{lc}#1\selectfont#2}\space} \makeatletter \let\CPK@macro\macro\let\CPK@endmacro\endmacro \makeatother @@ -132,51 +138,69 @@ \def\PrintPackageName#1{\LabelFont[\fontfamily{lmss}]{#1}} \def\PrintSwitchName#1{\LabelFont{#1}} \def\PrintTemplateName#1{\LabelFont[\bfseries]{#1}} -%% fontenc omitted: conflicts with fontspec (3) -%% inputenc omitted: conflicts with fontspec (5) -\usepackage{fontspec}% a part/@conformance='xelatex' was detected. (6) -\usepackage{libertine}% requested by author (26) -\usepackage[scaled=0.9]{raleway}% requested by author (27) + \def\PrintVariableName#1{\LabelFont[\ttfamily]{#1}} + \def\PrintParameterName#1{\LabelFont[\ttfamily]{#1}} + \def\PrintFieldName#1{\LabelFont[\ttfamily]{#1}} +%% fontenc omit: conflict: fontspec (3) +%% inputenc omit: conflict: fontspec (4) +\usepackage{fontspec}% part/@conformance=xelatex detected. (7)% +\usepackage{libertine}% requested by author (27)% +\usepackage[scaled=0.9]{raleway}% requested by author (28)% \renewcommand{\textsc}[1]{{\smaller\MakeTextUppercase{#1}}} -\usepackage{mflogo}% included by default. (34) -\usepackage[british]{babel}% included by default. (39) +\usepackage{mflogo}% used by default. (35)% +\usepackage[british]{babel}% used by default. (40)% \usepackage[backend=biber,doi=true, - isbn=true,url=true,uniquename=false,style=apa]{biblatex}% a bibliography/@arch='biblatex' was detected. (40) + isbn=true,url=true,uniquename=false,style=apa]{biblatex}% bibliography/@arch=biblatex detected. (41)% \makeatletter - \@ifpackagewith{babel}{british}{% - \DeclareLanguageMapping{british}{british-apa}}{\relax} + \AtBeginDocument{% + \setlength{\bibitemsep}{1ex}% + \setlength{\bibnamesep}{1.5\itemsep}% + \defbibheading{shortbib}[References]% + {\section{#1}}} + \@ifpackagewith{babel}{british}{% + \DeclareLanguageMapping{british}% + {british-apa}}{\relax} \makeatother - \setlength{\bibnamesep}{1.5\itemsep} \makeatletter \providetoggle{blx@skipbiblist} \makeatother -\usepackage{csquotes}% a bibliography/@arch='biblatex' was detected. (41) -\usepackage{array}% requested by author (44) -\usepackage{calc}% included by default. (47) +\usepackage{csquotes}% bibliography/@arch=biblatex detected. (43)% +\usepackage{array}% requested by author (46)% +\usepackage{calc}% used by default. (49)% \makeatletter {\scriptsize \global\advance\@totalleftmargin by1em \global\advance\MacroIndent by.5em} \makeatother -\usepackage{ccaption}% included by default. (49) +\usepackage{ccaption}% used by default. (52)% \captionnamefont{\bfseries} \captionstyle{\raggedright} -\usepackage{draftwatermark}% requested by author (52) -\usepackage[inline]{enumitem}% requested by author (53) +\usepackage[inline]{enumitem}% requested by author (56)% \setlist[description]{style=unboxed} \setlist[itemize]{leftmargin=2em} \setlist[enumerate]{leftmargin=2em} \newlist{inlineenum}{enumerate*}{1} \setlist[inlineenum,1]{label=\emph{\alph*}), - itemjoin={{; }},itemjoin*={{, and }}} -\usepackage{fancybox}% use of 'note' was detected (54) -\usepackage{fancyvrb}% use of 'bibliography' was detected (57) -\usepackage{relsize}% use of 'acronym' was detected (61) -\usepackage{textcase}% included by default. (64) + itemjoin={{; }},itemjoin*={{; and }}} +\usepackage{fancybox}% use of 'note' detected (57)% +\usepackage{fancyvrb}% use of 'bibliography' detected (60)% +\usepackage{relsize}% use of 'acronym' detected (64)% +\usepackage{textcase}% used by default. (67)% +\usepackage{float}% used by default. (69)% + \renewcommand{\topfraction}{.85} + \renewcommand{\bottomfraction}{.7} + \renewcommand{\textfraction}{.15} + \renewcommand{\floatpagefraction}{.66} + \renewcommand{\dbltopfraction}{.66} + \renewcommand{\dblfloatpagefraction}{.66} + \setcounter{topnumber}{9} + \setcounter{bottomnumber}{9} + \setcounter{totalnumber}{20} + \setcounter{dbltopnumber}{9} \usepackage[a4paper,left=30mm,top=25mm, - textwidth=150mm,textheight=225mm]{geometry}% included by default. (67) -\usepackage{graphicx}% a part/@conformance='xelatex' was detected. (71) -\usepackage{listings}% use of 'programlisting' was detected (78) + textwidth=150mm,textheight=225mm,headheight=15pt]{geometry}% used by default. (71)% +\usepackage{graphicx}% part/@conformance=xelatex detected. (76)% +\usepackage{listings}% use of 'programlisting' detected (83)% \lstdefinelanguage{dummy} {morekeywords={dummy}} \lstdefinelanguage{Makefile} @@ -209,7 +233,8 @@ \lstdefinelanguage{bash} {morestring=[s]{[]},morekeywords={exit,logout,yes,no,@, password,ssh,URL,cd,dvips,latex,ls,makeindex,man,mkdir, - pdflatex,sudo,texconfig,texdoc,updmap,xelatex}} + pdflatex,sudo,texconfig,texdoc,updmap,xelatex,biber, + latexmk,bibtex}} \makeatother \lstdefinelanguage{APA}[]{XML} @@ -334,6 +359,7 @@ {—}{{---}}1 {’}{{'}}1 {…}{{\dots}}1 + {➝}{{$leftarrow$}}1 {⮠}{{$\hookleftarrow$}}1 {␣}{{\textvisiblespace}}1, keywordstyle=\color{DarkGreen}\bfseries, @@ -344,19 +370,19 @@ showstringspaces=false, columns=fullflexible, keepspaces=true} -\usepackage{makeidx}% included by default. (80) +\usepackage{makeidx}% used by default. (85)% \makeindex -\usepackage{nicefrac}% requested by author (85) +\usepackage{nicefrac}% requested by author (91)% \def\textonehalf{\ensuremath{\nicefrac12}} -\usepackage{parskip}% requested by author (87) -\usepackage{sectsty}% requested by author (91) - \allsectionsfont{\sffamily} +\usepackage{parskip}% requested by author (93)% +\usepackage{sectsty}% requested by author (97)% + \allsectionsfont{\sffamily\raggedright} \renewcommand*{\descriptionlabel}[1]{\hspace\labelsep \sffamily\bfseries #1} -\usepackage[normalem]{ulem}% use of 'link' was detected (97) -\usepackage{url}% requested by author (98) +\usepackage[normalem]{ulem}% use of 'link' detected (103)% +\usepackage{url}% requested by author (104)% \AtBeginDocument{\urlstyle{tt}} -\usepackage{varioref}% use of 'xref' was detected (101) +\usepackage{varioref}% use of 'xref' detected (107)% \vrefwarning \labelformat{appendix}{Appendix~#1} \makeatletter @@ -373,24 +399,25 @@ page} \def\reftextafter{on the \reftextvario{next}{following} page} -\usepackage{xcolor}% included by default. (109) +\usepackage{xcolor}% used by default. (115)% \makeatletter \@ifundefined{T}{% - \newcommand{\T}[2]{{\fontencoding{T1}\selectfont#2}}}{} + \newcommand{\T}[2]{{\fontencoding{T1}% + \selectfont#2}}}{} \makeatother -\usepackage{menukeys}% use of 'guimenu' was detected (112) +\usepackage{menukeys}% use of 'guimenu' detected (118)% \renewmenumacro{\menu}[>]{roundedmenus} \renewmenumacro{\directory}[/]{hyphenatepathswithfolder} \renewmenumacro{\keys}{shadowedroundedkeys} -\usepackage{classpack}% included by default. (114) -\usepackage{euflag}[2019/02/02]% added by specification +\usepackage{classpack}[2020/05/19]% used by default. (120)% +\usepackage{euflag}[2020/05/16]% added by spec \newcommand{\classorpackage}{package} \addbibresource{euflag.bib} \setmonofont[Scale=MatchLowercase]{zcoN} \allsectionsfont{\sffamily} % %% -%% Settings for docstrip and latexdoc +%% Settings for docstrip and ltxdoc %% \EnableCrossrefs \CodelineIndex @@ -401,24 +428,27 @@ %</driver> % \fi % -% \CheckSum{78} +% \CheckSum{94} % % \CharacterTable % {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z % Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z % Digits \0\1\2\3\4\5\6\7\8\9 -% Exclamation \! Double quote \" Hash (number) \# -% Dollar \$ Percent \% Ampersand \& -% Acute accent \' Left paren \( Right paren \) -% Asterisk \* Plus \+ Comma \, -% Minus \- Point \. Solidus \/ -% Colon \: Semicolon \; Less than \< -% Equals \= Greater than \> Question mark \? -% Commercial at \@ Left bracket \[ Backslash \\ -% Right bracket \] Circumflex \^ Underscore \_ -% Grave accent \` Left brace \{ Vertical bar \| -% Right brace \} Tilde \~} +% Exclamation \! Double quote \" Hash (number) \# +% Dollar \$ Percent \% Ampersand \& +% Acute accent \' Left paren \( Right paren \) +% Asterisk \* Plus \+ Comma \, +% Minus \- Point \. Solidus \/ +% Colon \: Semicolon \; Less than \< +% Equals \= Greater than \> Question mark \? +% Commercial at \@ Left bracket \[ Backslash \\ +% Right bracket \] Circumflex \^ Underscore \_ +% Grave accent \` Left brace \{ Vertical bar \| +% Right brace \} Tilde \~} % +% \changes{v0.7}{2020/05/16}{Regression release: 1) Updated to ClassPack 1.19; 2) Switched all conformance attributes on revision dates to YYYY-MM-DD.} +% \changes{v0.6}{2020/04/01}{Maintenance release: 1) Updated to ClassPack 1.18; 2) Switched all conformance attributes on revision dates to YYYY-MM-DD.} +% \changes{v0.5}{2019/07/24}{Separated stars from flag and added baseline option: 1) Made the ring of stars a separate macro so that they can be used on their own as well as in the flag.; 2) Added a baseline package option to align the bottom star with the text, and a command option to do it on a per-command basis..} % \changes{v0.4}{2019/02/02}{Changed the star: Changed from the bbdingFiveStar to the amssymbbigstar command..} % \changes{v0.3}{2019/02/02}{Mods to ClassPack: Added switch in db2dtx.xsl to detect the use of a package in its own documentation (as here) and code around the PassOptionsToPackage for svgnames on xcolor, which was causing an Option Clash error..} % \changes{v0.2}{2019/02/01}{Works in table cells: Fixed bug (a vfill) that was crashing (well, locking up) \LaTeX{} when euflag was used in a table cell..} @@ -427,63 +457,69 @@ % \GetFileInfo{euflag.dtx} % % \DoNotIndex{\@,\@@par,\@beginparpenalty,\@empty} -% \DoNotIndex{\@flushglue,\@gobble,\@input} -% \DoNotIndex{\@makefnmark,\@makeother,\@maketitle} -% \DoNotIndex{\@namedef,\@ne,\@spaces,\@tempa} -% \DoNotIndex{\@tempb,\@tempswafalse,\@tempswatrue} -% \DoNotIndex{\@thanks,\@thefnmark,\@topnum} -% \DoNotIndex{\@@,\@elt,\@forloop,\@fortmp,\@gtempa,\@totalleftmargin} -% \DoNotIndex{\",\/,\@ifundefined,\@nil,\@verbatim,\@vobeyspaces} -% \DoNotIndex{\|,\~,\ ,\active,\advance,\aftergroup,\begingroup,\bgroup} -% \DoNotIndex{\mathcal,\csname,\def,\documentstyle,\dospecials,\edef} -% \DoNotIndex{\egroup} -% \DoNotIndex{\else,\endcsname,\endgroup,\endinput,\endtrivlist} -% \DoNotIndex{\expandafter,\fi,\fnsymbol,\futurelet,\gdef,\global} -% \DoNotIndex{\hbox,\hss,\if,\if@inlabel,\if@tempswa,\if@twocolumn} -% \DoNotIndex{\ifcase} -% \DoNotIndex{\ifcat,\iffalse,\ifx,\ignorespaces,\index,\input,\item} -% \DoNotIndex{\jobname,\kern,\leavevmode,\leftskip,\let,\llap,\lower} -% \DoNotIndex{\m@ne,\next,\newpage,\nobreak,\noexpand,\nonfrenchspacing} -% \DoNotIndex{\obeylines,\or,\protect,\raggedleft,\rightskip,\rm,\sc} -% \DoNotIndex{\setbox,\setcounter,\small,\space,\string,\strut} -% \DoNotIndex{\strutbox} -% \DoNotIndex{\thefootnote,\thispagestyle,\topmargin,\trivlist,\tt} -% \DoNotIndex{\twocolumn,\typeout,\vss,\vtop,\xdef,\z@} -% \DoNotIndex{\,,\@bsphack,\@esphack,\@noligs,\@vobeyspaces,\@xverbatim} -% \DoNotIndex{\`,\catcode,\end,\escapechar,\frenchspacing,\glossary} -% \DoNotIndex{\hangindent,\hfil,\hfill,\hskip,\hspace,\ht,\it,\langle} -% \DoNotIndex{\leaders,\long,\makelabel,\marginpar,\markboth,\mathcode} -% \DoNotIndex{\mathsurround,\mbox,\newcount,\newdimen,\newskip} -% \DoNotIndex{\nopagebreak} -% \DoNotIndex{\parfillskip,\parindent,\parskip,\penalty,\raise,\rangle} -% \DoNotIndex{\section,\setlength,\TeX,\topsep,\underline,\unskip,\verb} -% \DoNotIndex{\vskip,\vspace,\widetilde,\\,\%,\@date,\@defpar} -% \DoNotIndex{\[,\{,\},\]} -% \DoNotIndex{\count@,\ifnum,\loop,\today,\uppercase,\uccode} -% \DoNotIndex{\baselineskip,\begin,\tw@} -% \DoNotIndex{\a,\b,\c,\d,\e,\f,\g,\h,\i,\j,\k,\l,\m,\n,\o,\p,\q} -% \DoNotIndex{\r,\s,\t,\u,\v,\w,\x,\y,\z,\A,\B,\C,\D,\E,\F,\G,\H} -% \DoNotIndex{\I,\J,\K,\L,\M,\N,\O,\P,\Q,\R,\S,\T,\U,\V,\W,\X,\Y,\Z} -% \DoNotIndex{\1,\2,\3,\4,\5,\6,\7,\8,\9,\0} -% \DoNotIndex{\!,\#,\$,\&,\',\(,\),\+,\.,\:,\;,\<,\=,\>,\?,\_} -% \DoNotIndex{\discretionary,\immediate,\makeatletter,\makeatother} -% \DoNotIndex{\meaning,\newenvironment,\par,\relax,\renewenvironment} -% \DoNotIndex{\repeat,\scriptsize,\selectfont,\the,\undefined} -% \DoNotIndex{\arabic,\do,\makeindex,\null,\number,\show,\write,\@ehc} -% \DoNotIndex{\@author,\@ehc,\@ifstar,\@sanitize,\@title,\everypar} -% \DoNotIndex{\if@minipage,\if@restonecol,\ifeof,\ifmmode} -% \DoNotIndex{\lccode,\newtoks,\onecolumn,\openin,\p@,\SelfDocumenting} -% \DoNotIndex{\settowidth,\@resetonecoltrue,\@resetonecolfalse,\bf} -% \DoNotIndex{\clearpage,\closein,\lowercase,\@inlabelfalse} -% \DoNotIndex{\selectfont,\mathcode,\newmathalphabet,\rmdefault} -% \DoNotIndex{\bfdefault,\DeclareRobustCommand} +% \DoNotIndex{\@flushglue,\@gobble,\@input,\@makefnmark} +% \DoNotIndex{\@makeother,\@maketitle,\@namedef,\@ne} +% \DoNotIndex{\@spaces,\@tempa,\@tempb,\@tempswafalse} +% \DoNotIndex{\@tempswatrue,\@thanks,\@thefnmark,\@topnum} +% \DoNotIndex{\@@,\@elt,\@forloop,\@fortmp,\@gtempa} +% \DoNotIndex{\@totalleftmargin,\",\/,\@ifundefined,\@nil} +% \DoNotIndex{\@verbatim,\@vobeyspaces,\|,\~,\ ,\active} +% \DoNotIndex{\advance,\aftergroup,\begingroup,\bgroup} +% \DoNotIndex{\mathcal,\csname,\def,\documentstyle} +% \DoNotIndex{\dospecials,\edef,\egroup,\else,\endcsname} +% \DoNotIndex{\endgroup,\endinput,\endtrivlist} +% \DoNotIndex{\expandafter,\fi,\fnsymbol,\futurelet,\gdef} +% \DoNotIndex{\global,\hbox,\hss,\if,\if@inlabel} +% \DoNotIndex{\if@tempswa,\if@twocolumn,\ifcase,\ifcat} +% \DoNotIndex{\iffalse,\ifx,\ignorespaces,\index,\input} +% \DoNotIndex{\item,\jobname,\kern,\leavevmode,\leftskip} +% \DoNotIndex{\let,\llap,\lower,\m@ne,\next,\newpage} +% \DoNotIndex{\nobreak,\noexpand,\nonfrenchspacing} +% \DoNotIndex{\obeylines,\or,\protect,\raggedleft} +% \DoNotIndex{\rightskip,\rm,\sc,\setbox,\setcounter} +% \DoNotIndex{\small,\space,\string,\strut,\strutbox} +% \DoNotIndex{\thefootnote,\thispagestyle,\topmargin} +% \DoNotIndex{\trivlist,\tt,\twocolumn,\typeout,\vss,\vtop} +% \DoNotIndex{\xdef,\z@,\,,\@bsphack,\@esphack,\@noligs} +% \DoNotIndex{\@vobeyspaces,\@xverbatim,\`,\catcode,\end} +% \DoNotIndex{\escapechar,\frenchspacing,\glossary} +% \DoNotIndex{\hangindent,\hfil,\hfill,\hskip,\hspace,\ht} +% \DoNotIndex{\it,\langle,\leaders,\long,\makelabel} +% \DoNotIndex{\marginpar,\markboth,\mathcode,\mathsurround} +% \DoNotIndex{\mbox,\newcount,\newdimen,\newskip} +% \DoNotIndex{\nopagebreak,\parfillskip,\parindent} +% \DoNotIndex{\parskip,\penalty,\raise,\rangle,\section} +% \DoNotIndex{\setlength,\TeX,\topsep,\underline,\unskip} +% \DoNotIndex{\verb,\vskip,\vspace,\widetilde,\\,\%,\@date} +% \DoNotIndex{\@defpar,\[,\{,\},\],\count@,\ifnum,\loop} +% \DoNotIndex{\today,\uppercase,\uccode,\baselineskip} +% \DoNotIndex{\begin,\tw@,\a,\b,\c,\d,\e,\f,\g,\h,\i,\j,\k} +% \DoNotIndex{\l,\m,\n,\o,\p,\q,\r,\s,\t,\u,\v,\w,\x,\y,\z} +% \DoNotIndex{\A,\B,\C,\D,\E,\F,\G,\H,\I,\J,\K,\L,\M,\N,\O} +% \DoNotIndex{\P,\Q,\R,\S,\T,\U,\V,\W,\X,\Y,\Z,\1,\2,\3,\4} +% \DoNotIndex{\5,\6,\7,\8,\9,\0,\!,\#,\$,\&,\',\(,\)} +% \DoNotIndex{\+,\.,\:,\;,\<,\=,\>,\?,\_,\discretionary} +% \DoNotIndex{\immediate,\makeatletter,\makeatother} +% \DoNotIndex{\meaning,\newenvironment,\par,\relax} +% \DoNotIndex{\renewenvironment,\repeat,\scriptsize} +% \DoNotIndex{\selectfont,\the,\undefined,\arabic,\do} +% \DoNotIndex{\makeindex,\null,\number,\show,\write,\@ehc} +% \DoNotIndex{\@author,\@ehc,\@ifstar,\@sanitize,\@title} +% \DoNotIndex{\everypar,\if@minipage,\if@restonecol,\ifeof} +% \DoNotIndex{\ifmmode,\lccode,\newtoks,\onecolumn,\openin} +% \DoNotIndex{\p@,\SelfDocumenting,\settowidth} +% \DoNotIndex{\@resetonecoltrue,\@resetonecolfalse,\bf} +% \DoNotIndex{\clearpage,\closein,\lowercase} +% \DoNotIndex{\@inlabelfalse,\selectfont,\mathcode} +% \DoNotIndex{\newmathalphabet,\rmdefault,\bfdefault} +% \DoNotIndex{\DeclareRobustCommand} % \DoNotIndex{\classorpackage} % \DoNotIndex{\euflag} % \DoNotIndex{\FiveStar} % \DoNotIndex{\bigstar} % \DoNotIndex{\PassOptionsToPackage} % \DoNotIndex{\vfill} -% \DoNotIndex{\raisebox} +% \DoNotIndex{\euflag[-.167em]} % \DoNotIndex{\scalebox} % \DoNotIndex{\colorbox} % \DoNotIndex{\fboxsep} @@ -494,8 +530,8 @@ % \def\@@doxdescribe#1#2{\endgroup \ifdox@noprint\else\marginpar{\raggedleft \textcolor{DarkRed}{\@nameuse{PrintDescribe#1}{#2}}}\fi \ifdox@noindex\else\@nameuse{Special#1Index}{#2}\fi \endgroup\@esphack\ignorespaces} % \makeatother % -% \def\fileversion{0.4} -% \def\filedate{2019/02/02} +% \def\fileversion{0.7} +% \def\filedate{2020/05/16} % \title{The \textsf{euflag} \LaTeXe\ package\thanks{% % This document corresponds to \textsf{euflag} % \textit{v.}\ \fileversion $\beta$, dated \filedate.} @@ -510,58 +546,59 @@ % \parindent=0pt% \noindent % This package implements a single command % {\ttfamily{}\textbackslash{}euflag} which reproduces the official flag -% of the European Union ({\smaller EU})\index{European Union|see{EU}}\index{EU|textbf} using +% of the European Union ({\smaller EU})\index{EU|see{European Union}}\index{European Union|textbf} using % just the built-in \texttt{picture} environment, with the % \textsf{xcolor} and \textsf{graphicx} % packages and the \textsf{amssymb} font.\par % The flag is reproduced at 1em high based on the current % font size, so it can be scaled arbitrarily by changing the -% font size (see examples in the table \vpageref{examples}).\par +% font size locally (see examples in the table \vpageref{examples}). An option allows for the flag to be +% aligned on the bottom star.\par % \begingroup\centering\fontsize{230}{0}\selectfont\euflag\par\endgroup\par % \end{abstract} % \clearpage % \tableofcontents % \clearpage % \section*{Latest changes} -% \subsection*{v.0.4 (2019-02-02)} -% \paragraph*{Changed the star} +% \subsection*{v.0.7 (2020-05-16)} +% \paragraph*{Regression release} % \begin{itemize} -% \item Changed from the \textsf{bbding} {\ttfamily{}\textbackslash{}FiveStar} to the -% \textsf{amssymb} {\ttfamily{}\textbackslash{}bigstar} -% command.\par +% \item Updated to ClassPack 1.19\par +% \item Switched all conformance attributes on revision +% dates to YYYY-MM-DD\par % \end{itemize} -% \subsection*{v.0.3 (2019-02-02)} -% \paragraph*{Mods to ClassPack} +% \subsection*{v.0.6 (2020-04-01)} +% \paragraph*{Maintenance release} % \begin{itemize} -% \item Added switch in {\ttfamily{}db2dtx.xsl} to -% detect the use of a package in its own documentation -% (as here) and code around the -% {\ttfamily{}\textbackslash{}PassOptionsToPackage} for -% \textbf{\texttt{svgnames}} on -% \textsf{xcolor}, which was causing an Option -% Clash error.\par +% \item Updated to ClassPack 1.18\par +% \item Switched all conformance attributes on revision +% dates to YYYY-MM-DD\par % \end{itemize} -% \subsection*{v.0.2 (2019-02-01)} -% \paragraph*{Works in table cells} +% \subsection*{v.0.5 (2019-07-24)} +% \paragraph*{Separated stars from flag and added baseline option} % \begin{itemize} -% \item Fixed bug (a {\ttfamily{}\textbackslash{}vfill}) that was -% crashing (well, locking up) \LaTeX{} when -% {\ttfamily{}\textbackslash{}euflag} was used in a table -% cell.\par +% \item Made the ring of stars a separate macro so that +% they can be used on their own as well as in the flag.\par +% \item Added a \textbf{\texttt{baseline}} package option +% to align the bottom star with the text, and a command +% option to do it on a per-command basis.\par % \end{itemize} -% \subsection*{v.0.1 (2019-01-31)} -% \paragraph*{First version} +% \subsection*{v.0.4 (2019-02-02)} +% \paragraph*{Changed the star} % \begin{itemize} -% \item Simple picture mode is all that is needed, plus a -% decent star.\par +% \item Changed from the \textsf{bbding} {\ttfamily{}\textbackslash{}FiveStar} to the +% \textsf{amssymb} {\ttfamily{}\textbackslash{}bigstar} +% command.\par % \end{itemize} -% See p.\thinspace\pageref{changehistory} for details of earlier changes. +% See p.\thinspace\pageref{changehistory} for earlier changes. % \clearpage % \section{Background} % This package provides a command {\ttfamily{}\textbackslash{}euflag} % for reproducing the flag of the European Union. It follows -% exactly the official specification. The EU’s web site says:\par -% \begin{quotation}\small\sffamily\parindent0pt\parskip.5\baselineskip\color{DarkBlue}\noindent +% exactly the official specification \parencite{emblem}. The EU’s web site says:\par +% \begin{quotation}\small\sffamily\parindent0pt +% \parskip.5\baselineskip +% \color{DarkBlue}\noindent % The European flag symbolises both the European Union % and, more broadly, the identity and unity of Europe.\par % \textbf{It features a circle of 12 gold @@ -583,7 +620,8 @@ % official emblem of the European Communities, later to become % the European Union. In addition, all European institutions % now have their own emblems.\par -% \hfill\begingroup\scriptsize\color{Black}\url{https://europa.eu/european-union/about-eu/symbols/flag_en}\parfillskip=0pt\par\endgroup +% \hfill\begingroup +% \scriptsize\color{Black}\url{https://europa.eu/european-union/about-eu/symbols/flag_en}\parfillskip=0pt\par\endgroup % \end{quotation} % The {\ttfamily{}\textbackslash{}euflag} command provides a simple % way to use the flag in any \LaTeX{} document. Details of @@ -594,7 +632,10 @@ % The flag is reproduced at 1em high, with the bottom edge % at the current baseline like this: % \euflag\ using the -% {\ttfamily{}\textbackslash{}euflag} command.\par +% {\ttfamily{}\textbackslash{}euflag} command. +% The \textbf{\texttt{baseline}} package option or an optional +% length argument to the {\ttfamily{}\textbackslash{}euflag} command can +% be used to change this (see below).\par % The font size of the enclosing environment can be changed % to make the flag appear at any size. In the examples below, % the code and the flags are in {\ttfamily{}m}-type @@ -605,11 +646,11 @@ % \begingroup % \centering % \begin{tabular}{@{}% -% >{\raggedright{}\prestrut\arraybackslash}m{0.5\columnwidth}<{\poststrut\arraybackslash}% -% >{\raggedright{}\prestrut\arraybackslash}m{0.5\columnwidth}<{\poststrut\arraybackslash}% +% >{\raggedright{}\CPKprestrut}m{0.5\columnwidth}<{\CPKpoststrut\arraybackslash}% +% >{\raggedright{}\CPKprestrut\arraybackslash}m{0.5\columnwidth}<{\CPKpoststrut\arraybackslash}% % @{}} % \hline -% \vstrut +% \CPKvstrut % \verb|{\tiny\euflag}|&\tiny\euflag\vrule height2em width0pt\\ % \verb|{\scriptsize\euflag}|&\scriptsize\euflag\\ % \verb|{\footnotesize\euflag}|&\footnotesize\euflag\\ @@ -625,11 +666,22 @@ % \par\endgroup % } % To move the flag down so that the bottom star's baseline -% becomes the flag's baseline, use the -% {\ttfamily{}\textbackslash{}raisebox} command to lower the flag by -% \nicefrac16em: -% \raisebox{-.167em}{\euflag}, eg -% \verb|\raisebox{-.167em}{\euflag}|\par +% becomes the flag's baseline, like this: +% \euflag[-.167em], load +% the package with the \textbf{\texttt{baseline}} option:\par +% \iffalse +%<*ignore> +% \fi +\begin{lstlisting}[language={[LaTeX]TeX}] +\usepackage[baseline]{euflag} +\end{lstlisting} +% \iffalse +%</ignore> +% \fi +% (that will affect all {\ttfamily{}\textbackslash{}euflag} commands). +% Alternatively, use the optional argument to {\ttfamily{}\textbackslash{}euflag} +% to lower the flag by \nicefrac16em or whatever amount you wish, eg +% {\ttfamily{}\textbackslash{}euflag[-.167em]}\par % \StopEventually{\label{endcode}% % \clearpage % \newgeometry{left=3cm}% @@ -640,8 +692,9 @@ % \label{codeindex}% % \addcontentsline{toc}{section}{Index}% % \PrintIndex} -% \addtolength{\revmarg}{\widthof{\LabelFont{PantoneReflexBlue}}} -% \newgeometry{left=\revmarg} +% \addtolength{\CPKrevmarg}{\widthof{\LabelFont{PantoneReflexBlue}}} +% \newgeometry{left=\CPKrevmarg} +% \message{Margin reset to \the\CPKrevmarg, to fit <PantoneReflexBlue>} % \iffalse %<*package> % \fi @@ -651,31 +704,35 @@ % \subsection{Auto-initialisation}\label{:autoinit} % This section is added automatically by \textit{ClassPack} % as a preamble to all classes and style packages. -% The \textsf{fixltx2e} package is no longer preloaded, as its -% features are now a part of the latest \LaTeX\ kernel.\par -% The code starts with identity and requirements which are generated -% automatically as needed by the Doc\TeX\ system. +% The \textsf{fixltx2e} package, which used to be included +% automatically, is no longer preloaded, as its +% features are now a part of the latest \LaTeXe\ kernel.\par +% The code starts with identity and requirements which are +% generated automatically as needed by the Doc\TeX\ system. % For details see the \textsf{ltxdoc} package documentation. % \par\smallskip % \begingroup\color{DarkRed}\tabcolsep3pt\footnotesize % \begin{tabular}{>{\refstepcounter{CodelineNo}\tiny\theCodelineNo}r@{\enspace}l} % &\verb`\NeedsTeXFormat{LaTeX2e}[2016/02/01]`\\ -% &\verb`\ProvidesPackage{euflag}[2019/02/02 v0.4`\\ -% &\verb` European Union Flag]` +% &\verb`\ProvidesPackage{euflag}[2020/05/16 v0.7`\\ +% &\verb` European Union Flag]` % \end{tabular}\endgroup % \setcounter{CodelineNo}{3} % \begin{CPK@option}{svgnames} -% Pass the \textbf{\texttt{svgnames}} option to the \textsf{xcolor} -% package if that gets loaded later. This avoids a conflict with -% any other packages (eg \textsf{hyperref}) which use their own -% default is when they load \textsf{xcolor}.\par -% However, we have to make an exception -% in this case because the package is used in its own documentation, -% which would cause a duplicate \verb+\PassOptionsToPackage+, so we -% code around it by testing the current package name against the -% job name of the calling \verb+.dtx+ file~--- if they are the same, -% then this is the case in point, and the \verb+\PassOptionsToPackage+ -% command is \emph{not} executed; otherwise it it OK to do so.\par +% Pass the \textbf{\texttt{svgnames}} option to the +% \textsf{xcolor} package if that gets loaded later. +% This avoids a conflict with any other packages +% (eg \textsf{hyperref}) which use their own default +% is when they load \textsf{xcolor}.\par +% However, we have to make +% an exception in this case because the package gets +% used in its own documentation, which would cause a +% duplicate \verb+\PassOptionsToPackage+, so we code +% around it by testing the current package name against +% the job name of the calling \verb+.dtx+ file~--- if +% they are the same, then this is the case in point, +% and the \verb+\PassOptionsToPackage+ command is +% \emph{not} executed; otherwise it it OK to include it.\par % \begin{macrocode} \def\CPK@thispackage{euflag} \edef\CPK@thispackage{\meaning\CPK@thispackage} @@ -683,22 +740,46 @@ \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} + \message{Option svgnames not passed to package xcolor} \else %% this is a user job: include PassOptionsToPackage -\message{Option svgnames being passed to package xcolor} + \message{Option svgnames passed to package xcolor} % \end{macrocode} % \begin{macrocode} -\PassOptionsToPackage{svgnames}{xcolor} + \PassOptionsToPackage{svgnames}{xcolor} % \end{macrocode} % \begin{macrocode} \fi % \end{macrocode} -% Thanks to zeroth at \url{https://tex.stackexchange.com/questions/44499/how-to-test-jobname-compilation-option-within-latex-file/54895} for this switch. % \end{CPK@option} +% \subsection{Options}\label{options} +% \iffalse +%% +%% ****************************************************************** +%% +%% Options +% \fi +% \begin{CPK@length}{\EUF@baseline}\label{length--EUF@baseline} +% Define an option to set the default position to align +% the lowest star with the text baseline of the surrounding +% text. The default is zero, meaning the bottom of the flag +% aligns with the text baseline; setting this option will +% lower the flag so that the lowest star aligns with the +% text baseline.\par +% \begin{macrocode} +\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 +% \end{macrocode} +% \end{CPK@length} %\iffalse %% -%% Packages required +%% Packages required for the class or package %% % \fi % \subsection{Packages required for the package}\label{stypackages} @@ -708,9 +789,10 @@ %% Provide color. % \fi % \begin{macrocode} -\RequirePackage[svgnames]{xcolor} +\RequirePackage[svgnames]{xcolor}% \@ifundefined{T}{% - \newcommand{\T}[2]{{\fontencoding{T1}\selectfont#2}}}{} + \newcommand{\T}[2]{{\fontencoding{T1}% + \selectfont#2}}}{} % \end{macrocode} % There seems to be a bug in the T1 encoding of some package % (unidentified, but possibly \textsf{xcolor}) which @@ -718,7 +800,7 @@ % impossibility (no digits allowed in command names). So we fake % it here to stop \LaTeX{} complaining, by dropping the first % argument on the floor. -% \end{CPK@package} +% \end{CPK@package} % \begin{CPK@package}{graphicx} % Provide for graphics (PNG, JPG, or PDF format (only) for % pdflatex; EPS format (only) for standard \LaTeX{}). @@ -726,9 +808,9 @@ %% Provide for graphics (PNG, JPG, or PDF format (only) for pdflatex; EPS format (only) for standard \LaTeX{}). % \fi % \begin{macrocode} -\RequirePackage{graphicx} +\RequirePackage{graphicx}% % \end{macrocode} -% \end{CPK@package} +% \end{CPK@package} % \begin{CPK@package}{amssymb} % Provide for the American Mathematical Society's symbols % (see their documentation for details). @@ -736,11 +818,17 @@ %% Provide for the American Mathematical Society's symbols (see their documentation for details). % \fi % \begin{macrocode} -\RequirePackage{amssymb} +\RequirePackage{amssymb}% % \end{macrocode} -% \end{CPK@package} +% \end{CPK@package} % % \subsection{Changes to package defaults}\label{packagemods} +% \iffalse +%% +%% ****************************************************************** +%% +%% Changes to package defaults +% \fi % The only changes are to implement the blue and yellow % according to the specification. Note that exact Pantone® % colour codes are not available, so the @@ -749,7 +837,8 @@ % {\smaller CMYK} values are commented out in the % code; they are available for users to test.\par % \definecolor{PantoneReflexBlue}{HTML}{003399} -% \begin{CPK@colour}{PantoneReflexBlue}\label{ann-PantoneReflexBlue} +% \begin{CPK@colour}{PantoneReflexBlue}\label{colour--PantoneReflexBlue} +% \addcontentsline{toc}{HTML}{\texttt{PantoneReflexBlue}} % As specified.\par % \begin{macrocode} \definecolor{PantoneReflexBlue}{HTML}{003399} @@ -757,7 +846,8 @@ % \end{macrocode} % \end{CPK@colour} % \definecolor{PantoneYellow}{HTML}{FFCC00} -% \begin{CPK@colour}{PantoneYellow}\label{ann-PantoneYellow} +% \begin{CPK@colour}{PantoneYellow}\label{colour--PantoneYellow} +% \addcontentsline{toc}{HTML}{\texttt{PantoneYellow}} % As specified.\par % \begin{macrocode} \definecolor{PantoneYellow}{HTML}{FFCC00} @@ -768,12 +858,18 @@ % better to be explicit.\par % \end{CPK@colour} % \subsection{The flag} +% \iffalse +%% +%% ****************************************************************** +%% +%% The flag +% \fi % We now use the {\ttfamily{}\textbackslash{}bigstar} command from the % \textsf{amssymb} package (earlier versions used % the {\ttfamily{}\textbackslash{}FiveStar} command from the % \textsf{bbding} package, but that did not reliably % scale beyond about 100pt).\par -% \begin{CPK@macro}{\eustar}\label{ann-eustar} +% \begin{CPK@macro}{\eustar}\label{macro--eustar} % It needs to scale, so we implement it as a command % using {\ttfamily{}\textbackslash{}scalebox}.\par % \begin{macrocode} @@ -789,14 +885,54 @@ % The command itself is a blue {\ttfamily{}\textbackslash{}colorbox} % containing the stars set at the clock-points of a circle in % a \LaTeX{} \texttt{picture} environment.\par -% \begin{CPK@macro}{\euflag}\label{ann-euflag} +% \begin{CPK@macro}{\makestars}\label{macro--makestars} +% Separate the making of the ring of stars from the flag +% itself so that the ring of stars can be used +% separately.\par +% For the \texttt{picture} environment, set the +% unit to 1em and then divide it by 18. This enables us +% conveniently to use six units for the axes behind the circle +% of stars, because the specification says it must have a +% radius of \nicefrac13 of the height (ie \nicefrac6{18}). The +% positioning argument was found by trial and error.\par +% \begin{macrocode} +\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}% +} +% \end{macrocode} +% The positioning of the individual stars was found with +% simple trigonometry. It would have been possible to +% construct this from a loop cycling through the 12 +% positions, but it is simpler to do it like this.\par +% \end{CPK@macro} +% \begin{CPK@macro}{\euflag}\label{macro--euflag} % Before the {\ttfamily{}\textbackslash{}colorbox} is used, set % the {\ttfamily{}\textbackslash{}fboxsep} length to -% zero so that there is no border around the box.\par +% zero so that there is no border around the box, and then +% raise (lower) the box by the value of \DescribeLength{EUF@baseline}{\ttfamily{}EUF@baseline} as set by the +% \textbf{\texttt{baseline}} option.\par % \begin{macrocode} -\newcommand{\euflag}{{% +\newcommand{\euflag}[1][\EUF@baseline]{% + {% \fboxsep0pt - \colorbox{PantoneReflexBlue}{% + \raisebox{#1}{% + \colorbox{PantoneReflexBlue}{% % \end{macrocode} % The rectangle itself is formed from a % {\ttfamily{}\textbackslash{}vbox} 1em high and 1.5em wide. The @@ -809,45 +945,15 @@ \parskip0pt \parindent0pt \centering - \color{PantoneYellow}% -% \end{macrocode} -% For the \texttt{picture} environment, set the -% unit to 1em and then divide it by 18. This enables us -% conveniently to use six units for the axes behind the circle -% of stars, because the specification says it must have a -% radius of \nicefrac13 of the height (ie \nicefrac6{18}). The -% positioning argument was found by trial and error.\par -% \begin{macrocode} - \setlength{\unitlength}{1em} - \divide\unitlength by18 - \begin{picture}(6,6)(-2,3.5) -% \end{macrocode} -% The positioning of the individual stars was found with -% simple trigonometry. It would have been possible to -% construct this from a loop cycling through the 12 -% positions, but it is simpler to do it like this.\par -% \begin{macrocode} - \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} + \makestars % \end{macrocode} -% Finally, close off the \texttt{picture} -% environment, and close the containing +% Finally, close off the containing % {\ttfamily{}\textbackslash{}vbox} and other containers.\par % \begin{macrocode} - \end{picture}% - }% end vbox - }% end colorbox - }% end environment + }% end vbox + }% end colorbox + }% end raisebox + }% end encapsulation }% end command % \end{macrocode} % \end{CPK@macro} @@ -855,7 +961,6 @@ % \iffalse %</package> % \fi -% \nocite{*} % \clearpage % \raggedright % \raggedright\printbibliography @@ -863,7 +968,9 @@ % \newgeometry{left=3cm} % \clearpage % \section{The \LaTeX{} Project Public License (v\thinspace{}1.3c)}\label{LPPL} -% \begin{quotation}\small\sffamily\parindent0pt\parskip.5\baselineskip\color{DarkBlue}\noindent +% \begin{quotation}\small\sffamily\parindent0pt +% \parskip.5\baselineskip +% \color{DarkBlue}\noindent % Everyone is allowed to distribute verbatim copies of this % license document, but modification of it is not allowed.\par % \end{quotation} @@ -1031,14 +1138,14 @@ % \item % \begin{enumerate} % \item A Derived Work may be distributed under a different % license provided that license itself honors the -% conditions listed in Clause~item~\ref{item-conditions} above above, in +% conditions listed in Clause~item~\ref{item-conditions} in the list on p.\thinspace\pageref{item-conditions} above, in % regard to the Work, though it does not have to honor the % rest of the conditions in this license.\par % \item If a Derived Work is distributed under a different % license, that Derived Work must provide sufficient % documentation as part of itself to allow each recipient % of that Derived Work to honor the restrictions in -% Clause~item~\ref{item-conditions} above above, concerning +% Clause~item~\ref{item-conditions} in the list on p.\thinspace\pageref{item-conditions} above, concerning % changes from the Work.\par % \end{enumerate} % \item This license places no restrictions on works that are @@ -1121,14 +1228,14 @@ % announcement.\par % \end{enumerate} % \item \label{item-change}If you make an `intention announcement' -% as described in~item~\ref{item-intention} above above and after three +% as described in~item~\ref{item-intention} in the list on p.\thinspace\pageref{item-intention} above and after three % months your intention is challenged neither by the Current % Maintainer nor by the Copyright Holder nor by other people, % then you may arrange for the Work to be changed so as to % name you as the (new) Current Maintainer.\par % \item If the previously unreachable Current Maintainer becomes % reachable once more within three months of a change -% completed under the terms of~item~\ref{item-announce} above +% completed under the terms of~item~\ref{item-announce} in the list on p.\thinspace\pageref{item-announce} % or~item~\ref{item-change} above, then that % Current % Maintainer must become or remain the Current Maintainer upon @@ -1142,7 +1249,7 @@ % immediately provide, within the Work, a prominent and % unambiguous statement of your status as Current Maintainer. You % should also announce your new status to the same pertinent -% community as in~item~\ref{item-intention} above +% community as in~item~\ref{item-intention} in the list on p.\thinspace\pageref{item-intention} % above.\par % \subsection{Whether and How to Distribute Works under This % License}\label{Distribute} @@ -1246,7 +1353,7 @@ % completely different task), then clauses 6b and 6d shall not % apply.\par % \subsubsection{Important Recommendations}\label{Recommendations} -% \paragraph[Defining What Constitutes the Work]{Defining What Constitutes the Work •} +% \paragraph[Defining What Constitutes the Work]{Defining What Constitutes the Work :} % The {\smaller LPPL} requires that distributions % of the Work contain all the files of the Work. It is % therefore important that you provide a way for the licensee diff --git a/Master/texmf-dist/source/latex/euflag/euflag.ins b/Master/texmf-dist/source/latex/euflag/euflag.ins index db2675e0966..f6f904a0e0f 100644 --- a/Master/texmf-dist/source/latex/euflag/euflag.ins +++ b/Master/texmf-dist/source/latex/euflag/euflag.ins @@ -1,7 +1,7 @@ % Transformed from euflag.xml by ClassPack db2dtx.xsl -% version 1.10 (2019-01-22) on Sunday 3 February 2019 at 21:19:20 +% version 1.19 (2020-05-19) on Wednesday 20 May 2020 at 19:09:55 % -% euflag.ins is copyright © 2019 by Peter Flynn <peter@silmaril.ie> +% euflag.ins is copyright © 2019-2020 by Peter Flynn <peter@silmaril.ie> % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either diff --git a/Master/texmf-dist/tex/latex/euflag/euflag.sty b/Master/texmf-dist/tex/latex/euflag/euflag.sty index 28644220326..8e05d67c107 100644 --- a/Master/texmf-dist/tex/latex/euflag/euflag.sty +++ b/Master/texmf-dist/tex/latex/euflag/euflag.sty @@ -15,62 +15,89 @@ %% maintainer for inclusion in future versions. %% \NeedsTeXFormat{LaTeX2e}[2016/02/01] -\ProvidesPackage{euflag}[2019/02/02 v0.4 - European Union Flag] +\ProvidesPackage{euflag}[2020/05/16 v0.7 + 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} + \message{Option svgnames not passed to package xcolor} \else %% this is a user job: include PassOptionsToPackage -\message{Option svgnames being passed to package xcolor} -\PassOptionsToPackage{svgnames}{xcolor} + \message{Option svgnames passed to package xcolor} + \PassOptionsToPackage{svgnames}{xcolor} \fi %% -%% Packages required +%% ****************************************************************** +%% +%% 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 +%% +%% Packages required for the class or package %% %% Provide color. -\RequirePackage[svgnames]{xcolor} +\RequirePackage[svgnames]{xcolor}% \@ifundefined{T}{% - \newcommand{\T}[2]{{\fontencoding{T1}\selectfont#2}}}{} + \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} +\RequirePackage{graphicx}% %% Provide for the American Mathematical Society's symbols (see their documentation for details). -\RequirePackage{amssymb} +\RequirePackage{amssymb}% +%% +%% ****************************************************************** +%% +%% Changes to package defaults \definecolor{PantoneReflexBlue}{HTML}{003399} \definecolor{PantoneYellow}{HTML}{FFCC00} +%% +%% ****************************************************************** +%% +%% The flag \newcommand{\eustar}{\scalebox{0.1}{\ensuremath{\bigstar}}} -\newcommand{\euflag}{{% +\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 - \colorbox{PantoneReflexBlue}{% + \raisebox{#1}{% + \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 + \makestars + }% end vbox + }% end colorbox + }% end raisebox + }% end encapsulation }% end command \endinput |