\documentclass{article}
\usepackage{tikzit}
\input{sample.tikzstyles}


\begin{document}

A centered tikz picture:
\ctikzfig{fig}

A tikz picture as part of mathematics:
\begin{equation}
\tikzfig{fig} \ =\ 
\tikzfig{fig}
\end{equation}

\end{document}

