CTAN Comprehensive TeX Archive Network

Directory graphics/euflag



This is the README.md file for the euflag package v0.4 (2019-02-02)


%% 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 ). %% begingroupcenteringfontsize{230}{0}selectfonteuflagparendgroup

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 Live update manager tlmgr and similar automated installers. If you are using automated package installation, no further action is required.

TDS installation

This package is also available as a .tds.zip file. TDS is the Directory Structure, the standard layout for a modern installation. This enables the package to be unzipped directly into your Personal Directory (see below for what this is and how to create one on your system).

  • Install it on any TDS-compliant personal system (laptop, desktop,

workstation, table, smartphone, PDA, etc) by unzipping it straight into your Personal Directory (folder). This will put all the files into the right places, so you can start using them immediately.

  • If you haven't yet created a personal directory, see below for

details of what one is, and how to create it.

  • On a shared (multiuser) system like a server, unzip it into the

$TEXMFLOCAL directory instead (see below), and run your directory-indexing program (eg texhashmktexlsr, etc) so that everyone can use it.

  • If you are using an old non-TDS-compliant system, see below under Manual


Your Personal 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 Live update manager (tlmgr). The name and location are fixed:

Apple Mac OS X
Unix and GNU/Linux
MS-Windows 95/XP
MS-Windows 2007 and above

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 directory, following exactly the subdirectory structure that is used in your main distribution (unzipping a TDS file does this for you). This is what enables to find stuff automatically.

If you are a Windows user running MiK

When you create the folder, you must add it to MiK's list of supported folders. Run the MiK 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 folder, you must also click on the Update FNDB button in the General tab.

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 directory.

Installation on shared systems

On multi-user systems (Unix-based), identify the shared local directory 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.

Do not forget to run the texhash or mktexlsr (filename indexer) program after installation, otherwise the files will not be found by and nothing will work!

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 files from the tex/latex/euflag directory to a location (directory/folder) where 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.

It is your responsibility to know where this location is. See the question in the 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 system may be out of date and need replacing.

Last resort

In an emergency, or as a last resort on unmanageable systems, it is possible simply to put the class and/or package files into your current working directory (the same folder as your .tex files).

While this may work, it is not supported, and may lead to other resources (packages, fonts, images etc) not being found.


Make this the first line of your document:


(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.

Bugs and TODO

No outstanding reported bugs at the time of this version.


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

 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.

Download the contents of this package in one zip archive (117.4k).

euflag – A command to reproduce the flag of the European Union

This package implements a command to reproduce the official flag of the European Union (EU).

The flag is reproduced at 1em high based on the current font size, so it can be scaled arbitrarily by changing the font size.

Version0.4 2019-02-02
LicensesThe Project Public License 1.3
Copyright2019 Peter Flynn
MaintainerPeter Flynn
Contained inTeX Live as euflag
MiKTeX as euflag
Guest Book Sitemap Contact Contact Author