CTAN Comprehensive TeX Archive Network

Direc­tory graphics/euflag



This is the README.md file for the eu­flag pack­age v0.4 (2019-02-02)


%% This pack­age im­ple­ments a sin­gle com­mand eu­flag which re­pro­duces the of­fi­cial flag of the Euro­pean Union us­ing just the built-in pic­ture en­vi­ron­ment, with the xcolor and graph­icx pack­ages and the amssymb font. %% The flag is re­pro­duced at 1em high based on the cur­rent font size, so it can be scaled ar­bi­trar­ily by chang­ing the font size (see ex­am­ples in ). %% be­g­in­group­cen­ter­ing­font­size{230}{0}se­lect­fonteu­flag­parend­group

Nor­mal in­stal­la­tion

If this pack­age is dis­tributed from CTAN, it should be in a zip file which al­lows it to be in­stalled au­to­mat­i­cally by the Live up­date man­ager tlmgr and sim­i­lar au­to­mated in­stallers. If you are us­ing au­to­mated pack­age in­stal­la­tion, no fur­ther ac­tion is re­quired.

TDS in­stal­la­tion

This pack­age is also avail­able as a .tds.zip file. TDS is the Direc­tory Struc­ture, the stan­dard lay­out for a mod­ern in­stal­la­tion. This en­ables the pack­age to be un­zipped di­rectly into your Per­sonal Direc­tory (see be­low for what this is and how to cre­ate one on your sys­tem).

  • In­stall it on any TDS-com­pli­ant per­sonal sys­tem (lap­top, desk­top,

work­sta­tion, ta­ble, smart­phone, PDA, etc) by un­zip­ping it straight into your Per­sonal Direc­tory (folder). This will put all the files into the right places, so you can start us­ing them im­me­di­ately.

  • If you haven't yet cre­ated a per­sonal di­rec­tory, see be­low for

de­tails of what one is, and how to cre­ate it.

  • On a shared (mul­tiuser) sys­tem like a server, un­zip it into the

$TEXMFLOCAL di­rec­tory in­stead (see be­low), and run your di­rec­tory-in­dex­ing pro­gram (eg tex­hashmk­texlsr, etc) so that ev­ery­one can use it.

  • If you are us­ing an old non-TDS-com­pli­ant sys­tem, see be­low un­der Man­ual


Your Per­sonal Direc­tory

This is a di­rec­tory (folder) on sin­gle-user sys­tems where you should put all your lo­cal man­ual mod­i­fi­ca­tions (up­dates, and ad­di­tions such as new or up­dated classes, pack­ages, and fonts) that are not han­dled au­to­mat­i­cally by the Live up­date man­ager (tlmgr). The name and lo­ca­tion are fixed:

Ap­ple Mac OS X
Unix and GNU/Linux
MS-Win­dows 95/XP
MS-Win­dows 2007 and above

Create that folder now if it does not al­ready ex­ist. Put (or un­zip) all ad­di­tions to your sys­tem that are not han­dled by tlmgr into this di­rec­tory, fol­low­ing ex­actly the sub­di­rec­tory struc­ture that is used in your main dis­tri­bu­tion (un­zip­ping a TDS file does this for you). This is what en­ables to find stuff au­to­mat­i­cally.

If you are a Win­dows user run­ning MiK

When you cre­ate the folder, you must add it to MiK's list of sup­ported fold­ers. Run the MiK Main­te­nance/Set­tings pro­gram, se­lect the Roots tab, and add the folder. You only have to do this once.

Each time you add or re­move soft­ware in your per­sonal folder, you must also click on the Update FNDB but­ton in the General tab.

Unix (Mac and GNU/Linux) users do not need to (in­deed, should not) run their file­name database in­dexer (mk­texlsr or tex­hash) for files put in your per­sonal di­rec­tory.

In­stal­la­tion on shared sys­tems

On multi-user sys­tems (Unix-based), iden­tify the shared lo­cal di­rec­tory tree with the com­mand

kpsewhich -expand-var '$TEXMFLOCAL'

This will give you the lo­ca­tion of the shared texmf di­rec­tory into which you must in­stall these files.

Do not for­get to run the tex­hash or mk­texlsr (file­name in­dexer) pro­gram af­ter in­stal­la­tion, oth­er­wise the files will not be found by and noth­ing will work!

Man­ual in­stal­la­tion (non-TDS sys­tems)

To in­stall this soft­ware man­u­ally, un­zip the zip file into a tem­po­rary di­rec­tory and move the class and/or pack­age files from the tex/latex/euflag di­rec­tory to a lo­ca­tion (di­rec­tory/folder) where will find it on your sys­tem. This is re­ferred to in some doc­u­men­ta­tion as “the TEXINPUTS di­rec­tory”, al­though it may be called some­thing else on your sys­tem.

It is your re­spon­si­bil­ity to know where this lo­ca­tion is. See the ques­tion in the FAQ at http://www.tex.ac.uk/cgi-bin/tex­faq2html?la­bel=inst-wlcf for more in­for­ma­tion. If you do not know, or can­not find it, or do not have ac­cess to it, your sys­tem may be out of date and need re­plac­ing.

Last re­sort

In an emer­gency, or as a last re­sort on un­man­age­able sys­tems, it is pos­si­ble sim­ply to put the class and/or pack­age files into your cur­rent work­ing di­rec­tory (the same folder as your .tex files).

While this may work, it is not sup­ported, and may lead to other re­sources (pack­ages, fonts, im­ages etc) not be­ing found.


Make this the first line of your doc­u­ment:


(or other class or pack­age if more than one is sup­plied). Read the doc­u­men­ta­tion for the op­tions avail­able. The doc­u­men­ta­tion is dis­tributed as a PDF doc­u­ment in the zip file. You can also re­gen­er­ate it by type­set­ting the euflag.dtx file with xelatex (and biber and makein­dex) in the nor­mal way.

Bugs and TODO

No out­stand­ing re­ported bugs at the time of this ver­sion.


The fol­low­ing state­ment is in­cluded 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

 euflag.sty is copyright © 2019 by Peter Flynn <peter@silmaril.ie>

 This work may be distributed and/or modified under the
 conditions of the LaTeX Project Public License, either
 version 1.3 of this license or (at your option) any later
 version. The latest version of this license is in:


 and version 1.3 or later is part of all distributions of
 LaTeX version 2005/12/01 or later.

 This work has the LPPL maintenance status ‘maintained’.
 The current maintainer of this work is Peter Flynn <peter@silmaril.ie>

 This work consists of the files euflag.dtx and euflag.ins,
 the derived file , 
 and any other ancillary files listed in the MANIFEST.

Down­load the con­tents of this pack­age in one zip archive (117.4k).

eu­flag – A com­mand to re­pro­duce the flag of the Euro­pean Union

This pack­age im­ple­ments a com­mand to re­pro­duce the of­fi­cial flag of the Euro­pean Union (EU).

The flag is re­pro­duced at 1em high based on the cur­rent font size, so it can be scaled ar­bi­trar­ily by chang­ing the font size.

Ver­sion0.4 2019-02-02
Li­censesThe Project Public Li­cense 1.3
Copy­right2019 Peter Flynn
Main­tainerPeter Flynn
Con­tained inTeX Live as eu­flag
MiKTeX as eu­flag
Guest Book Sitemap Contact Contact Author