Debian Codegraph @

texmf-dist/source/latex/euflag/euflag.dtx

raw
1 % \iffalse meta-comment
2 %
3 % Transformed from euflag.xml by ClassPack db2dtx.xsl
4 % version 1.19 (2020-05-19) on Friday 22 May 2020 at 23:43:47
5 %
6 % euflag.dtx is copyright © 2019-2020 by Peter Flynn <[email protected]>
7 %
8 % This work may be distributed and/or modified under the
9 % conditions of the LaTeX Project Public License, either
10 % version 1.3 of this license or (at your option) any later
11 % version. The latest version of this license is in:
12 %
13 % http://www.latex-project.org/lppl.txt
14 %
15 % and version 1.3 or later is part of all distributions of
16 % LaTeX version 2005/12/01 or later.
17 %
18 % This work has the LPPL maintenance status ‘maintained’.
19 %
20 % The current maintainer of this work is Peter Flynn <[email protected]>
21 %
22 % This work consists of the files euflag.dtx and euflag.ins,
23 % the derived file ,
24 % and any other ancillary files listed in the MANIFEST.
25 %
26 % \fi
27 % \iffalse
28 %<package>\NeedsTeXFormat{LaTeX2e}[2016/02/01]
29 %<package>\ProvidesPackage{euflag}[2020/05/22 v0.8
30 %<package> European Union Flag]
31 %<*driver>
32 \RequirePackage{fix-cm}% included by default.
33 \PassOptionsToPackage{svgnames}{xcolor}% xcolor/dox/hyperref implied
34 \documentclass[12pt]{ltxdoc}
35 %%
36 %% Packages added for documentation
37 %%
38 \usepackage{dox}% used by default. (0)%
39 \makeatletter
40 \doxitem[idxtype=attribute]{Attribute}{CPK@attribute}{attributes}
41 \makeatother
42 \makeatletter
43 \doxitem[idxtype=attributevalue]{AttributeValue}{CPK@attributevalue}{attribute values}
44 \makeatother
45 \makeatletter
46 \doxitem[idxtype=class]{Class}{CPK@class}{classes}
47 \makeatother
48 \makeatletter
49 \doxitem[idxtype=colour]{Colour}{CPK@colour}{colours}
50 \makeatother
51 \makeatletter
52 \doxitem[idxtype=counter]{Counter}{CPK@counter}{counters}
53 \makeatother
54 \makeatletter
55 \doxitem[idxtype=DTD]{DTD}{CPK@dtd}{DTDs/Schemas}
56 \makeatother
57 \makeatletter
58 \doxitem[idxtype=element]{Element}{CPK@element}{element types}
59 \makeatother
60 \makeatletter
61 \doxitem[idxtype=entity]{Entity}{CPK@entity}{entities}
62 \makeatother
63 \makeatletter
64 \doxitem[idxtype=error]{Error}{CPK@error}{errors}
65 \makeatother
66 \makeatletter
67 \doxitem[idxtype=field]{Field}{CPK@field}{fields}
68 \makeatother
69 \makeatletter
70 \doxitem[idxtype=file]{File}{CPK@file}{files}
71 \makeatother
72 \makeatletter
73 \doxitem[idxtype=font]{Font}{CPK@font}{fonts}
74 \makeatother
75 \makeatletter
76 \doxitem[idxtype=function]{Function}{CPK@function}{functions}
77 \makeatother
78 \makeatletter
79 \doxitem[idxtype=language]{Language}{CPK@language}{languages}
80 \makeatother
81 \makeatletter
82 \doxitem[macrolike,idxtype=length]{Length}{CPK@length}{lengths}
83 \makeatother
84 \makeatletter
85 \doxitem[idxtype=mode]{Mode}{CPK@mode}{modes}
86 \makeatother
87 \makeatletter
88 \doxitem[idxtype=option]{Option}{CPK@option}{options}
89 \makeatother
90 \makeatletter
91 \doxitem[idxtype=package]{Package}{CPK@package}{packages}
92 \makeatother
93 \makeatletter
94 \doxitem[idxtype=variable]{Variable}{CPK@variable}{variables}
95 \makeatother
96 \makeatletter
97 \doxitem[idxtype=parameter]{Parameter}{CPK@parameter}{parameters}
98 \makeatother
99 \makeatletter
100 \doxitem[macrolike,idxtype=switch]{Switch}{CPK@switch}{switches}
101 \makeatother
102 \makeatletter
103 \doxitem[idxtype=template]{Template}{CPK@template}{templates}
104 \makeatother
105 \makeatletter
106 \doxitem[idxtype=typeface]{Typeface}{CPK@typeface}{typefaces}
107 \makeatother
108 \makeatletter
109 \doxitem[macrolike,idxtype=box]{Box}{CPK@box}{boxes}
110 \makeatother
111 \newcommand{\LabelFont}[2][\relax]{\strut
112 {\fontencoding\encodingdefault
113 \fontfamily{lmtt}\fontseries{lc}#1\selectfont#2}\space}
114 \makeatletter
115 \let\CPK@macro\macro\let\CPK@endmacro\endmacro
116 \makeatother
117 \makeatletter
118 \let\CPK@environment\environment\let\CPK@endenvironment\endenvironment
119 \makeatother
120 \makeatletter
121 \def\PrintAttributeName#1{\LabelFont{@#1}}
122 \makeatother
123 \def\PrintAttributeValueName#1{\LabelFont{"#1"}}
124 \def\PrintClassName#1{\LabelFont[\fontfamily{lmss}]{#1}}
125 \def\PrintColourName#1{\LabelFont[\color{#1}]{#1}}
126 \def\PrintCounterName#1{\LabelFont{#1}}
127 \def\PrintDTDName#1{\LabelFont{#1}}
128 \def\PrintElementName#1{\LabelFont{<#1>}}
129 \def\PrintEntityName#1{\LabelFont{\&#1;}}
130 \def\PrintEnvironmentName#1{\LabelFont[\fontfamily{lmss}]{#1}}
131 \def\PrintErrorName#1{\LabelFont[\color{Red}!]{#1}}
132 \def\PrintFunctionName#1{\LabelFont[\bfseries\itshape]{#1}}
133 \def\PrintLanguageName#1{\LabelFont{#1}}
134 \def\PrintLengthName#1{\LabelFont{#1}}
135 \def\PrintMacroName#1{\LabelFont{#1}}
136 \def\PrintModeName#1{\LabelFont[\sffamily]{\textlangle#1\textrangle}}
137 \def\PrintOptionName#1{\LabelFont[\bfseries]{#1}}
138 \def\PrintPackageName#1{\LabelFont[\fontfamily{lmss}]{#1}}
139 \def\PrintSwitchName#1{\LabelFont{#1}}
140 \def\PrintTemplateName#1{\LabelFont[\bfseries]{#1}}
141 \def\PrintVariableName#1{\LabelFont[\ttfamily]{#1}}
142 \def\PrintParameterName#1{\LabelFont[\ttfamily]{#1}}
143 \def\PrintFieldName#1{\LabelFont[\ttfamily]{#1}}
144 %% fontenc omit: conflict: fontspec (3)
145 %% inputenc omit: conflict: fontspec (6)
146 \usepackage{fontspec}% part/@conformance=xelatex detected. (7)%
147 \usepackage{libertine}% requested by author (27)%
148 \usepackage[scaled=0.9]{raleway}% requested by author (28)%
149 \renewcommand{\textsc}[1]{{\smaller\MakeTextUppercase{#1}}}
150 \usepackage{mflogo}% used by default. (35)%
151 \usepackage[british]{babel}% used by default. (40)%
152 \usepackage[backend=biber,doi=true,
153 isbn=true,url=true,uniquename=false,style=apa]{biblatex}% bibliography/@arch=biblatex detected. (41)%
154 \makeatletter
155 \AtBeginDocument{%
156 \setlength{\bibitemsep}{1ex}%
157 \setlength{\bibnamesep}{1.5\itemsep}%
158 \defbibheading{shortbib}[References]%
159 {\section{#1}}}
160 \@ifpackagewith{babel}{british}{%
161 \DeclareLanguageMapping{british}%
162 {british-apa}}{\relax}
163 \makeatother
164 \makeatletter
165 \providetoggle{blx@skipbiblist}
166 \makeatother
167 \usepackage{array}% requested by author (46)%
168 \usepackage{calc}% used by default. (49)%
169 \makeatletter
170 {\scriptsize
171 \global\advance\@totalleftmargin by1em
172 \global\advance\MacroIndent by.5em}
173 \makeatother
174 \usepackage{ccaption}% used by default. (52)%
175 \captionnamefont{\bfseries}
176 \captionstyle{\raggedright}
177 \usepackage[inline]{enumitem}% requested by author (56)%
178 \setlist[description]{style=unboxed}
179 \setlist[itemize]{leftmargin=2em}
180 \setlist[enumerate]{leftmargin=2em}
181 \newlist{inlineenum}{enumerate*}{1}
182 \setlist[inlineenum,1]{label=\emph{\alph*}),
183 itemjoin={{; }},itemjoin*={{; and }}}
184 \usepackage{relsize}% use of 'acronym' detected (64)%
185 \usepackage{textcase}% used by default. (67)%
186 \usepackage{float}% used by default. (69)%
187 \renewcommand{\topfraction}{.85}
188 \renewcommand{\bottomfraction}{.7}
189 \renewcommand{\textfraction}{.15}
190 \renewcommand{\floatpagefraction}{.66}
191 \renewcommand{\dbltopfraction}{.66}
192 \renewcommand{\dblfloatpagefraction}{.66}
193 \setcounter{topnumber}{9}
194 \setcounter{bottomnumber}{9}
195 \setcounter{totalnumber}{20}
196 \setcounter{dbltopnumber}{9}
197 \usepackage[a4paper,left=30mm,top=25mm,
198 textwidth=150mm,textheight=225mm,headheight=15pt]{geometry}% used by default. (71)%
199 \usepackage{listings}% use of 'programlisting' detected (83)%
200 \lstdefinelanguage{dummy}
201 {morekeywords={dummy}}
202 \lstdefinelanguage{Makefile}
203 {otherkeywords={.PHONY,.DEFAULT},%
204 morekeywords={PHONY,DEFAULT,shell,ifeq,else,endif},%
205 keywordsprefix={.},%
206 moredelim=[l][\color{Green}]{:},%
207 morecomment=[l]{\#},%
208 moredelim=[s][\color{Blue}]{\$(}{)}%
209 }
210 \lstdefinelanguage{DocBook}[]{XML}
211 {morekeywords={abstract,address,affiliation,annotation,arg,
212 author,book,chapter,classname,cmdsynopsis,command,
213 constraintdef,contrib,copyright,cover,date,email,emphasis,
214 envar,filename,firstname,footnote,guibutton,guilabel,
215 guimenu,guimenuitem,guisubmenu,holder,info,itemizedlist,
216 listitem,literal,member,option,orderedlist,orgdiv,orgname,
217 package,para,parameter,part,personname,phrase,procedure,
218 productname,programlisting,quote,refsection,remark,
219 constructorsynopsis,methodparan,modifier,funcparams,olink,
220 bibliography,biblioentry,biblioset,subtitle,artpagenums,
221 volumenum,issuenum,DOCTYPE,SYSTEM,xml:id,releaseinfo,
222 replaceable,revdescription,revhistory,revision,sect1,sect2,
223 sect3,sect4,seg,seglistitem,segmentedlist,segtitle,
224 simplelist,step,surname,systemitem,tag,term,title,uri,
225 userinput,variablelist,varlistentry,wordasword,xref,year,
226 xlink:href}}
227
228 \makeatletter
229 \lstdefinelanguage{bash}
230 {morestring=[s]{[]},morekeywords={exit,logout,yes,no,@,
231 password,ssh,URL,cd,dvips,latex,ls,makeindex,man,mkdir,
232 pdflatex,sudo,texconfig,texdoc,updmap,xelatex,biber,
233 latexmk,bibtex}}
234
235 \makeatother
236 \lstdefinelanguage{APA}[]{XML}
237 {morekeywords={TTL}}
238
239 \lstdefinelanguage{OOXML}[]{XML}
240 {morekeywords={w:p,w:pPr,w:pStyle,w:rPr,w:rFonts,
241 w:r,w:t,w:lang}}
242
243 \lstdefinelanguage{SGML}[]{XML}
244 {morekeywords={sec,ttl}}
245
246 \lstdefinelanguage{DTD}[]{XML}
247 {morekeywords={ELEMENT,ENTITY,ATTLIST,CDATA,ID,REQUIRED,
248 IMPLIED,PCDATA}}
249
250 \lstdefinelanguage{Runoff}
251 {morekeywords={h1}}
252
253 \lstdefinelanguage{GML}
254 {morekeywords={h1}}
255
256 \lstdefinelanguage{Scribe}
257 {morekeywords={Heading},morestring=[s]{[]}}
258
259 \lstdefinelanguage{RTF}[]{TeX}
260 {moretexcs={rtf,ansi,deff,adeflang,fonttbl,f,froman,fprq,
261 fcharset,f1,fswiss,falt,fnil,colortbl,red,green,blue,
262 stylesheet,s,snext,nowidctlpar,hyphen,hyphlead,hyphtrail,
263 hyphmax,cf,kerning,dbch,af,langfe,afs,alang,loch,fs,
264 pgndec,pard,plain,qc,sb,sa,keepn,b,ab,rtlch,ltrch,par}}
265
266 \lstdefinelanguage{TEI}[]{XML}
267 {morekeywords={TEI,TEI.2,teiHeader,fileDesc,sourceDesc,
268 titleStmt,title,author,editor,respStmt,resp,name,
269 editionStmt,edition,text,body,publicationStmt,publisher,
270 div,div1,placeName,lg,l,s,cl,phr,w,list,distinct,p,pb,
271 mls,div2,head,num,val,app,lem,rdg,q,sup,uncl,note,
272 DOCTYPE,SYSTEM,xml:id}}[keywords,comments,strings]
273
274 \lstdefinelanguage{XSLT2}[]{XML}
275 {morekeywords={xsl:stylesheet,xsl:transform,
276 xsl:apply-imports,xsl:attribute-set,xsl:decimal-format,
277 xsl:import,xsl:include,xsl:key,xsl:namespace-alias,
278 xsl:output,xsl:param,
279 xsl:preserve-space,xsl:strip-space,xsl:template,
280 xsl:variable,xsl:character-map,xsl:function,
281 xsl:import-schema,xsl:param,xsl:variable,
282 xsl:apply-imports,xsl:apply-templates,xsl:attribute,
283 xsl:call-template,xsl:choose,xsl:comment,xsl:copy,
284 xsl:copy-of,xsl:element,xsl:fallback,xsl:for-each,
285 xsl:if,xsl:message,xsl:number,xsl:otherwise,
286 xsl:processing-instruction,xsl:text,xsl:value-of,
287 xsl:variable,xsl:when,xsl:with-param,xsl:sort,
288 xsl:for-each-group,xsl:next-match,xsl:analyze-string,
289 xsl:namespace,xsl:result-document,xsl:copy,
290 xsl:fallback,xsl:document,xsl:sequence,
291 xsl:matching-substring,xsl:non-matching-substring,
292 xsl:perform-sort,xsl:output-character},
293 alsodigit={-}}
294
295 \lstdefinelanguage{LaTeXe}[LaTeX]{TeX}
296 {morekeywords = {selectlanguage,foreignlanguage,
297 textbrokenbar,textlangle,textrangle,subsection,url,
298 chapter,tableofcontents,part,subsubsection,paragraph,
299 subparagraph,maketitle,setlength,listoffigures,
300 listoftables,color,arraybackslash,includegraphics,
301 textcite,parencite,graphicspath,lstinline,
302 DeclareLanguageMapping,textcolor,definecolor,colorbox,
303 fcolorbox,RequirePackage,PassOptionsToPackage}}
304
305 \lstdefinelanguage{BIBTeX}{
306 morekeywords = {title,author,edition,publisher,year,
307 address},
308 morestring=[b]",
309 }
310
311 \lstdefinelanguage{Email}{
312 morekeywords={From,Subject,To,Date},
313 }
314
315 \lstset{defaultdialect=LaTeXe,frame=single,
316 framesep=.5em,backgroundcolor=\color{AliceBlue},
317 rulecolor=\color{LightSteelBlue},framerule=1pt}
318
319 \lstloadlanguages{LaTeXe,DocBook,XML,XSLT2,bash}
320 \lstdefinelanguage{XMLFRAG}{tag=**[s]<>}[html]
321 \lstnewenvironment{listingsdoc}
322 {\lstset{language={[LaTeX]TeX}}}
323 {}
324 \newcommand\basicdefault[1]{\footnotesize
325 \color{Black}\ttfamily#1}
326
327 \lstset{basicstyle=\basicdefault{\spaceskip.5em}}
328 \lstset{literate=
329 {§}{{\S}}1
330 {©}{{\raisebox{.125ex}{\copyright}\enspace}}1
331 {«}{{\guillemotleft}}1
332 {»}{{\guillemotright}}1
333 {Á}{{\'A}}1
334 {Ä}{{\"A}}1
335 {É}{{\'E}}1
336 {Í}{{\'I}}1
337 {Ó}{{\'O}}1
338 {Ö}{{\"O}}1
339 {Ú}{{\'U}}1
340 {Ü}{{\"U}}1
341 {ß}{{\ss}}2
342 {à}{{\`a}}1
343 {á}{{\'a}}1
344 {ä}{{\"a}}1
345 {é}{{\'e}}1
346 {í}{{\'i}}1
347 {ó}{{\'o}}1
348 {ö}{{\"o}}1
349 {ú}{{\'u}}1
350 {ü}{{\"u}}1
351 {¹}{{\textsuperscript1}}1
352 {²}{{\textsuperscript2}}1
353 {³}{{\textsuperscript3}}1
354 {ı}{{\i}}1
355 {—}{{---}}1
356 {’}{{'}}1
357 {…}{{\dots}}1
358 {➝}{{$leftarrow$}}1
359 {⮠}{{$\hookleftarrow$}}1
360 {␣}{{\textvisiblespace}}1,
361 keywordstyle=\color{DarkGreen}\bfseries,
362 identifierstyle=\color{DarkRed},
363 commentstyle=\color{Gray}\upshape,
364 stringstyle=\color{DarkBlue}\upshape,
365 emphstyle=\color{Chocolate}\upshape,
366 showstringspaces=false,
367 columns=fullflexible,
368 keepspaces=true}
369 \usepackage{makeidx}% used by default. (85)%
370 \makeindex
371 \usepackage{nicefrac}% requested by author (91)%
372 \def\textonehalf{\ensuremath{\nicefrac12}}
373 \usepackage{parskip}% requested by author (93)%
374 \usepackage{sectsty}% requested by author (97)%
375 \allsectionsfont{\sffamily\raggedright}
376 \renewcommand*{\descriptionlabel}[1]{\hspace\labelsep
377 \sffamily\bfseries #1}
378 \usepackage[normalem]{ulem}% use of 'link' detected (103)%
379 \usepackage{url}% requested by author (104)%
380 \AtBeginDocument{\urlstyle{tt}}
381 \usepackage{varioref}% use of 'xref' detected (107)%
382 \vrefwarning
383 \labelformat{appendix}{Appendix~#1}
384 \makeatletter
385 \labelformat{chapter}{\@chapapp~#1}
386 \makeatother
387 \labelformat{section}{section~#1}
388 \labelformat{subsection}{section~#1}
389 \labelformat{subsubsection}{section~#1}
390 \labelformat{paragraph}{section~#1}
391 \labelformat{figure}{Figure~#1}
392 \labelformat{table}{Table~#1}
393 \labelformat{item}{item~#1}
394 \renewcommand{\reftextcurrent}{elsewhere on this
395 page}
396 \def\reftextafter{on the
397 \reftextvario{next}{following} page}
398 \usepackage{xcolor}% used by default. (115)%
399 \makeatletter
400 \@ifundefined{T}{%
401 \newcommand{\T}[2]{{\fontencoding{T1}%
402 \selectfont#2}}}{}
403 \makeatother
404 \usepackage{classpack}[2020/05/19]% used by default. (120)%
405 \usepackage{guit}% requested by author (9999)%
406 \usepackage{euflag}[2020/05/22]% added by spec
407 \newcommand{\classorpackage}{package}
408 \addbibresource{euflag.bib}
409 \setmonofont[Scale=MatchLowercase]{zcoN}
410 \allsectionsfont{\sffamily}
411 %
412 %%
413 %% Settings for docstrip and ltxdoc
414 %%
415 \EnableCrossrefs
416 \CodelineIndex
417 \RecordChanges
418 \begin{document}\raggedright
419 \DocInput{euflag.dtx}
420 \end{document}
421 %</driver>
422 % \fi
423 %
424 % \CheckSum{94}
425 %
426 % \CharacterTable
427 % {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
428 % 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
429 % Digits \0\1\2\3\4\5\6\7\8\9
430 % Exclamation \! Double quote \" Hash (number) \#
431 % Dollar \$ Percent \% Ampersand \&
432 % Acute accent \' Left paren \( Right paren \)
433 % Asterisk \* Plus \+ Comma \,
434 % Minus \- Point \. Solidus \/
435 % Colon \: Semicolon \; Less than \<
436 % Equals \= Greater than \> Question mark \?
437 % Commercial at \@ Left bracket \[ Backslash \\
438 % Right bracket \] Circumflex \^ Underscore \_
439 % Grave accent \` Left brace \{ Vertical bar \|
440 % Right brace \} Tilde \~}
441 %
442 % \changes{v0.8}{2020/05/22}{Reference update: Added missing reference to Claudio's paper.}
443 % \changes{v0.7}{2020/05/16}{Regression release: 1) Updated to use ClassPack 1.19; 2) Switched all conformance attributes on revision dates to YYYY-MM-DD.}
444 % \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.}
445 % \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..}
446 % \changes{v0.4}{2019/02/02}{Changed the star: Changed from the bbdingFiveStar to the amssymbbigstar command..}
447 % \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..}
448 % \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..}
449 % \changes{v0.1}{2019/01/31}{First version: Simple picture mode is all that is needed, plus a decent star..}
450 %
451 % \GetFileInfo{euflag.dtx}
452 %
453 % \DoNotIndex{\@,\@@par,\@beginparpenalty,\@empty}
454 % \DoNotIndex{\@flushglue,\@gobble,\@input,\@makefnmark}
455 % \DoNotIndex{\@makeother,\@maketitle,\@namedef,\@ne}
456 % \DoNotIndex{\@spaces,\@tempa,\@tempb,\@tempswafalse}
457 % \DoNotIndex{\@tempswatrue,\@thanks,\@thefnmark,\@topnum}
458 % \DoNotIndex{\@@,\@elt,\@forloop,\@fortmp,\@gtempa}
459 % \DoNotIndex{\@totalleftmargin,\",\/,\@ifundefined,\@nil}
460 % \DoNotIndex{\@verbatim,\@vobeyspaces,\|,\~,\ ,\active}
461 % \DoNotIndex{\advance,\aftergroup,\begingroup,\bgroup}
462 % \DoNotIndex{\mathcal,\csname,\def,\documentstyle}
463 % \DoNotIndex{\dospecials,\edef,\egroup,\else,\endcsname}
464 % \DoNotIndex{\endgroup,\endinput,\endtrivlist}
465 % \DoNotIndex{\expandafter,\fi,\fnsymbol,\futurelet,\gdef}
466 % \DoNotIndex{\global,\hbox,\hss,\if,\if@inlabel}
467 % \DoNotIndex{\if@tempswa,\if@twocolumn,\ifcase,\ifcat}
468 % \DoNotIndex{\iffalse,\ifx,\ignorespaces,\index,\input}
469 % \DoNotIndex{\item,\jobname,\kern,\leavevmode,\leftskip}
470 % \DoNotIndex{\let,\llap,\lower,\m@ne,\next,\newpage}
471 % \DoNotIndex{\nobreak,\noexpand,\nonfrenchspacing}
472 % \DoNotIndex{\obeylines,\or,\protect,\raggedleft}
473 % \DoNotIndex{\rightskip,\rm,\sc,\setbox,\setcounter}
474 % \DoNotIndex{\small,\space,\string,\strut,\strutbox}
475 % \DoNotIndex{\thefootnote,\thispagestyle,\topmargin}
476 % \DoNotIndex{\trivlist,\tt,\twocolumn,\typeout,\vss,\vtop}
477 % \DoNotIndex{\xdef,\z@,\,,\@bsphack,\@esphack,\@noligs}
478 % \DoNotIndex{\@vobeyspaces,\@xverbatim,\`,\catcode,\end}
479 % \DoNotIndex{\escapechar,\frenchspacing,\glossary}
480 % \DoNotIndex{\hangindent,\hfil,\hfill,\hskip,\hspace,\ht}
481 % \DoNotIndex{\it,\langle,\leaders,\long,\makelabel}
482 % \DoNotIndex{\marginpar,\markboth,\mathcode,\mathsurround}
483 % \DoNotIndex{\mbox,\newcount,\newdimen,\newskip}
484 % \DoNotIndex{\nopagebreak,\parfillskip,\parindent}
485 % \DoNotIndex{\parskip,\penalty,\raise,\rangle,\section}
486 % \DoNotIndex{\setlength,\TeX,\topsep,\underline,\unskip}
487 % \DoNotIndex{\verb,\vskip,\vspace,\widetilde,\\,\%,\@date}
488 % \DoNotIndex{\@defpar,\[,\{,\},\],\count@,\ifnum,\loop}
489 % \DoNotIndex{\today,\uppercase,\uccode,\baselineskip}
490 % \DoNotIndex{\begin,\tw@,\a,\b,\c,\d,\e,\f,\g,\h,\i,\j,\k}
491 % \DoNotIndex{\l,\m,\n,\o,\p,\q,\r,\s,\t,\u,\v,\w,\x,\y,\z}
492 % \DoNotIndex{\A,\B,\C,\D,\E,\F,\G,\H,\I,\J,\K,\L,\M,\N,\O}
493 % \DoNotIndex{\P,\Q,\R,\S,\T,\U,\V,\W,\X,\Y,\Z,\1,\2,\3,\4}
494 % \DoNotIndex{\5,\6,\7,\8,\9,\0,\!,\#,\$,\&,\',\(,\)}
495 % \DoNotIndex{\+,\.,\:,\;,\<,\=,\>,\?,\_,\discretionary}
496 % \DoNotIndex{\immediate,\makeatletter,\makeatother}
497 % \DoNotIndex{\meaning,\newenvironment,\par,\relax}
498 % \DoNotIndex{\renewenvironment,\repeat,\scriptsize}
499 % \DoNotIndex{\selectfont,\the,\undefined,\arabic,\do}
500 % \DoNotIndex{\makeindex,\null,\number,\show,\write,\@ehc}
501 % \DoNotIndex{\@author,\@ehc,\@ifstar,\@sanitize,\@title}
502 % \DoNotIndex{\everypar,\if@minipage,\if@restonecol,\ifeof}
503 % \DoNotIndex{\ifmmode,\lccode,\newtoks,\onecolumn,\openin}
504 % \DoNotIndex{\p@,\SelfDocumenting,\settowidth}
505 % \DoNotIndex{\@resetonecoltrue,\@resetonecolfalse,\bf}
506 % \DoNotIndex{\clearpage,\closein,\lowercase,\@tempdima}
507 % \DoNotIndex{\@inlabelfalse,\selectfont,\mathcode}
508 % \DoNotIndex{\newmathalphabet,\rmdefault,\bfdefault}
509 % \DoNotIndex{\DeclareRobustCommand,\@ifpackagewith}
510 % \DoNotIndex{\classorpackage}
511 % \DoNotIndex{\euflag}
512 % \DoNotIndex{\FiveStar}
513 % \DoNotIndex{\bigstar}
514 % \DoNotIndex{\PassOptionsToPackage}
515 % \DoNotIndex{\vfill}
516 % \DoNotIndex{\euflag[-.167em]}
517 % \DoNotIndex{\scalebox}
518 % \DoNotIndex{\colorbox}
519 % \DoNotIndex{\fboxsep}
520 % \DoNotIndex{\vbox}
521 % \setcounter{tocdepth}{5}
522 % \setcounter{secnumdepth}{5}
523 % \makeatletter
524 % \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}
525 % \makeatother
526 %
527 % \def\fileversion{0.8}
528 % \def\filedate{2020/05/22}
529 % \title{The \textsf{euflag} \LaTeXe\ package\thanks{%
530 % This document corresponds to \textsf{euflag}
531 % \textit{v.}\ \fileversion $\beta$, dated \filedate.}
532 % \\[1em]\Large
533 % European Union Flag}
534 % \author{Peter Flynn\\\normalsize Silmaril Consultants\\[-.25ex]\normalsize Textual Therapy Division\\\normalsize(\url{[email protected]})}
535 % \maketitle
536 % \renewcommand{\abstractname}{Summary}\thispagestyle{empty}
537 % \begin{abstract}
538 % \parskip=0.5\baselineskip
539 % \advance\parskip by 0pt plus 2pt
540 % \parindent=0pt% \noindent
541 % This package implements a single command
542 % {\ttfamily{}\textbackslash{}euflag} which reproduces the official flag
543 % of the European Union ({\smaller EU})\index{EU|see{European Union}}\index{European Union|textbf} using
544 % just the built-in \texttt{picture} environment, with the
545 % \textsf{xcolor} and \textsf{graphicx}
546 % packages and the \textsf{amssymb} font.\par
547 % The flag is reproduced at 1em high based on the current
548 % font size, so it can be scaled arbitrarily by changing the
549 % font size locally (see examples in the table \vpageref{examples}). An option allows for the flag to be
550 % aligned on the bottom star.\par
551 % \begingroup\centering\fontsize{230}{0}\selectfont\euflag\par\endgroup\par
552 % \end{abstract}
553 % \clearpage
554 % \tableofcontents
555 % \clearpage
556 % \section*{Latest changes}
557 % \subsection*{v.0.8 (2020-05-22)}
558 % \paragraph*{Reference update}
559 % \begin{itemize}
560 % \item Added missing reference to Claudio's
561 % paper\par
562 % \end{itemize}
563 % \subsection*{v.0.7 (2020-05-16)}
564 % \paragraph*{Regression release}
565 % \begin{itemize}
566 % \item Updated to use
567 % \emph{ClassPack} 1.19\par
568 % \item Switched all \texttt{@conformance} attributes on
569 % revision dates to \texttt{@YYYY-MM-DD}\par
570 % \end{itemize}
571 % \subsection*{v.0.6 (2020-04-01)}
572 % \paragraph*{Maintenance release}
573 % \begin{itemize}
574 % \item Updated to ClassPack 1.18\par
575 % \item Switched all conformance attributes on revision
576 % dates to YYYY-MM-DD\par
577 % \end{itemize}
578 % \subsection*{v.0.5 (2019-07-24)}
579 % \paragraph*{Separated stars from flag and added baseline option}
580 % \begin{itemize}
581 % \item Made the ring of stars a separate macro so that
582 % they can be used on their own as well as in the flag.\par
583 % \item Added a \textbf{\texttt{baseline}} package option
584 % to align the bottom star with the text, and a command
585 % option to do it on a per-command basis.\par
586 % \end{itemize}
587 % See p.\thinspace\pageref{changehistory} for earlier changes.
588 % \clearpage
589 % \section{Background}
590 % This package provides a command {\ttfamily{}\textbackslash{}euflag}
591 % for reproducing the flag of the European Union. It follows
592 % exactly the official specification \parencite{emblem}. The EU’s web site says:\par
593 % \begin{quotation}\small\sffamily\parindent0pt
594 % \parskip.5\baselineskip
595 % \color{DarkBlue}\noindent
596 % The European flag symbolises both the European Union
597 % and, more broadly, the identity and unity of Europe.\par
598 % \textbf{It features a circle of 12 gold
599 % stars on a blue background. They stand for the ideals of
600 % unity, solidarity and harmony among the peoples of
601 % Europe.}\par
602 % The number of stars has nothing to do with the number of
603 % member countries, though the circle is a symbol of
604 % unity.\par
605 % \subsubsection*{History of the European flag}
606 % The history of the flag goes back to 1955. The Council
607 % of Europe — which defends human rights and promotes European
608 % culture — chose the present design for its own use. In the
609 % years that followed, it encouraged the emerging European
610 % institutions to adopt the same flag.\par
611 % In 1983, the European Parliament decided that the
612 % Communities’ flag should be that used by the Council of
613 % Europe. In 1985, it was adopted by all EU leaders as the
614 % official emblem of the European Communities, later to become
615 % the European Union. In addition, all European institutions
616 % now have their own emblems.\par
617 % \hfill\begingroup
618 % \scriptsize\color{Black}\url{https://europa.eu/european-union/about-eu/symbols/flag_en}\parfillskip=0pt\par\endgroup
619 % \end{quotation}
620 % The {\ttfamily{}\textbackslash{}euflag} command provides a simple
621 % way to use the flag in any \LaTeX{} document. Details of
622 % construction and spacing are taken from the official
623 % specification in the {\color{blue}\uline{Graphics
624 % guide to the European emblem}}\footnote{\protect\url{http://publications.europa.eu/code/en/en-5000100.htm}}.\par
625 % Since the publication of v0.4 of this package in
626 % February 2019, Claudio Beccari has investigated ways
627 % to produce the flag using only \LaTeX{}'s drawing
628 % facilities and the \textsf{xfp} package.
629 % He has written a very comprehensive paper about this
630 % in \emph{\citefield{beccari2019}{journaltitle}}, the
631 % journal of the Gruppo Utilizzatori Italiani di
632 % \TeX{} (\guit)\index{GUIT|see{Gruppo Utilizzatori Italiani di \TeX{}}}\index{Gruppo Utilizzatori Italiani di \TeX{}|textbf}, explaining how he did it
633 % \parencite{beccari2019}.\par
634 % \clearpage
635 % \section{Usage}\label{usage}
636 % The flag is reproduced at 1em high, with the bottom edge
637 % at the current baseline like this:
638 % \euflag\ using the
639 % {\ttfamily{}\textbackslash{}euflag} command.
640 % The \textbf{\texttt{baseline}} package option or an optional
641 % length argument to the {\ttfamily{}\textbackslash{}euflag} command can
642 % be used to change this (see below).\par
643 % The font size of the enclosing environment can be changed
644 % to make the flag appear at any size. In the examples below,
645 % the code and the flags are in {\ttfamily{}m}-type
646 % cells (middle-vertical-align, using the
647 % \textsf{array} package), so their apparent baselines
648 % differ.\par
649 % \par\medskip{\sffamily\small\label{examples}
650 % \begingroup
651 % \centering
652 % \begin{tabular}{@{}%
653 % >{\raggedright{}\CPKprestrut}m{0.5\columnwidth}<{\CPKpoststrut\arraybackslash}%
654 % >{\raggedright{}\CPKprestrut\arraybackslash}m{0.5\columnwidth}<{\CPKpoststrut\arraybackslash}%
655 % @{}}
656 % \hline
657 % \CPKvstrut
658 % \verb|{\tiny\euflag}|&\tiny\euflag\vrule height2em width0pt\\
659 % \verb|{\scriptsize\euflag}|&\scriptsize\euflag\\
660 % \verb|{\footnotesize\euflag}|&\footnotesize\euflag\\
661 % \verb|{\small\euflag}|&\small\euflag\\
662 % \verb|{\normalsize\euflag}|&\normalsize\euflag\\
663 % \verb|{\large\euflag}|&\large\euflag\\
664 % \verb|{\Large\euflag}|&\Large\euflag\\
665 % \verb|{\LARGE\euflag}|&\LARGE\euflag\\
666 % \verb|{\huge\euflag}|&\huge\euflag\\
667 % \verb|{\fontsize{64}{72}\selectfont\euflag}|&\fontsize{64}{72}\selectfont\euflag\\
668 % \verb|{\fontsize{128}{0}\selectfont\euflag}|&\fontsize{128}{0}\selectfont\euflag\\[2pt]\hline
669 % \end{tabular}
670 % \par\endgroup
671 % }
672 % To move the flag down so that the bottom star's baseline
673 % becomes the flag's baseline, like this:
674 % \euflag[-.167em], load
675 % the package with the \textbf{\texttt{baseline}} option:\par
676 % \iffalse
677 %<*ignore>
678 % \fi
679 \begin{lstlisting}[language={[LaTeX]TeX}]
680 \usepackage[baseline]{euflag}
681 \end{lstlisting}
682 % \iffalse
683 %</ignore>
684 % \fi
685 % (that will affect all {\ttfamily{}\textbackslash{}euflag} commands).
686 % Alternatively, use the optional argument to {\ttfamily{}\textbackslash{}euflag}
687 % to lower the flag by \nicefrac16em or whatever amount you wish, eg
688 % {\ttfamily{}\textbackslash{}euflag[-.167em]}\par
689 % \def\SILtst#1{\if#1\hfil
690 % Non-printing\hfil\else#1\fi}%
691 % \StopEventually{\label{endcode}%
692 % \clearpage
693 % \newgeometry{left=3cm}%
694 % \addcontentsline{toc}{section}{Change History}%
695 % \label{changehistory}%
696 % \PrintChanges
697 % \clearpage
698 % \label{codeindex}%
699 % \addcontentsline{toc}{section}{Index}%
700 % \PrintIndex}
701 % \addtolength{\CPKrevmarg}{\widthof{\LabelFont{PantoneReflexBlue}}}
702 % \newgeometry{left=\CPKrevmarg}
703 % \message{Margin reset to \the\CPKrevmarg, to fit <PantoneReflexBlue>}
704 % \iffalse
705 %<*package>
706 % \fi
707 % \clearpage
708 % \section{Implementation}
709 % \par
710 % \subsection{Auto-initialisation}\label{:autoinit}
711 % This section is added automatically by \textit{ClassPack}
712 % as a preamble to all classes and style packages.
713 % The \textsf{fixltx2e} package, which used to be included
714 % automatically, is no longer preloaded, as its
715 % features are now a part of the latest \LaTeXe\ kernel.\par
716 % The code starts with identity and requirements which are
717 % generated automatically as needed by the Doc\TeX\ system.
718 % For details see the \textsf{ltxdoc} package documentation.
719 % \par\smallskip
720 % \begingroup\color{DarkRed}\tabcolsep3pt\footnotesize
721 % \begin{tabular}{>{\refstepcounter{CodelineNo}\tiny\theCodelineNo}r@{\enspace}l}
722 % &\verb`\NeedsTeXFormat{LaTeX2e}[2016/02/01]`\\
723 % &\verb`\ProvidesPackage{euflag}[2020/05/22 v0.8`\\
724 % &\verb` European Union Flag]`
725 % \end{tabular}\endgroup
726 % \setcounter{CodelineNo}{3}
727 % \begin{CPK@option}{svgnames}
728 % Pass the \textbf{\texttt{svgnames}} option to the
729 % \textsf{xcolor} package if that gets loaded later.
730 % This avoids a conflict with any other packages
731 % (eg \textsf{hyperref}) which use their own default
732 % is when they load \textsf{xcolor}.\par
733 % However, we have to make
734 % an exception in this case because the package gets
735 % used in its own documentation, which would cause a
736 % duplicate \verb+\PassOptionsToPackage+, so we code
737 % around it by testing the current package name against
738 % the job name of the calling \verb+.dtx+ file~--- if
739 % they are the same, then this is the case in point,
740 % and the \verb+\PassOptionsToPackage+ command is
741 % \emph{not} executed; otherwise it it OK to include it.\par
742 % \begin{macrocode}
743 \def\CPK@thispackage{euflag}
744 \edef\CPK@thispackage{\meaning\CPK@thispackage}
745 \edef\CPK@thisjob{\jobname}
746 \edef\CPK@thisjob{\meaning\CPK@thisjob}
747 \ifx\CPK@thispackage\CPK@thisjob
748 %% this is the documentation: omit PassOptionsToPackage
749 \message{Option svgnames not passed to package xcolor}
750 \else
751 %% this is a user job: include PassOptionsToPackage
752 \message{Option svgnames passed to package xcolor}
753 % \end{macrocode}
754 % \begin{macrocode}
755 \PassOptionsToPackage{svgnames}{xcolor}
756 % \end{macrocode}
757 % \begin{macrocode}
758 \fi
759 % \end{macrocode}
760 % \end{CPK@option}
761 % \subsection{Options}\label{options}
762 % \iffalse
763 %%
764 %% ******************************************************************
765 %%
766 %% Options
767 % \fi
768 % \begin{CPK@length}{\EUF@baseline}\label{length--EUF@baseline}
769 % Define an option to set the default position to align
770 % the lowest star with the text baseline of the surrounding
771 % text. The default is zero, meaning the bottom of the flag
772 % aligns with the text baseline; setting this option will
773 % lower the flag so that the lowest star aligns with the
774 % text baseline.\par
775 % \begin{macrocode}
776 \newlength{\EUF@baseline}
777 \setlength{\EUF@baseline}{0pt}
778 \DeclareOption{baseline}{\setlength\EUF@baseline{-.167em}}
779 \DeclareOption*{%
780 \PackageWarning{euflag}{Unknown option
781 ‘\CurrentOption’; please Read The Fine Manual}%
782 }
783 \ProcessOptions
784 % \end{macrocode}
785 % \end{CPK@length}
786 %\iffalse
787 %%
788 %% Packages required for the class or package
789 %%
790 % \fi
791 % \subsection{Packages required for the package}\label{stypackages}
792 % \begin{CPK@package}{xcolor}
793 % Provide color.
794 % \iffalse
795 %% Provide color.
796 % \fi
797 % \begin{macrocode}
798 \RequirePackage[svgnames]{xcolor}%
799 \@ifundefined{T}{%
800 \newcommand{\T}[2]{{\fontencoding{T1}%
801 \selectfont#2}}}{}
802 % \end{macrocode}
803 % There seems to be a bug in the T1 encoding of some package
804 % (unidentified, but possibly \textsf{xcolor}) which
805 % uses the command {\ttfamily{}\textbackslash{}T1}, which is an
806 % impossibility (no digits allowed in command names). So we fake
807 % it here to stop \LaTeX{} complaining, by dropping the first
808 % argument on the floor.
809 % \end{CPK@package}
810 % \begin{CPK@package}{graphicx}
811 % Provide for graphics (PNG, JPG, or PDF format (only) for
812 % pdflatex; EPS format (only) for standard \LaTeX{}).
813 % \iffalse
814 %% Provide for graphics (PNG, JPG, or PDF format (only) for pdflatex; EPS format (only) for standard \LaTeX{}).
815 % \fi
816 % \begin{macrocode}
817 \RequirePackage{graphicx}%
818 % \end{macrocode}
819 % \end{CPK@package}
820 % \begin{CPK@package}{amssymb}
821 % Provide for the American Mathematical Society's symbols
822 % (see their documentation for details).
823 % \iffalse
824 %% Provide for the American Mathematical Society's symbols (see their documentation for details).
825 % \fi
826 % \begin{macrocode}
827 \RequirePackage{amssymb}%
828 % \end{macrocode}
829 % \end{CPK@package}
830 %
831 % \subsection{Changes to package defaults}\label{packagemods}
832 % \iffalse
833 %%
834 %% ******************************************************************
835 %%
836 %% Changes to package defaults
837 % \fi
838 % The only changes are to implement the blue and yellow
839 % according to the specification. Note that exact Pantone®
840 % colour codes are not available, so the
841 % {\smaller HTML} values used on the
842 % {\smaller EU}\index{EU} web site are used here. The
843 % {\smaller CMYK} values are commented out in the
844 % code; they are available for users to test.\par
845 % \definecolor{PantoneReflexBlue}{HTML}{003399}
846 % \begin{CPK@colour}{PantoneReflexBlue}\label{colour--PantoneReflexBlue}
847 % As specified.\par
848 % \begin{macrocode}
849 \definecolor{PantoneReflexBlue}{HTML}{003399}
850 %\definecolor{PantoneReflexBlue}{cmyk}{1.00,.67,0,.40}
851 % \end{macrocode}
852 % \end{CPK@colour}
853 % \definecolor{PantoneYellow}{HTML}{FFCC00}
854 % \begin{CPK@colour}{PantoneYellow}\label{colour--PantoneYellow}
855 % As specified.\par
856 % \begin{macrocode}
857 \definecolor{PantoneYellow}{HTML}{FFCC00}
858 %\definecolor{PantoneYellow}{cmyk}{0,.2,1,0}
859 % \end{macrocode}
860 % We could have just used the Yellow from
861 % the \textsf{xcolor} package, but it was felt
862 % better to be explicit.\par
863 % \end{CPK@colour}
864 % \subsection{The flag}
865 % \iffalse
866 %%
867 %% ******************************************************************
868 %%
869 %% The flag
870 % \fi
871 % We now use the {\ttfamily{}\textbackslash{}bigstar} command from the
872 % \textsf{amssymb} package (earlier versions used
873 % the {\ttfamily{}\textbackslash{}FiveStar} command from the
874 % \textsf{bbding} package, but that did not reliably
875 % scale beyond about 100pt).\par
876 % \begin{CPK@macro}{\eustar}\label{macro--eustar}
877 % It needs to scale, so we implement it as a command
878 % using {\ttfamily{}\textbackslash{}scalebox}.\par
879 % \begin{macrocode}
880 \newcommand{\eustar}{\scalebox{0.1}{\ensuremath{\bigstar}}}
881 % \end{macrocode}
882 % This is the only slightly uncertain part of the
883 % implementation: the specification calls for the star to be
884 % \nicefrac1{18} of the height of the flag, but \LaTeX{} only has
885 % access to the bounding-box of the glyph. The value of 0.1
886 % given here is therefore experimental and subject to change
887 % in future in the light of feedback.\par
888 % \end{CPK@macro}
889 % The command itself is a blue {\ttfamily{}\textbackslash{}colorbox}
890 % containing the stars set at the clock-points of a circle in
891 % a \LaTeX{} \texttt{picture} environment.\par
892 % \begin{CPK@macro}{\makestars}\label{macro--makestars}
893 % Separate the making of the ring of stars from the flag
894 % itself so that the ring of stars can be used
895 % separately.\par
896 % For the \texttt{picture} environment, set the
897 % unit to 1em and then divide it by 18. This enables us
898 % conveniently to use six units for the axes behind the circle
899 % of stars, because the specification says it must have a
900 % radius of \nicefrac13 of the height (ie \nicefrac6{18}). The
901 % positioning argument was found by trial and error.\par
902 % \begin{macrocode}
903 \newcommand{\makestars}{%
904 \color{PantoneYellow}%
905 \setlength{\unitlength}{1em}
906 \divide\unitlength by18
907 \begin{picture}(6,6)(-2,3.5)
908 \put(6,0){\eustar}
909 \put(5.196,3){\eustar}
910 \put(3,5.196){\eustar}
911 \put(0,6){\eustar}
912 \put(-3,5.196){\eustar}
913 \put(-5.196,3){\eustar}
914 \put(-6,0){\eustar}
915 \put(-5.196,-3){\eustar}
916 \put(-3,-5.196){\eustar}
917 \put(0,-6){\eustar}
918 \put(3,-5.196){\eustar}
919 \put(5.196,-3){\eustar}
920 \end{picture}%
921 }
922 % \end{macrocode}
923 % The positioning of the individual stars was found with
924 % simple trigonometry. It would have been possible to
925 % construct this from a loop cycling through the 12
926 % positions, but it is simpler to do it like this.\par
927 % \end{CPK@macro}
928 % \begin{CPK@macro}{\euflag}\label{macro--euflag}
929 % Before the {\ttfamily{}\textbackslash{}colorbox} is used, set
930 % the {\ttfamily{}\textbackslash{}fboxsep} length to
931 % zero so that there is no border around the box, and then
932 % raise (lower) the box by the value of \DescribeLength{EUF@baseline}{\ttfamily{}EUF@baseline} as set by the
933 % \textbf{\texttt{baseline}} option.\par
934 % \begin{macrocode}
935 \newcommand{\euflag}[1][\EUF@baseline]{%
936 {%
937 \fboxsep0pt
938 \raisebox{#1}{%
939 \colorbox{PantoneReflexBlue}{%
940 % \end{macrocode}
941 % The rectangle itself is formed from a
942 % {\ttfamily{}\textbackslash{}vbox} 1em high and 1.5em wide. The
943 % paragraph skip and indent are zeroed to avoid unwanted
944 % space, and the content is centered and made
945 % yellow.\par
946 % \begin{macrocode}
947 \vbox to1em{%
948 \hsize1.5em
949 \parskip0pt
950 \parindent0pt
951 \centering
952 \makestars
953 % \end{macrocode}
954 % Finally, close off the containing
955 % {\ttfamily{}\textbackslash{}vbox} and other containers.\par
956 % \begin{macrocode}
957 }% end vbox
958 }% end colorbox
959 }% end raisebox
960 }% end encapsulation
961 }% end command
962 % \end{macrocode}
963 % \end{CPK@macro}
964 % That’s it. Any problems, mail me.\par
965 % \iffalse
966 %</package>
967 % \fi
968 % \clearpage
969 % \raggedright
970 % \raggedright\printbibliography
971 % \appendix
972 % \newgeometry{left=3cm}
973 % \clearpage
974 % \section{The \LaTeX{} Project Public License (v\thinspace{}1.3c)}\label{LPPL}
975 % \begin{quotation}\small\sffamily\parindent0pt
976 % \parskip.5\baselineskip
977 % \color{DarkBlue}\noindent
978 % Everyone is allowed to distribute verbatim copies of this
979 % license document, but modification of it is not allowed.\par
980 % \end{quotation}
981 % \subsection{Preamble}\label{Preamble}
982 % The \LaTeX{} Project Public License ({\smaller LPPL})
983 % is the primary license under which the \LaTeX{} kernel and the
984 % base \LaTeX{} packages are distributed.\par
985 % You may use this license for any work of which you hold the
986 % copyright and which you wish to distribute. This license may be
987 % particularly suitable if your work is \TeX{}-related (such as a
988 % \LaTeX{} package), but it is written in such a way that you can
989 % use it even if your work is unrelated to \TeX{}.\par
990 % The section “Whether and How to Distribute Works under This
991 % License”, below, gives instructions, examples, and
992 % recommendations for authors who are considering distributing
993 % their works under this license.\par
994 % This license gives conditions under which a work may be
995 % distributed and modified, as well as conditions under which
996 % modified versions of that work may be distributed.\par
997 % We, the \LaTeX{3} Project, believe that the conditions below
998 % give you the freedom to make and distribute modified versions of
999 % your work that conform with whatever technical specifications
1000 % you wish while maintaining the availability, integrity, and
1001 % reliability of that work. If you do not see how to achieve your
1002 % goal while meeting these conditions, then read the document
1003 % {\ttfamily{}cfgguide.tex} and {\ttfamily{}modguide.tex} in the base \LaTeX{}
1004 % distribution for suggestions.\par
1005 % \subsection{Definitions}\label{Definitions}
1006 % In this license document the following terms are used:\par
1007 % \begin{description}[style=unboxed]
1008 % \item[Work\thinspace:]Any work being distributed under this License.\par
1009 % \item[Derived Work\thinspace:]Any work that under any applicable law is derived from
1010 % the Work.\par
1011 % \item[Modification\thinspace:]Any procedure that produces a Derived Work under any
1012 % applicable law~--- for example, the production of a file
1013 % containing an original file associated with the Work or a
1014 % significant portion of such a file, either verbatim or
1015 % with modifications and/or translated into another
1016 % language.\par
1017 % \item[Modify\thinspace:]To apply any procedure that produces a Derived Work
1018 % under any applicable law.\par
1019 % \item[Distribution\thinspace:]Making copies of the Work available from one person to
1020 % another, in whole or in part. Distribution includes (but
1021 % is not limited to) making any electronic components of the
1022 % Work accessible by file transfer protocols such as
1023 % {\smaller FTP} or {\smaller HTTP} or by
1024 % shared file systems such as Sun's Network File System
1025 % ({\smaller NFS}).\par
1026 % \item[Compiled Work\thinspace:]A version of the Work that has been processed into a
1027 % form where it is directly usable on a computer system.
1028 % This processing may include using installation facilities
1029 % provided by the Work, transformations of the Work, copying
1030 % of components of the Work, or other activities. Note that
1031 % modification of any installation facilities provided by
1032 % the Work constitutes modification of the Work.\par
1033 % \item[Current Maintainer\thinspace:]A person or persons nominated as such within the Work.
1034 % If there is no such explicit nomination then it is the
1035 % `Copyright Holder' under any applicable
1036 % law.\par
1037 % \item[Base Interpreter\thinspace:]A program or process that is normally needed for
1038 % running or interpreting a part or the whole of the
1039 % Work.\par
1040 % A Base Interpreter may depend on external components
1041 % but these are not considered part of the Base Interpreter
1042 % provided that each external component clearly identifies
1043 % itself whenever it is used interactively. Unless
1044 % explicitly specified when applying the license to the
1045 % Work, the only applicable Base Interpreter is a
1046 % `\LaTeX{}-Format' or in the case of files
1047 % belonging to the `\LaTeX{}-format' a program
1048 % implementing the `\TeX{} language'.\par
1049 % \end{description}
1050 % \subsection{Conditions on Distribution and Modification}\label{Conditions}
1051 % \begin{enumerate}
1052 % \item Activities other than distribution and/or modification
1053 % of the Work are not covered by this license; they are
1054 % outside its scope. In particular, the act of running the
1055 % Work is not restricted and no requirements are made
1056 % concerning any offers of support for the Work.\par
1057 % \item \label{item-distribute}You may distribute a complete, unmodified copy of the
1058 % Work as you received it. Distribution of only part of the
1059 % Work is considered modification of the Work, and no right to
1060 % distribute such a Derived Work may be assumed under the
1061 % terms of this clause.\par
1062 % \item You may distribute a Compiled Work that has been
1063 % generated from a complete, unmodified copy of the Work as
1064 % distributed under Clause~item~\ref{item-distribute} above above, as
1065 % long as that Compiled Work is distributed in such a way that
1066 % the recipients may install the Compiled Work on their system
1067 % exactly as it would have been installed if they generated a
1068 % Compiled Work directly from the Work.\par
1069 % \item \label{item-currmaint}If you are the Current Maintainer of the Work, you may,
1070 % without restriction, modify the Work, thus creating a
1071 % Derived Work. You may also distribute the Derived Work
1072 % without restriction, including Compiled Works generated from
1073 % the Derived Work. Derived Works distributed in this manner
1074 % by the Current Maintainer are considered to be updated
1075 % versions of the Work.\par
1076 % \item If you are not the Current Maintainer of the Work, you
1077 % may modify your copy of the Work, thus creating a Derived
1078 % Work based on the Work, and compile this Derived Work, thus
1079 % creating a Compiled Work based on the Derived Work.\par
1080 % \item \label{item-conditions}If you are not the Current Maintainer of the Work, you
1081 % may distribute a Derived Work provided the following
1082 % conditions are met for every component of the Work unless
1083 % that component clearly states in the copyright notice that
1084 % it is exempt from that condition. Only the Current
1085 % Maintainer is allowed to add such statements of exemption to
1086 % a component of the Work.\par
1087 % \begin{enumerate}
1088 % \item If a component of this Derived Work can be a direct
1089 % replacement for a component of the Work when that
1090 % component is used with the Base Interpreter, then,
1091 % wherever this component of the Work identifies itself to
1092 % the user when used interactively with that Base
1093 % Interpreter, the replacement component of this Derived
1094 % Work clearly and unambiguously identifies itself as a
1095 % modified version of this component to the user when used
1096 % interactively with that Base Interpreter.\par
1097 % \item Every component of the Derived Work contains
1098 % prominent notices detailing the nature of the changes to
1099 % that component, or a prominent reference to another file
1100 % that is distributed as part of the Derived Work and that
1101 % contains a complete and accurate log of the
1102 % changes.\par
1103 % \item No information in the Derived Work implies that any
1104 % persons, including (but not limited to) the authors of
1105 % the original version of the Work, provide any support,
1106 % including (but not limited to) the reporting and
1107 % handling of errors, to recipients of the Derived Work
1108 % unless those persons have stated explicitly that they do
1109 % provide such support for the Derived Work.\par
1110 % \item You distribute at least one of the following with
1111 % the Derived Work:\par
1112 % \begin{enumerate}
1113 % \item A complete, unmodified copy of the Work; if your
1114 % distribution of a modified component is made by
1115 % offering access to copy the modified component from
1116 % a designated place, then offering equivalent access
1117 % to copy the Work from the same or some similar place
1118 % meets this condition, even though third parties are
1119 % not compelled to copy the Work along with the
1120 % modified component;\par
1121 % \item Information that is sufficient to obtain a
1122 % complete, unmodified copy of the Work.\par
1123 % \end{enumerate}
1124 % \end{enumerate}
1125 % \item If you are not the Current Maintainer of the Work, you
1126 % may distribute a Compiled Work generated from a Derived
1127 % Work, as long as the Derived Work is distributed to all
1128 % recipients of the Compiled Work, and as long as the
1129 % conditions of Clause~item~\ref{item-conditions} above, above, are met
1130 % with regard to the Derived Work.\par
1131 % \item The conditions above are not intended to prohibit, and
1132 % hence do not apply to, the modification, by any method, of
1133 % any component so that it becomes identical to an updated
1134 % version of that component of the Work as it is distributed
1135 % by the Current Maintainer under Clause~item~\ref{item-currmaint} above, above.\par
1136 % \item Distribution of the Work or any Derived Work in an
1137 % alternative format, where the Work or that Derived Work (in
1138 % whole or in part) is then produced by applying some process
1139 % to that format, does not relax or nullify any sections of
1140 % this license as they pertain to the results of applying that
1141 % process.\par
1142 % \item % \begin{enumerate}
1143 % \item A Derived Work may be distributed under a different
1144 % license provided that license itself honors the
1145 % conditions listed in Clause~item~\ref{item-conditions} in the list on p.\thinspace\pageref{item-conditions} above, in
1146 % regard to the Work, though it does not have to honor the
1147 % rest of the conditions in this license.\par
1148 % \item If a Derived Work is distributed under a different
1149 % license, that Derived Work must provide sufficient
1150 % documentation as part of itself to allow each recipient
1151 % of that Derived Work to honor the restrictions in
1152 % Clause~item~\ref{item-conditions} in the list on p.\thinspace\pageref{item-conditions} above, concerning
1153 % changes from the Work.\par
1154 % \end{enumerate}
1155 % \item This license places no restrictions on works that are
1156 % unrelated to the Work, nor does this license place any
1157 % restrictions on aggregating such works with the Work by any
1158 % means.\par
1159 % \item Nothing in this license is intended to, or may be used
1160 % to, prevent complete compliance by all parties with all
1161 % applicable laws.\par
1162 % \end{enumerate}
1163 % \subsection{No Warranty}\label{Warranty}
1164 % There is no warranty for the Work. Except when otherwise
1165 % stated in writing, the Copyright Holder provides the Work
1166 % `as is', without warranty of any kind, either
1167 % expressed or implied, including, but not limited to, the implied
1168 % warranties of merchantability and fitness for a particular
1169 % purpose. The entire risk as to the quality and performance of
1170 % the Work is with you. Should the Work prove defective, you
1171 % assume the cost of all necessary servicing, repair, or
1172 % correction.\par
1173 % In no event unless required by applicable law or agreed to
1174 % in writing will The Copyright Holder, or any author named in the
1175 % components of the Work, or any other party who may distribute
1176 % and/or modify the Work as permitted above, be liable to you for
1177 % damages, including any general, special, incidental or
1178 % consequential damages arising out of any use of the Work or out
1179 % of inability to use the Work (including, but not limited to,
1180 % loss of data, data being rendered inaccurate, or losses
1181 % sustained by anyone as a result of any failure of the Work to
1182 % operate with any other programs), even if the Copyright Holder
1183 % or said author or said other party has been advised of the
1184 % possibility of such damages.\par
1185 % \subsection{Maintenance of The Work}\label{Maintenance}
1186 % The Work has the status `author-maintained'
1187 % if the Copyright Holder explicitly and prominently states near
1188 % the primary copyright notice in the Work that the Work can only
1189 % be maintained by the Copyright Holder or simply that it is
1190 % `author-maintained'.\par
1191 % The Work has the status `maintained' if there
1192 % is a Current Maintainer who has indicated in the Work that they
1193 % are willing to receive error reports for the Work (for example,
1194 % by supplying a valid e-mail address). It is not required for the
1195 % Current Maintainer to acknowledge or act upon these error
1196 % reports.\par
1197 % The Work changes from status `maintained' to
1198 % `unmaintained' if there is no Current Maintainer,
1199 % or the person stated to be Current Maintainer of the work cannot
1200 % be reached through the indicated means of communication for a
1201 % period of six months, and there are no other significant signs
1202 % of active maintenance.\par
1203 % You can become the Current Maintainer of the Work by
1204 % agreement with any existing Current Maintainer to take over this
1205 % role.\par
1206 % If the Work is unmaintained, you can become the Current
1207 % Maintainer of the Work through the following steps:\par
1208 % \begin{enumerate}
1209 % \item Make a reasonable attempt to trace the Current
1210 % Maintainer (and the Copyright Holder, if the two differ)
1211 % through the means of an Internet or similar search.\par
1212 % \item If this search is successful, then enquire whether the
1213 % Work is still maintained.\par
1214 % \begin{enumerate}
1215 % \item If it is being maintained, then ask the Current
1216 % Maintainer to update their communication data within one
1217 % month.\par
1218 % \item \label{item-intention}If the search is unsuccessful or no action to resume
1219 % active maintenance is taken by the Current Maintainer,
1220 % then announce within the pertinent community your
1221 % intention to take over maintenance. (If the Work is a
1222 % \LaTeX{} work, this could be done, for example, by
1223 % posting to \url{news:comp.text.tex}.)\par
1224 % \end{enumerate}
1225 % \item % \begin{enumerate}
1226 % \item If the Current Maintainer is reachable and agrees to
1227 % pass maintenance of the Work to you, then this takes
1228 % effect immediately upon announcement.\par
1229 % \item \label{item-announce}If the Current Maintainer is not reachable and the
1230 % Copyright Holder agrees that maintenance of the Work be
1231 % passed to you, then this takes effect immediately upon
1232 % announcement.\par
1233 % \end{enumerate}
1234 % \item \label{item-change}If you make an `intention announcement'
1235 % as described in~item~\ref{item-intention} in the list on p.\thinspace\pageref{item-intention} above and after three
1236 % months your intention is challenged neither by the Current
1237 % Maintainer nor by the Copyright Holder nor by other people,
1238 % then you may arrange for the Work to be changed so as to
1239 % name you as the (new) Current Maintainer.\par
1240 % \item If the previously unreachable Current Maintainer becomes
1241 % reachable once more within three months of a change
1242 % completed under the terms of~item~\ref{item-announce} in the list on p.\thinspace\pageref{item-announce}
1243 % or~item~\ref{item-change} above, then that
1244 % Current
1245 % Maintainer must become or remain the Current Maintainer upon
1246 % request provided they then update their communication data
1247 % within one month.\par
1248 % \end{enumerate}
1249 % A change in the Current Maintainer does not, of itself,
1250 % alter the fact that the Work is distributed under the
1251 % {\smaller LPPL} license.\par
1252 % If you become the Current Maintainer of the Work, you should
1253 % immediately provide, within the Work, a prominent and
1254 % unambiguous statement of your status as Current Maintainer. You
1255 % should also announce your new status to the same pertinent
1256 % community as in~item~\ref{item-intention} in the list on p.\thinspace\pageref{item-intention}
1257 % above.\par
1258 % \subsection{Whether and How to Distribute Works under This
1259 % License}\label{Distribute}
1260 % This section contains important instructions, examples, and
1261 % recommendations for authors who are considering distributing
1262 % their works under this license. These authors are addressed as
1263 % `you' in this section.\par
1264 % \subsubsection{Choosing This License or Another License}\label{Choosing}
1265 % If for any part of your work you want or need to use
1266 % \emph{distribution} conditions that differ
1267 % significantly from those in this license, then do not refer to
1268 % this license anywhere in your work but, instead, distribute
1269 % your work under a different license. You may use the text of
1270 % this license as a model for your own license, but your license
1271 % should not refer to the {\smaller LPPL} or otherwise
1272 % give the impression that your work is distributed under the
1273 % {\smaller LPPL}.\par
1274 % The document {\ttfamily{}modguide.tex} in the base \LaTeX{}
1275 % distribution explains the motivation behind the conditions of
1276 % this license. It explains, for example, why distributing
1277 % \LaTeX{} under the {\smaller GNU} General Public
1278 % License ({\smaller GPL}) was considered inappropriate.
1279 % Even if your work is unrelated to \LaTeX{}, the discussion in
1280 % {\ttfamily{}modguide.tex} may still be
1281 % relevant, and authors intending to distribute their works
1282 % under any license are encouraged to read it.\par
1283 % \subsubsection{A Recommendation on Modification Without
1284 % Distribution}\label{WithoutDistribution}
1285 % It is wise never to modify a component of the Work, even
1286 % for your own personal use, without also meeting the above
1287 % conditions for distributing the modified component. While you
1288 % might intend that such modifications will never be
1289 % distributed, often this will happen by accident~--- you may
1290 % forget that you have modified that component; or it may not
1291 % occur to you when allowing others to access the modified
1292 % version that you are thus distributing it and violating the
1293 % conditions of this license in ways that could have legal
1294 % implications and, worse, cause problems for the community. It
1295 % is therefore usually in your best interest to keep your copy
1296 % of the Work identical with the public one. Many works provide
1297 % ways to control the behavior of that work without altering any
1298 % of its licensed components.\par
1299 % \subsubsection{How to Use This License}\label{HowTo}
1300 % To use this license, place in each of the components of
1301 % your work both an explicit copyright notice including your
1302 % name and the year the work was authored and/or last
1303 % substantially modified. Include also a statement that the
1304 % distribution and/or modification of that component is
1305 % constrained by the conditions in this license.\par
1306 % Here is an example of such a notice and statement:\par
1307 % \iffalse
1308 %<*ignore>
1309 % \fi
1310 \begin{lstlisting}[language={[LaTeX]TeX}]
1311 %%% pig.dtx
1312 %%% Copyright 2005 M. Y. Name
1313 %%
1314 %% This work may be distributed and/or modified under the
1315 %% conditions of the LaTeX Project Public License, either version 1.3
1316 %% of this license or (at your option) any later version.
1317 %% The latest version of this license is in
1318 %% http://www.latex-project.org/lppl.txt
1319 %% and version 1.3 or later is part of all distributions of LaTeX
1320 %% version 2005/12/01 or later.
1321 %%
1322 %% This work has the LPPL maintenance status `maintained'.
1323 %%
1324 %% The Current Maintainer of this work is M. Y. Name.
1325 %%
1326 %% This work consists of the files pig.dtx and pig.ins
1327 %% and the derived file pig.sty.
1328 \end{lstlisting}
1329 % \iffalse
1330 %</ignore>
1331 % \fi
1332 % Given such a notice and statement in a file, the
1333 % conditions given in this license document would apply, with
1334 % the `Work' referring to the three files
1335 % {\ttfamily{}pig.dtx}, {\ttfamily{}pig.ins}, and {\ttfamily{}pig.sty} (the last being generated
1336 % from {\ttfamily{}pig.dtx} using {\ttfamily{}pig.ins}), the `Base
1337 % Interpreter' referring to any
1338 % `\LaTeX{}-Format', and both `Copyright
1339 % Holder' and `Current Maintainer'
1340 % referring to the person
1341 % M.~Y.~Name\index{!}.\par
1342 % If you do not want the Maintenance section of
1343 % {\smaller LPPL} to apply to your Work, change
1344 % `maintained' above into
1345 % `author-maintained'. However, we recommend that
1346 % you use `maintained' as the Maintenance
1347 % section was added in order to ensure that your Work remains
1348 % useful to the community even when you can no longer maintain
1349 % and support it yourself.\par
1350 % \subsubsection{Derived Works That Are Not Replacements}\label{NotReplacements}
1351 % Several clauses of the {\smaller LPPL} specify
1352 % means to provide reliability and stability for the user
1353 % community. They therefore concern themselves with the case
1354 % that a Derived Work is intended to be used as a (compatible or
1355 % incompatible) replacement of the original Work. If this is not
1356 % the case (e.g., if a few lines of code are reused for a
1357 % completely different task), then clauses 6b and 6d shall not
1358 % apply.\par
1359 % \subsubsection{Important Recommendations}\label{Recommendations}
1360 % \paragraph[Defining What Constitutes the Work]{Defining What Constitutes the Work :}
1361 % The {\smaller LPPL} requires that distributions
1362 % of the Work contain all the files of the Work. It is
1363 % therefore important that you provide a way for the licensee
1364 % to determine which files constitute the Work. This could,
1365 % for example, be achieved by explicitly listing all the files
1366 % of the Work near the copyright notice of each file or by
1367 % using a line such as:\par
1368 % \iffalse
1369 %<*ignore>
1370 % \fi
1371 \begin{lstlisting}[language={[LaTeX]TeX}]
1372 %% This work consists of all files listed in manifest.txt.
1373 \end{lstlisting}
1374 % \iffalse
1375 %</ignore>
1376 % \fi
1377 % in that place. In the absence of an unequivocal list it
1378 % might be impossible for the licensee to determine what is
1379 % considered by you to comprise the Work and, in such a case,
1380 % the licensee would be entitled to make reasonable
1381 % conjectures as to which files comprise the Work.\par
1382 % \Finale
1383