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

4
votes
1answer
26 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
84 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
68 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
48 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 ...
3
votes
1answer
59 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
0answers
26 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} ...
1
vote
1answer
45 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
62 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
107 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
66 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
159 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 ...
3
votes
2answers
135 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
48 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 ...
6
votes
2answers
100 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} ...
2
votes
1answer
92 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. ...
5
votes
0answers
188 views

best practice to include (standalone precompiled) graphics

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 graphics? Including ...
13
votes
1answer
275 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 ...
2
votes
1answer
63 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 ...
1
vote
1answer
124 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
274 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) -- ...
1
vote
1answer
91 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
62 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
65 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 ...
1
vote
0answers
21 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. ...
10
votes
2answers
158 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 ...
2
votes
1answer
42 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
111 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} ...
9
votes
1answer
186 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 ...
9
votes
2answers
137 views

I'm using the standalone package. How can I get regular paragraph breaks?

I'm using the standalone class to render images for individual math problems that will be displayed in an app, so the cropping functionality is essential. However, the package seems to destroy ...
3
votes
1answer
131 views

How to align standalone TikZ pictures horizontally?

Today I discovered the existence of this wonderful package called "standalone". I really love it because I have a lot of pictures in Tikz code and some of them have a very long code and it's very ...
1
vote
1answer
72 views

How to check if my child document is being loaded by parent document when using standalone?

When I use standalone package to load a child .tex file into a main.tex file, then parts of the title and table of content heading Contents still shows up in the main document. The problem is that I ...
4
votes
2answers
105 views

Table with caption too wide for standalone package document

I am trying to output a wide table with a caption using the standalone package. When I do the following without a caption, I get nice output: \documentclass{standalone} \usepackage{caption} ...
4
votes
1answer
107 views

TikZ, standalone and circuite.ee.IEC, strange bounding box

I'm using standalone to create PDF output of a tikzpicture. But I run into a problem when I use the circuit library. Here's a mwe that shows that simply adding the line ...
2
votes
1answer
156 views

Why does standalone not detect the TikZ crop correctly?

This small example \documentclass{standalone} \usepackage{xltxtra,textcomp,graphicx,color,tikz} \usepackage[absolute,overlay]{textpos} \begin{document} \begin{tikzpicture} \clip (0,0) rectangle ...
3
votes
1answer
71 views

Using pst-barcode, fontspec and standalone at the same time?

I am trying to generate a series of labels using TikZ and the standalone document class. Normally, this works fine, but this time I want to use a system font and to include a barcode. Below is an ...
3
votes
0answers
176 views

What does “File stack underflow!” mean?

I am getting two times the error: Package currfile Warning: File stack underflow! on input line xxx. I am not explicitly loading currfile, but standalone seems to do. I am getting this warning ...
2
votes
1answer
72 views

Table too wide for page in standalone file?

My goal is to create a standalone TeX file containing tabulated figures. No matter what value I set for image width, the resulting table is always too wide for the page. Here is a MWE: ...
3
votes
0answers
169 views

standalone problem [closed]

I need to get some equations in .png. Looking for the solution on the web I found that the standalone documentclass should do the job using the convert option. My code is the following: ...
5
votes
1answer
99 views

standalone not working properly with PStricks?

I'm using Vaucanson-G to render automata (I also use TikZ, but here, I want Vaucanson-G). Because it uses PStricks although I want to compile with pdflatex, I have put all my automata in separated ...
5
votes
1answer
127 views

Newpage between tikzpictures

I'm trying to draw in tikz. The aim is to create a document with a first page with the title and other infos. Each of the other page is a wiremap a of type of cable. I use python to generate the tex ...
1
vote
1answer
220 views

ConTeXt Standalone installation problem under Debian GNU/Linux

I am trying to install ConTexT Standalone under LMDE, a Debian GNU/Linux operating system. I followed the system-wide installation instructions step-by-step without any problem. Except for the final ...
1
vote
0answers
268 views

A question on tikz/pgf externalization, standalone, and includeonly for compiling large document

I have a goal to build an efficient compiling environment to build large documents. The requirements are these: Use tikz/pgf to draw many figures; Use \includeonly to build only a portion of the ...
3
votes
1answer
71 views

How to get a tight output when using pst-tree package and standalone class?

\documentclass[preview,border=3pt,varwidth]{standalone} \usepackage{pst-tree} \psset{levelsep=2,treesep=-2,angleA=90,angleB=-90,arm=12pt} \def\psedge#1#2{\ncangle{#2}{#1}} \begin{document} ...
5
votes
1answer
101 views

How to use subcaption with standalone

I tried to \input in my main document file a standalone section, which uses the subcaption package. The standalone file compiles just fine. But when I try to compile the main document I get an ...
6
votes
1answer
101 views

Generate an image with minimum space around it

I'm using this solution to generate images: \ifdefined\formula \else \def\formula{E = m c^2} \fi \documentclass[border=2pt]{standalone} \usepackage{amsmath} \usepackage{varwidth} \begin{document} ...
5
votes
1answer
242 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} ...
6
votes
1answer
226 views

What's causing extra white space to the left of my standalone TikZ image?

I have extra whitespace to the left of a TikZ image produced in a standalone environment: I don't know why this is occurring. I thought perhaps the left projector bounding box, but the right ...
3
votes
1answer
157 views

I am having an issue with an included standalone TikZ picture

I am not sure if code will do much good here. I have included many standalone TikZ pictures but this pictures is the only one to act differently. Here is the picture in compiled from the standalone ...
6
votes
1answer
648 views

How do I include and scale on-image-TikZ-drawings made by the standalone class?

I am building several on image TikZ drawings. In detail: I am having PDFs of technical drawings, I crop the white margins, overlay nodes and some arrows and compile them. The result should give me a ...
3
votes
1answer
410 views

TikZ: compiling a standalone picture

I am not sure if this is recreate-able through a MWE. Whenever I compile a standalone TikZ picture, it compiles all my standalone figures in the same folder. I am using Ubuntu 13.04 and Emacs with ...