Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@mathuin
Last active October 5, 2016 00:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mathuin/d8cf479025ace003bc6d05e237ff2582 to your computer and use it in GitHub Desktop.
Save mathuin/d8cf479025ace003bc6d05e237ff2582 to your computer and use it in GitHub Desktop.
Updated version: code now works, added some whitespace to make some things more obvious.
\documentclass{minimal}
\usepackage{filecontents}
\begin{filecontents}{thesis.tex}
\documentclass{book}
\input{preamble}
\begin{document}
\chapter{Lit Review}
\input{litreview}%
\end{document}
\end{filecontents}
\begin{filecontents}{preamble.tex}
\usepackage[english]{babel} % just for the MWE
\usepackage{blindtext} % just for the MWE
\usepackage{standalone}
\usepackage{tikz}
\usetikzlibrary{mindmap}
\end{filecontents}
\begin{filecontents}{litreview.tex}
\documentclass[preview]{standalone}
\input{preamble}
\begin{document}
\blindtext
\begin{figure}
\input{varieties}%
\caption{Caption}
\end{figure}
\blindtext
\end{document}
\end{filecontents}
\begin{filecontents}{varieties.tex}
\documentclass[tikz]{standalone}
\input{preamble}
\begin{document}
\tikz[mindmap,concept color=red,text=black,grow cyclic]
\node[concept] {Traditional}; % [clockwise from=0]
\end{document}
\end{filecontents}
\begin{document}
Placeholder content.
\end{document}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment