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

2
votes
1answer
242 views

Cannot set pixel density in standalone package for PNG output

I want to output a PNG image with the standalone package. Here is a minimal working example: \documentclass[preview, convert={density=300}]{standalone} \begin{document} Hello world ...
9
votes
3answers
264 views

Why is there extra whitespace to the left of this standalone document when using siunitx?

I'm using the standalone document class. Here is a minimal working example: \documentclass{standalone} \usepackage[siunitx]{circuitikz} \begin{document} Hello world \end{document} The problem ...
6
votes
1answer
96 views

Without playing with “border” option of “standalone”, how to remove the top white space?

Without playing with border option of standalone, how to remove the top white space? \documentclass[preview]{standalone} \usepackage{amsmath} \begin{document} \abovedisplayskip=0pt \[ F(V, T) = ...
3
votes
1answer
1k views

Manually install packages from dtx file on ubuntu [duplicate]

Possible Duplicate: How do I install an individual package on a Linux system? My TeXLive doesn't have the standalone package. I read part of the documentation, the PDF file from the ...
6
votes
1answer
219 views

tikz picture inside a tabular environment

Why does the following code fail to compile? \documentclass[tikz]{standalone} \begin{document} \tikzset{every path/.style={line width=0.66em}} \begin{tabular}{ll} $<$ 1 hour & \tikz \draw ...
19
votes
3answers
800 views

How to make a smarter cropping with standalone or preview packages?

The arrow tail at the bottom left corner is not properly cropped. \documentclass[tikz,border=0pt]{standalone} \usepackage{tikz} \begin{document} \begin{tikzpicture}[scale=3,line width=3pt] ...
9
votes
0answers
364 views

Missing \endgroup error for Beamer standalone with subpreambles option [closed]

I am trying to use Martin Scharrer's nifty standalone package to put a Beamer animation into a standalone file. Here is a minimal example that demonstrates the error I am running into. The subfile, ...
0
votes
0answers
46 views

Standalone with \begin{figure} gives error [duplicate]

Possible Duplicate: Is it possible to use the figure environment with the standalone package? After the suggested answer here. I've gone ahead to try and implement that for my own project. ...
4
votes
1answer
222 views

Corrupted TeXLive2012 installation? (Option clash for currfile)

Background: As per Manually copy older TeXLive2011 from one Mac to a new Mac, I attempted to get TeXLive2010 and TeXLive2011 (with the latest libraries) on a newer mac. The older releases are not ...
4
votes
1answer
218 views

Is standalone compatible with ignorenonframetext beamer's option?

Until now I've been using standalone to produce cropped figures which are included with \includegraphics command in beamer presentations and articles (beamerarticle) compiled from same source file. ...
3
votes
1answer
591 views

preview and standalone crop too much of tikz picture

When I try to fit the page size to my tikz image, too much is cropped. No matter whether I use \documentclass{standalone}, \documentclass[preview=true]{standalone} or ...
1
vote
0answers
96 views

Standalone package errors when creating table [duplicate]

Possible Duplicate: Avoid paragraph due to trailing empty line in standalone file How to make a standalone document with one equation? Below is a MWE of a table that keeps outputting ...
6
votes
1answer
851 views

\usepackage{enumitem} produces “Environment description undefined” error

If I run pdflatex on the following: \documentclass[class=minimal,border=0pt]{standalone} \usepackage{tikz} \usepackage{varwidth} \usepackage{upquote} % \usepackage{enumitem} ...
16
votes
2answers
2k views

The perfect pdfcrop

I need a "perfect" pdfcrop, one that crops exactly to the edge of the figure or text for alignment issues as a graphic in other programs. I'm aware of the standalone package, and have gone through ...
7
votes
1answer
243 views

algorithmicx crashes standalone

I am creating SVG files from different stuff from my LaTeX document. For this, I am using the standalone package followed by pdf2svg. This compiles: \documentclass{article} \usepackage{algorithmicx} ...
8
votes
2answers
497 views

Build cropped PDF image from LaTeX

I have created an image with pgfplots in a separate file and want to add the PDF that is built from that as an image in my report. The problem is that the image PDF created is a complete A4 format. ...
7
votes
1answer
520 views

How to use the standalone package in beamer?

I have a beamer presentation that shows a lot of graphs (in the sense of graph theory) and it takes a lot to compile. I think that the standalone package might help me but I cannot see how. Let us say ...
6
votes
1answer
277 views

Is it possible to place standalone graphics in subdirectories

When using standalone sub-directories do not seem to work properly. While \documentclass{article} \usepackage[subpreambles,mode=buildnew]{standalone} %standalone tikz \begin{document} ...
12
votes
3answers
703 views

Standalone producing cropped / truncated formulae

I'm using standalone to produce, well, standalone formulae. However, sometimes they end up being cropped too close and parts get left off. I'm including a sample .tex file and output. What can I do to ...
14
votes
3answers
1k views

How to make a standalone document with one equation?

I was surprised to find that standalone package can not compile a document with an equation: \documentclass{standalone} \begin{document} \begin{equation} % not working! F(V, T) = E(V) + D(T) ...
3
votes
1answer
146 views

Environment not working inside \multido using standalone document class

I have the following code \documentclass[multi={image},crop,ignorerest]{standalone}% \usepackage{multido} \begin{document} \multido{\iframe=1+1}{2}{ \begin{image} \iframe \end{image} } \end{document} ...
4
votes
1answer
397 views

Using the standalone package with a FMT file

I am trying to use TeX's ability to dump a "format" file along with the standalone package. There are four scenarios to consider, and I can get all but 1 working. First - the files I'm using. There ...
5
votes
2answers
769 views

Problem with preview package (and standalone class) with tikz

I updated MacTeX recently with TeX Live Manager and I installed the last tikz/pgf CVS (02/12/2011) and I got a problem with the standalone class. The size of the picture seems fine but nothing is ...
8
votes
1answer
801 views

gnuplot true standalone

Finally I have decided to go PDF. I can add pictures without EPS wrapper, and do drawings with TikZ - life is good :o) But how do I use gnuplot? For consistency I would like to use the tikz terminal, ...
2
votes
1answer
117 views

Command defined inside standalone file appears unavailable in main document

In the file producing my tikz-graphic, I define a new command that creates a tikzpicture using particular arguments (left out in MWE below because the problem reproduces without those). I use the ...
1
vote
1answer
300 views

Use pgfplots and a custom length to define global width when inputing the plot

I'm trying to set the width for all my plots, that are defined in other files and imported into the main document, using a custom width, \sz. I'm trying to set this length because I want to change it ...
1
vote
2answers
630 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 ...
0
votes
1answer
316 views

Crop in Standalone class [duplicate]

Possible Duplicate: Standalone package creates a page with a fixed width How do I get the class standalone crop the image just as you would preview the package? I must get over the side ...
14
votes
3answers
882 views

Standalone package creates a page with a fixed width

Recently I found the standalone package. I am using it to create figures and such in external files. But everytime content is created the width of the page seems to be fixed, it does not shrink to the ...
4
votes
3answers
2k views

LaTeX math whitespace

when I try to display a math equation with LaTeX, there is always whitespace to the right and left of the math equation. I am trying it with code like this: \documentclass{standalone} ...
11
votes
2answers
758 views

Nested standalone files with standalone package

Is it possible to nest files with the standalone package? I have something like the following: In A.tex: \documentclass{article} \usepackage{standalone} \begin{document} \input{B} \end{document}​ ...
6
votes
1answer
363 views

Get {standalone} to ignore blocks of text from \input files (e.g., \begin{spacing} and \maketitle)

I've got a number of separate .tex files that are all \documentclass{article}. I'm inputting these into a \documentclass{book} file as chapters. In the book.tex file, then, I've got inputs like this: ...
5
votes
2answers
1k views

standalone figure and tabular

I'd like to generate a standalone pdf containing a pgf/tikz image and a tabular. I'm almost getting the desired result but there is a paragraph between the image and the tabular that breaks my layout ...
3
votes
2answers
374 views

Detect value of option given to documentclass

I would like to be able to detect if the standalone package was used with [preview=false] or [preview=true]. Not too concerned if this setting was a default or user defined. Based on How can one ...
3
votes
1answer
503 views

What kind of “magic” does preview package do to produce a tight paper size?

Actually the following method, that looks like reinventing the wheel, has been discarded once I have known the existence of preview package. % WithoutPreview.tex \documentclass{article} ...
1
vote
1answer
64 views

Why is there a gap on the right side of child image imported from within the main input file?

Child input file % Child.tex \documentclass{standalone} \usepackage{pstricks} \pagecolor{yellow} \setlength\PreviewBorder{0pt} \begin{document} \begin{pspicture}(4,3) \psframe[linecolor=red](4,3) ...
5
votes
1answer
642 views

Why does tikz neither draw nor externalize my picture?

I'm trying to generate a gif from a tikz picture, using tikz's external library. Ultimately, my plan is to Convert a picture to gif write a node style that converts the nodes' coordinates to pixel ...
8
votes
1answer
272 views

Avoid paragraph due to trailing empty line in standalone file

Using my standalone class and package it is possible to compile diagrams etc. inside own files stand-alone or as part of a main document. However, a common user error is to keep an empty line between ...
6
votes
2answers
819 views

Package incompatibilites: etoolbox, hyperref, and bm, standalone?

I am trying to transition to using the etoolbox package, but seem to have run into some difficulties and they appear related to the hyperref and bm packages which to me seem totally unrelated. The ...
3
votes
1answer
167 views

How make Standalone with Subpreambles respect group?

I am trying to use the subpreambles option with the standalone package. My main file is: \documentclass[subpreambles]{standalone} \usepackage{standalone} \newtoks{\MyToken} \MyToken={MainFile} ...
4
votes
1answer
823 views

Is it possible to use the figure environment with the standalone package?

I can not get standalone to work with figures; I get the error Not in outer par mode. (The figure is in the included file.)
1
vote
0answers
583 views

Problem with \usepackage{standalone} in standalone file in new TeX Live distribution [closed]

I have ONE standard file that I use in ALL my files including the standalone files. This method was working fine until today, when I updated my texlive distribution using sudo /usr/texbin/tlmgr update ...
11
votes
1answer
3k views

TikZ to non-PDF

How do I tell TikZ to output to a standalone image file? Like JPG, PNG, etc? Yes, there is a way to output it to PDF, then do a snapshot. But this is for mathematical-visual comparisons, and I need ...