15

Good evening

I have one unusual question. Are there some Harry Potter symbols in LaTeX (pictures below) ?

Thanks for an answer.

enter image description here enter image description here

  • 11
    \includegraphics .... – Joseph Wright Sep 24 '16 at 16:29
  • The Deathly Hallows one is easy enough to make I suppose, but whether it already exists I have no idea. – Torbjørn T. Sep 24 '16 at 16:37
  • See also http://tex.stackexchange.com/questions/244368/tikz-draw-a-cooking-pot (cauldrons), http://tex.stackexchange.com/questions/39149/how-can-we-draw-a-christmas-tree-with-decorations-using-tikz/219610#219610 (code for a cat - there's a version sitting on Meta, too, I think and the colours can be configured to e.g. black or ginger for Hermione's or whatever). Doubtless more elsewhere - I'm only remembering the ones I've drawn, I expect. – cfr Sep 25 '16 at 03:33
  • Be aware of copyright issues for the lettering. The Deathly Hallows symbol should not reach the threshold of originality, though. – chaosflaws Sep 25 '16 at 12:34

2 Answers2

25

The second symbol is easy:

\documentclass{article}
\usepackage{tikz}

\begin{document}
  \begin{tikzpicture}[baseline=0]
    \def\a{1cm}
    \pgfmathsetlengthmacro\radius{\a/2 * tan(30)}
    \draw[thick]
      (0, 0) -- (60:\a) -- (\a, 0) -- cycle
      (\a/2, 0) -- (60:\a)
      (\a/2, \radius) circle[radius=\radius]
    ;
  \end{tikzpicture}
\end{document}

Result

A slight modification, some images show a smaller inner circle, e.g.:

\documentclass{standalone}
\usepackage{tikz}

\begin{document}
  \begin{tikzpicture}[baseline=0]
    \def\a{1cm}
    \pgfmathsetlengthmacro\radius{\a/2 * tan(30)}
    \draw[thick]
      (0, 0) -- (60:\a) -- (\a, 0) -- cycle
      (\a/2, 0) -- (60:\a)
      (\a/2, \radius) circle[radius=\radius-.75\pgflinewidth]
    ;
  \end{tikzpicture}
\end{document}

Result

The first one can also be drawn with TikZ. A grid can be put on the symbol to get the coordinates of the vertices. Easier would be to include is as image.

Heiko Oberdiek
  • 271,626
18

There's the Parry Hotter font. It's a TTF, so you'll need XeLaTeX to use it.

Of course, you could google for any other font and use that as well.

Au101
  • 10,278
Elad Den
  • 3,941
  • I can open Parry Hotter on Word 2013... Are you sure it's a TTF? – bleh Sep 24 '16 at 22:15
  • 2
    @bleh , I'm no expert on fonts or Word... but aren't you supposed to open the TTF with Windows Font Viewer ? It worked well after installation on my machine. Look in this link for more help https://www.microsoft.com/en-us/Typography/TrueTypeInstall.aspx – Elad Den Sep 25 '16 at 05:21