The standalone bundle allows users to easily place picture environments or other material in own source files and compile these on their own or as part of a main document

learn more… | top users | synonyms

3
votes
3answers
930 views

Conversion problem using standalone and imagemagick

I'm trying to convert a table to png format using Imagemagick \documentclass[12pt,a4paper,border=8pt,convert=true]{standalone} \usepackage{booktabs} \usepackage{caption} \usepackage{siunitx} ...
4
votes
2answers
46 views

How to avoid copied code with the combination pgfplots/standalone?

I have a series of pgfplots-based figures that I compile to pdf images using the standalone package. I currently have one .tex-file per figure. The problem with this is that since it might just be the ...
6
votes
2answers
172 views

Weird blank space when drawing standalone tikz

I am drawing an tikz picture using standalone class, but there is weird blank space on the left side. My code is \documentclass{standalone} \usepackage{kerkis} \usepackage{tikz} \begin{document} ...
0
votes
0answers
21 views

Path problem with included file inside of a standalone file: part II

Someone asked an almost identical question before, here. However, the excellent answer(s) provided do not work if the standalone file is going to be built separately (with option mode=build or ...
1
vote
2answers
163 views

Placing text, includegraphics or a table above and below Tikz picture in standalone

The documents I am working with produce very large Tikz pictures (using Forest package) that span multiple horizontal and vertical pages in PDF. These pictures need to have titles, compbined of text, ...
0
votes
1answer
35 views

Bad math environment delimiter in standalone class [duplicate]

Given a file master.tex: \documentclass{article} \usepackage{standalone} \begin{document} \input{sub} \end{document} and a file sub.tex: \documentclass{standalone} \begin{document} \[ 0 ...
3
votes
1answer
53 views

\newcommands in the \standalone file not recognized in the main file

Few \newcommands defined in my standalone .tex file containing tikz figure is not recognized in the main beamer .tex file. Please point out what extra lines should I write to make it work. Here is ...
3
votes
0answers
30 views

Compilation fails with eqnarray after reinstalling Miktex [duplicate]

I have a script that extracts math formulae from a tex file, produces a small standalone file for each formula and compiles it with pdflatex. The standalone pdf files are then used to produce png ...
1
vote
0answers
76 views

Combining beamer, tikz, externalize and standalone

I've read a bunch of questions and answers on these topics as well as the documentation of the external library for tikz. I suspect I fundamentally misunderstand what I'm doing. I have a mindmap ...
1
vote
1answer
81 views

Compilation error after texlive update

I used to make animated pictures using pstricks and the beamer overlay syntax (eg. using \only<2>{<some pstricks code>}) with the standalone class. Here a MWE which did the work: ...
5
votes
3answers
64 views

Compilation fail standalone & pst-solides3d

I've got a PStricks schema made with both pst-solides3d and pst-3dplot, put (thanks to the standalone package) apart in a different file. The schema, when compiled itself, doesn't make any problems, ...
6
votes
0answers
355 views

best practice to include (standalone precompiled) graphics

General understanding I know that several people have asked about how to include plots and graphics (created by tikz and pstricks) into a latex document. What is the best way to include Matlab ...
4
votes
1answer
108 views

Can we use enumerate with standalone class?

Can we use \enumerate with \standalone class? Isn't enumerate basic LaTeX? The minimal example, which does not compile with standalone but it does with article, is: \documentclass{standalone} ...
9
votes
2answers
213 views

Why do I get white space at the bottom of my diagram?

I have this code : \documentclass[tikz}]{standalone} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{lmodern} \usepackage[frenchb]{babel} \usepackage{tikz} ...
1
vote
0answers
62 views

Pgfplots working as standalone but not in main document

Update 1 The data file can be downloaded here> 11855-4_RT.dat Original: In my main document I have been including a pgftable as: \SSTeTableTypeT %contains \pgfplotstableset - included in the end of ...
4
votes
1answer
95 views

Why does this Tikz tower look OK standalone but not when included as a figure in article?

I built two towers in Tikz. Because the document they will be included in takes a while to compile and because my Tikz skills are somewhat limited (so I need to compile often to check if I've done ...
3
votes
2answers
75 views

if i draw something using stand alone, how do i label the drawing (angles, sides,coordinates, etc.)

If I draw a triangle in stand alone, how do I label my drawing? I am able to draw my picture but I cant label any of the angles or sides.
4
votes
1answer
51 views

Problem with includestandalone of a tikz graphics

From my post (Circuitikz: arrows on the path and changing directions of arrow with variable resistor), Gonzalo Medina helped correct a variable resistor. However, when I use include standalone in my ...
2
votes
2answers
134 views

How to make table floats work with preview/standalone environment?

Couldn't make a table float work inside the preview environment: \documentclass[fontsize=16pt]{scrartcl} \usepackage[active,tightpage]{preview} \setlength{\PreviewBorder}{25pt} \begin{document} ...
3
votes
1answer
82 views

How to crop my page to the size of tikz graph

I want to crop the page to exactly fit the tikz graph in it. When i used standalone document class, all the page content became on one line. Here is my code \documentclass{standalone} ...
1
vote
0answers
72 views

pgfplot same size font in figures and same size figures

Hi I've created figures with standalone and pgfplot package. The figures output size are different to one another but more importantly the font size are different. I would like all figures to be of ...
7
votes
1answer
512 views

Including pictures in subdirectories with standalone package

After using standalone package extensively, I ran into one problem, which I cannot solve. The problem is that I need to include a TikZ picture in main files subdirectory. What is more I want to build ...
1
vote
0answers
30 views

Beamer Frame is fine in Standalone class, but header missing when main is compiled

I am able to compile the subfile perfectly well, but the main file deletes the header of the frame. Here is the standalone code: \documentclass[beamer]{standalone} \begin{document} ...
3
votes
1answer
76 views

How to generate a series of \paused stand-alone TikZ images?

I've built a beamer presentation in which a TikZ graph is built up sequentially using \pause. Example: \documentclass{beamer} \usepackage{tikz} \begin{document} \begin{frame} ...
1
vote
1answer
70 views

\includestandalone does not create a pdf

Somehow \includestandalone from the standalone package does not create a pdf with this main file: \documentclass{article} \usepackage{standalone} \usepackage{tikz} \begin{document} ...
1
vote
0answers
78 views

Can the standalone document type be made compatible with tikzexternalize?

Code: \documentclass[tikz]{standalone} \usetikzlibrary{external} \tikzexternalize \begin{document} \begin{tikzpicture} \node[circle,draw] at (2, 3) {}; \end{tikzpicture} \begin{tikzpicture} ...
3
votes
1answer
171 views

Consistent font size when using standalone TikZ pictures in a beamer presentation

I want to include a TikZ picture in a beamer presentation using the standalone package and I want a consistant size of the text in the picture and the rest of the frame. \documentclass{beamer} ...
2
votes
2answers
96 views

PSTricks with standalone class and newpage or pagebreak

Can I use page breaks with the standalone class with PSTricks? Are there limitations? Or is there some mistake in my code? I have been nearly successful in running the code below with PSTricks and ...
6
votes
4answers
188 views

Standalone package, preserve preamble

Is it in a way possible to preserve parts of a preamble of a standalone document? For example when I have a savebox or a macro inside it and don't want to repeat it in the preamble of my main ...
21
votes
1answer
362 views

How can I make a standalone document loading siunitx work?

I've got a standalone document that uses siunitx: % subdocument.tex \documentclass{standalone} \usepackage{siunitx} \begin{document} \SI{10}{\kilo\newton} \end{document} I'd like to include this ...
2
votes
1answer
129 views

Why doesn't standalone accept my build={} package option?

I frequently use standalone to incorporate tikz images in my documents. I have some really large tikz plots which I would like to include in my beamer presentation, but I am getting "Tex capacity ...
3
votes
2answers
317 views

\AtBeginDocument and \AtEndDocument for standalone

Using the commands \AtBeginDocument and \AtEndDocument with the standalone documentclass yields unexpected effects. I have the following three files. % main.tex \documentclass{scrartcl} ...
2
votes
1answer
64 views

How to \maketitle in standalone

\maketitle does not seem to play very well with the standalone class. This document \documentclass{standalone} \title{Standalone does not like titles} \author{Me} \begin{document} \maketitle ...
1
vote
2answers
735 views

How create a paper of x,y dimensions size?

How can I create a paper of A1 size on latex? Or a x,y (in centimeters) dimensions paper? In \documentclass looks like there isn't this option. I need use the \documentclass{standalone} package too ...
6
votes
2answers
118 views

Problems to get two graphics in different pages with standalone

In the following MWE I get a single page with the two graphics within: \documentclass[multi]{standalone} \standaloneenv{pspicture} \usepackage[dvipsnames, svgnames, prologue]{xcolor} ...
13
votes
1answer
283 views

TikZ 3.0.0 (release) produces strange shadings if used with XeLaTeX and standalone

I would like to use shadings in my TikZ graphics together with the standalone package and XeLaTeX, but for some reason it is broken if I try with the new 3.0.0 release (download here). Any other ...
3
votes
1answer
155 views

Accessing colors defined by a beamer color theme for a standalone tikzpicture

This is a follow-up to this question. I use the standalone documentclass to externalize my tikzpictures. Now, I want to include it in a beamer presentation with its color theme set to, say, default. ...
2
votes
1answer
89 views

Can the standalone package work with sections?

While I was reading a thread on LaTeX workflows, I came across a comment in http://tex.stackexchange.com/a/22433/32782 which seemed to indicate that there are more than one person who can/could use ...
11
votes
2answers
195 views

Path problem with included file inside of a standalone file

How can I get the current path inside an included standalone file? 1. Theoretical Example: let's assume the following directory structure: main.tex img/ |-standalonefile.tex |-data ...
1
vote
1answer
238 views

How to center a tikz figure in a beamer frame

I was told to use the standalone package, which I use, but it does not seem to center the figure. What options to do I miss? Concretely, here is the main file: \documentclass{beamer} ...
5
votes
2answers
458 views

How do I use QTikZ on a standalone file

My file is quite simple, e.g., \documentclass{article} \usepackage[landscape]{geometry} \usepackage{tikz} \begin{document} \begin{tikzpicture} \draw (-1.5,0) -- (1.5,0); \draw (0,-1.5) -- ...
2
votes
1answer
140 views

How to scale a tikzpicture in an external file for a beamer slide?

I have this tikz diagram in a separate document. I use the standalone package to include it into my presentation. However, I experience several problems: Setting the included picture size Scaling ...
4
votes
1answer
84 views

How to include a multipage table from an external file

I usually save my tables as standalone PDFs, generated by compiling a standalone document and then include them in the main file via \includegraphics{pdf.name} However, I now have a two-pages table ...
2
votes
0answers
76 views

How to export beamer frames to standalone subfiles_

I try to split a large beamer presentation with the standalone suite. Herein, I do not want to split out parts of slides, for which I understand the beamer class option with the standaloneframe would ...
5
votes
1answer
326 views

Problems with \pgfplotstableread and relative paths

I have this folder structure in my project: main.tex mystyle.sty tex mytex.tex img myimg.tex dat mydat.dat And the following files: main.tex: \documentclass{scrartcl} \usepackage{mystyle} ...
1
vote
0answers
22 views

standalone: subprambles inverse

When splitting a document with the standalone class and package, the option subpreambles causes the main document to include all the preambles of the sub-files. The other way around is more difficult. ...
9
votes
1answer
212 views

Standalone package advanced conversion options inside LaTeX source file

I want to use the conversion options of the standalone package to produce a PNG image file from a LaTeX source file. The package documentation lists two tables with options for conversion. The normal ...
7
votes
1answer
161 views

How to remove the unwanted space on the left side of the following gather*?

\documentclass[preview,border=12pt,varwidth]{standalone} \usepackage{amsmath} \begin{document} \abovedisplayskip=0pt\relax \begin{gather*} 6x^2-30x+36=0\\ 6(x^2-5x+6)=0\\ 6(x-2)(x-3)=0\\ x-2=0 \quad ...
2
votes
1answer
50 views

How to remove the white space on the left of gather* when using standalone class? [duplicate]

\documentclass[preview,border=12pt,varwidth]{standalone}% change it back to your own document class \usepackage{amsmath} \begin{document} \abovedisplayskip=0pt\relax% remove this line in your ...
2
votes
1answer
174 views

! Package pgfkeys Error | compiling a standalone picture as \includestandalone{fig}

I have two tikz pictures in external files (fig1.tex and fig2.tex): fig1.tex \documentclass[a4paper,class=minimal,border=0pt]{standalone} \usepackage{tikz} \usetikzlibrary{plotmarks} ...