quantomatic icon indicating copy to clipboard operation
quantomatic copied to clipboard

Add option to export tikz with boilerplate

Open akissinger opened this issue 11 years ago • 0 comments

Export enough latex that the user can compile right away, e.g.:

\documentclass{article}
\usepackage{tikz}
\usepackage{tikzfig}
\usepackage[landscape]{geometry}
\usepackage{fullpage}

\tikzstyle{every picture}=[scale=0.5]
\tikzstyle{simple}=[]
\tikzstyle{blue}=[draw=blue]
\tikzstyle{wire}=[minimum height=2mm,minimum width=2mm,rectangle,fill=gray]
\tikzstyle{bbox}=[minimum height=2mm,minimum width=2mm,rectangle,fill=blue]
\tikzstyle{node}=[font=\tiny,minimum width=4mm,circle,inner sep=0mm]
\tikzstyle{rn}=[node,fill=red]
\tikzstyle{gn}=[node,fill=green]
\tikzstyle{none}=[inner sep=0mm]

\begin{document}

\tikzfig{test_derive}

\end{document}

tikzfig.sty should also be included, and the actual tikz files should be placed in the figures/ sub-directory.

akissinger avatar May 17 '14 14:05 akissinger