Linked Questions

1 vote
0 answers
144 views

Save and load TikZ graphs [duplicate]

Possible Duplicate: Outsourcing TikZ code Pardon the question, I'm an undergrad using TikZ and LaTeX to write-up my final term report. Is there a way to write the code for a tikzpicture in one ...
user avatar
40 votes
3 answers
77k views

How to create and include .tikz files in your manuscript?

Recently, I learnt about the matlab code matlab2tikz. The output of this code is a .tikz file that can be used, I guess, alongside standard figure packages with a simple line \input{mysphere.tikz} in ...
Shashank Sawant's user avatar
17 votes
1 answer
3k views

Compiling a main document with many TikZ subfiles efficiently

What would be the most efficient way to compile a document of the article class with many TikZ subfiles? In the main document, I have added \usepackage{standalone} and then \includestandalone for the ...
dustin's user avatar
  • 18.7k
6 votes
2 answers
831 views

Making a series of child TeX files and including them as "chapters" in a parent file?

I want to build a big PDF of multiple TeX files which will all have the same preamble. They'll have \newcommand and \renewcommand as well as \usepackage and \documentclass because each file should be ...
user1532974's user avatar
4 votes
1 answer
1k views

Outsourcing Tikz and relative paths

Summary: How do I get includegraphics to be relative to the current file, when using tikzscale? Details Similar to pmav I like to have a .tikz file which contains only the tikzpicture environment. (...
ted's user avatar
  • 3,387
3 votes
0 answers
1k views

subimport issues: tikz/addplot

I am using subimport to include .tex chunks from different folders. Everything except my tikz figures seems to work fine. Here is a minimum working example: organization: main.tex > Folder1 >...
gajan's user avatar
  • 31
4 votes
1 answer
288 views

including logos with different colors

I would like to set up a package with some logos for titles and fancy headers and the like. The key problem that I have at this point is that it should be possible to get the logo in different colors. ...
Mr Tsjolder from codidact's user avatar
5 votes
1 answer
332 views

Is there a good way to subdivide your tex document into subdocuments?

Like classes in java (if that means anything to anyone)? Can you have a document which handles all the graphing, another which handles the figures where you can call parts when you need them in your ...
Magpie's user avatar
  • 2,294
0 votes
1 answer
403 views

How to automatically compile my standalone files before inserting them?

My document contains quite a lot of images generated by tikz, forest, bussproofs, etc., so compiling takes way too much time. It would be much better if I could compile my images to PDFs first and ...
Jeroen's user avatar
  • 4,511
1 vote
2 answers
318 views

About saving a drawing as a `tikz` file

This answer describes how to include a tikz file in your document, whether it is an article, a book or a beamer presentation. It works fine, up until the point that you call for some other libraries. ...
tush's user avatar
  • 1,135
1 vote
1 answer
117 views

standalone: Outsourcing TikZ while relaxing predefined lengths

I have one main document and two standalone files of tikz pics as given in this answer. I need to have \newlength in the main document and all the standalone files in order to be able to run any ...
Diaa's user avatar
  • 9,649
2 votes
0 answers
132 views

Conditional compilation of a graph

Is there a way to avoid compiling a piece of TiKz code \begin{tikzpicture} ..... a heavy job here that takes 30 seconds to process \end{tikzpicture} so that, if we do not make changes on the ...
Herman Jaramillo's user avatar
0 votes
1 answer
40 views

Referencing pgfplots figure

If i have a pgfplots figure in some place in my file, how can i reference it afterwards? \begin{tikzpicture} \begin{loglogaxis}[legend pos=outer north east, xlabel={\#FLOPS}, ylabel={time in $s$}]...
Clebo Sevic's user avatar