2

I want to create various plots with tikz package. I don't want to have the code for the plots in my main tex document because it's pretty messy. Is there a way to keep the tex code to different documents and just import the generated plots?

salvador
  • 121
  • Welcome to TeX.SX! In addition to the \input suggestion below, the standalone package/class may be of interest, see http://tex.stackexchange.com/a/51761/586 – Torbjørn T. Mar 17 '14 at 16:31

1 Answers1

2

Check out the include and input commands in order to use code from another .tex file in your main document. When should I use \input vs. \include? is useful for choosing which one is best suited for your task.

Argo
  • 1,724