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
1answer
266 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
92 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
216 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
82 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
211 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
109 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
163 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
246 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
299 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
77 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
113 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
108 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
328 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
291 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
173 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
904 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
468 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 ...
11
votes
1answer
743 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 ...
4
votes
1answer
122 views

Problem with option border of class standalone

I tested a MWE given in question Standalone producing cropped / truncated formulae. Following the documentation (page 9) I used the class option border={left right bottom top} with left=right=top=0pt ...
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 ...
5
votes
1answer
149 views

Legend position in standalone pgfplot moves when plot is used in document

The following mwe shows that the legend position in a pgfplot changes when the standalone version is scaled in a document that includes it. Standalone: From driver: (I changed the sizes to ...
5
votes
1answer
190 views

Including .tex files that need a different style file than the main text

EDIT: Substantial edit of the original version has been done to clarify the question. Background I've written two small python package manuals with sphinx (http://sphinx-doc.org/) a program that ...
4
votes
1answer
194 views

Shifted hyperlink with includestandalone

I have a problem with includestandalone and a tikz-grafic with a hyperref. My MWE: I define a image as picture.tex: %Save as picture.tex \documentclass[tikz]{standalone} \usepackage{hyperref} ...
21
votes
1answer
363 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 ...
4
votes
1answer
105 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 ...
5
votes
3answers
218 views

A correct bounding box for a standalone logo

Writing \documentclass{standalone} \usepackage{varwidth} \begin{document} \begin{varwidth}{\linewidth} {\em line 1} {\em line 2} \end{varwidth} \end{document} produces an incorrect bounding ...
1
vote
0answers
69 views

Standalone multiline logo [duplicate]

I would like to produce through pdflatex an image that shrink-wraps around a logo. Here is a skeleton file. \documentclass{standalone} \begin{document} line 1 line 2 \end{document} But this ...
0
votes
0answers
269 views

Figure in standalone documentclass [duplicate]

I am using the document class:\documentclass{standalone}. However, I am unable to use the commands \begin{figure} and \end{figure}. What package do I need to include to be able to use the commands ...
0
votes
1answer
125 views

How to prevent unwanted cropping in a tikz picture? [duplicate]

I am trying to make a series of engineering drawings with TikZ for an industrial catalogue. I would like to get only the drawings. The following MWE crops the bottom of the picture, and I would like ...
1
vote
2answers
85 views

O does not fit standalone class [duplicate]

Why are the top and bottom of the O cut off when I use the standalone class without any larger symbols? \documentclass{standalone}% \begin{document}% O% \end{document}%
5
votes
2answers
93 views

Empty space in standalone document with textopo

The question is related to similar issues with standalone package: lots of empty space is added in addition to the desired figure. However, this time no empty paragraphs in source code. My MWE: ...
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 ...
6
votes
1answer
115 views

How to remove the white space on the top of the following table?

How to remove the white space on the top of the following table? \documentclass[preview,border=0pt,varwidth]{standalone} \usepackage[table]{xcolor} \usepackage{array} \usepackage{longtable} ...
1
vote
1answer
91 views

Indentation and page colors with standalone

Question I want to create a page whose size is cropped to the size of the content on the page. I also want to be able to have indented paragraphs and to set the color of text and background. Is there ...
3
votes
2answers
177 views

Difference with standalone and preview? [duplicate]

I have a table, but for cleanliness (I'll use the figure in a paper and in talks), I'd like to compile to a single PDF and include it with includegraphics instead of having the table rendered within ...
4
votes
1answer
217 views

Text decoration is trimmed off with standalone package

I am decorating an arc with text as shown in this MWE using the standalone class: \documentclass[10pt,class=article]{standalone} \usepackage{tikz} \usetikzlibrary{decorations.text} ...
7
votes
1answer
516 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 ...
4
votes
2answers
542 views

using standalone with algorithmicx or algorithm2e

I am trying to compile a standalone file containing pseudocode created with the algorithmicx package. According to algorithmicx crashes standalone it should work with the preview option set for ...
5
votes
1answer
199 views

How to eliminate spacing in tikzpicture?

It seems that, when using Tikz, nodes and/or the tikzpicture environment add space around a drawing. An example is shown in the following MWE, where a simple square is drawn three times. First it is ...
2
votes
1answer
150 views

Standalone - \newlabel being written to .log instead of .aux

In my compiled document, which consists of many sub-documents using standalone, I have one sub-document in which the Figure references are undefined - they show up as ??. No MWE I've tried can ...
2
votes
0answers
168 views

Parallel make with standalone package

This question is a LaTeX question, although it might actually be resolved by changing the build procedure of the document instead of the document itself. I have a document that includes a bunch of ...
2
votes
1answer
202 views

Trouble setting background color using Standalone's convert command

I'm creating PNGs directly from LaTeX using the xelatex, the standalone document class and the convert option of standalone. I have ImageMagick installed, and it all works fine. The only issue is ...
4
votes
1answer
203 views

standalonetrue / standalonefalse?

You can use \standalonefalse to specify the parent document for which all sub-documents should be considered sub-documents, I think. Is it possible to re-enable standalone with something like ...
4
votes
2answers
115 views

Problem with content location with standalone package

I'm trying to create multiple pages with varying page heights using the standalone package. When I try to run my file (using XeLaTeX on a mac) the content gets shifted up and to the left so that it's ...
4
votes
1answer
209 views

Including figures relative to the path of the current document?

I am writing a paper simultaneously with my thesis; the paper will be included verbatim in the thesis (or at least, parts of it will). I am looking for a solution that allows me to update my paper ...
2
votes
3answers
161 views

Why do I have to put fillcolor setting inside preview environment?

It seems to me this problem related to PSTricks so I have to modify the previous question. \psset{fillstyle=solid,linecolor=red} that I define globally outside the preview environment can affect the ...
2
votes
1answer
351 views

LaTeX - Standalone - figure reference in nested subfile error

for a few days I've been stacked with a problem which no manual or documentation resolved, please help: I have my 'main.tex' report document file, where I use the 'standalone' package to load the ...
5
votes
1answer
501 views

Problem when using \nocite together with the standalone package

Given: \documentclass{minimal} \usepackage{standalone} \begin{document} \input{inclusion} \nocite{*} \bibliographystyle{plain} \bibliography{test} \end{document} With: \documentclass{minimal} ...
1
vote
0answers
280 views

standalone pgfplot with extra include in subdirectory -> no output [closed]

I am trying to generate a pgfplot with data in a textfile as a standalone document. I am using the 1.2 version of standalone from https://bitbucket.org/martin_scharrer/standalone/downloads because it ...
2
votes
0answers
51 views

Problem in cropping the document in standalone package [duplicate]

I am trying to use standalone package along with tikzpicture. The resulting document is not cropped properly although I used the class option of crop=true. Could someone help me? Here is the code I ...