Skip to content

Instantly share code, notes, and snippets.

@aterga
Last active May 30, 2021 19:34
Show Gist options
  • Save aterga/8444a540575d9cdc280c42930251bcbd to your computer and use it in GitHub Desktop.
Save aterga/8444a540575d9cdc280c42930251bcbd to your computer and use it in GitHub Desktop.
Latex command for rendering the peace symbol, a.k.a the hippie sign, using Tikz
\newcommand*{\singleton}{%
\tikz[x=1em, y=1em, baseline=(peacesymbol.base), line width=0.098em]{%
\node (peacesymbol) {\quad};
\begin{scope}[shift={(0,-0.25)}]
\draw (0.5,0.5) circle (0.5);
\draw (0.5,0) -- (0.5,1);
\draw (0.15,0.15) -- (0.5,0.50);
\draw (0.85,0.15) -- (0.5,0.50);
\end{scope}
}}
@aterga
Copy link
Author

aterga commented May 30, 2021

Sample render: Screenshot 2021-05-30 at 21 34 39

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment