Skip to content

Instantly share code, notes, and snippets.

@adl
adl / tikzmagic.py
Last active August 29, 2015 14:17 — forked from trcook/tikzmagic.py
# -*- coding: utf-8 -*-
"""
=========
tikzmagic
=========
Magics for generating figures with TikZ.
.. note::
@adl
adl / extinction.2.pm
Last active August 29, 2015 14:18
spin-example
#define ap0 (leaders_num==1)
byte leaders_num=0;
chan ch_0_in =[0] of {int};
chan ch_0_out =[0] of {int};
chan ch_1_in =[0] of {int};
chan ch_1_out =[0] of {int};
chan ch_2_in =[0] of {int};
chan ch_2_out =[0] of {int};
@adl
adl / hoa.tex
Last active August 29, 2015 14:25
hoa logo
\documentclass{standalone}
\usepackage{tikz}
\usetikzlibrary{arrows.meta}
\usetikzlibrary{bending}
\usetikzlibrary{calc}
\begin{document}
\newif\ificon
\iconfalse % <- set to true if you want to output the icon