Created
March 14, 2013 01:08
-
-
Save istitov/5157988 to your computer and use it in GitHub Desktop.
Example for the standalone package.
For http://istitov.wordpress.com/2013/03/14/standalone-latex/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass[tikz]{standalone} | |
\begin{document} | |
\begin{tikzpicture} | |
\draw (0,0) circle (0.4cm); | |
\end{tikzpicture} | |
\end{document} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass[a4paper,10pt]{scrartcl} | |
\usepackage{tikz} %needed to satisfy build dependencies of the included graph | |
\usepackage{standalone} | |
\begin{document} | |
\begin{figure}[p!] | |
\input{my_image} %inputting the picture itself | |
\caption{That's it!} | |
\label{fig:standalone} | |
\end{figure} | |
\end{document} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment