2

Is it possibile to add a flag in LaTeX? I need to add a flag in the title page, near the title of the book.

I don't want to insert e graphic or use TiKZ

closed as unclear what you're asking by Sebastiano, siracusa, Henri Menke, user156344, marmot Feb 23 at 5:43

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 7
    If not an external graphic or doing it within LaTeX, what else? – Johannes_B Nov 13 '18 at 11:03
  • Why not insert it? There are a lot: flag-icon-css.lip.is – Sigur Nov 13 '18 at 11:08
  • You can probably have LaTeX draw the flag using LaTeX' picture-environment. With some pictures I use the filecontents*-environment for generating an encapsulated postscript-file (.eps-file) and use the \includegraphics-command from the graphics/graphicx bundle for including the eps-image. When using an engine that creates pdf-files, I also need the epstopdf-package with this approach. – Ulrich Diez Nov 13 '18 at 11:27
  • Yet another approach I sometimes did in the past was using metafont and FontForge for creating fonts with glyphs that actually were the pictures/images that I wished to insert. For inserting a picture, I just had to change the font and type the character corresponding to the glyph that formed the image in question. This made file-sizes of pdf-files short when needing the same image several times as the image was not included several times but only once as a glyph of a font. But learning metafont is not funny at all. And images with several colors are a problem, too, with this approach. – Ulrich Diez Nov 13 '18 at 11:35
  • Using a LuaLaTeX-engine and the luamplib-package, you can also insert MetaPost-code for drawing pictures/images/flags directly into your .tex-input file. – Ulrich Diez Nov 13 '18 at 12:37