TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have tried to search, but I have not been able to found any repository with the flags of the most common countries defined with TikZ. It must be very possible as most flags are really vectors.

share|improve this question
Not that I know of, but you could take an SVG rendering (say, from here: bastisoft.de/misc/flags) and convert it to TikZ. – Loop Space May 18 '11 at 12:06
@Andrew Stacey: Great idea and link, thanks! On a sidenote, sadly Brazil is not in that flag list. =P – Paulo Cereda May 18 '11 at 12:25
@Paulo: In that case, if anyone wants to do a "proof of concept" here then they should do the Brazilian flag! (I got as far as "Denmark" before I stopped looking.) – Loop Space May 18 '11 at 12:39
@Andrew: Wikimedia has Denmark and Brazil: commons.wikimedia.org/wiki/Category:SVG_sovereign_state_flags – Jake May 18 '11 at 12:45
@Jake: I bow to your superior searching skills. I got the following page from Wikipedia when I searched: en.wikipedia.org/wiki/Category:SVG_flags – Loop Space May 18 '11 at 12:47
up vote 22 down vote accepted

The astonishingly bizarre documentation for the minitoc package has done most of the work for you. (Although with .png images.) So for any flag you can think of the following will work: (You can also find maps as well.)

% change the year to match your current distribution

Just for entertainment, here are the flags of Brazil, Vanuatu, and Belarus.

Brazil Vanuatu Belarus flags

share|improve this answer
That is weird – Seamus May 18 '11 at 16:26
Note: This won’t work with MiKTeX – for two reasons: especially for this package the flag files are not included in minitoc’s documentation directory, and generally the whole documentation subtree is unfortunately not included into the filename database. One could, of course, install all missing files in a local texmf tree and then give the absolute path or use \graphicspath – or put the needed files into the document directory. – Speravir Nov 6 '12 at 3:20
5 interesting flags: Poland, Indonesia, Monaco, Austria, and Peru. – kiss my armpit Nov 6 '12 at 4:21
@Speravir: I see. Thanks. This comment will be deleted shortly. – kiss my armpit Nov 6 '12 at 4:51

bclogo also includes some of them in format .mps.

enter image description here

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.