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
0answers
92 views

syntax error when using tex4ht on Latex file that uses the standalone package [closed]

When I try to use htlatex to convert a latex file to html, where the latex file uses the standalone package, a syntax error is thrown from the file keyval.tex. The Latex file works fine with ...
3
votes
2answers
343 views

handling href when importing separate standalone latex documents and assembling them into one document

This is a follow up on the question How to import separate standalone latex documents and assemble into one document I am using the package standalone to assemble many child latex files from ...
4
votes
1answer
476 views

standalone: varwidth option limits output width?

It seems, that the varwidth option for the standalone class limits the output width. The problem is produced in the following example: \documentclass[10pt,crop,varwidth]{standalone} ...
3
votes
2answers
902 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} ...
6
votes
1answer
555 views

Errors using standalone package to create a table

I'm learning using standalone package. I tried to create a page including a table but I got errors: Error Something's wrong--perhaps a missing \item. \begin{table} Something's wrong--perhaps a ...
4
votes
3answers
438 views

Inserting three minipages in the same line

I'm trying to insert three minipages, side by side, in a line, but I'm failing miserably. Here's what I've been able to do so far: % ...
3
votes
1answer
468 views

Use of apacite package with subfiles package or standalone package results in LaTeX Error: Can be used only in preamble

I want to create a multi-file project for my thesis, in which I use separate files for sections. To be able to compile these separate files I tried using the subfiles package and the standalone ...
6
votes
1answer
244 views

Standalone document with chapter

When compiling large documents (with chapters) it is often useful to put different parts in separate files. I do this with the standalone-documentclass for all my tikzpictures. That way I can compile ...
4
votes
2answers
179 views

size of barcode in pspicture

I´m on a way to create a barcode with pst-barcode. How can I get a suitable pspicture environment in a standalone class? In the following example the top and right borders are too big. % run with ...
9
votes
1answer
236 views

Latex Standalone always rebuilds / apostroph in filename?

I have started toying around with Martin Scharrer's standalone package because tikz external does not work with todonotes and I feel that the workflow for standalone makes more sense as far as I have ...
4
votes
1answer
236 views

How to use the standalone package with emacs

This is a follow-up question from A simpleton's guide to (...)TeX workflow with emacs. The main answer stated that it is possible to use emacs together with standalone: the question is how? The ...
5
votes
1answer
150 views

Force minimum paper size in “standalone” (or use an alternative)

I compile small latex math snippets using the standalone document class. I rasterize the resulting PDF to a PNG image using ImageMagick and finally include these images in some HTML document. However, ...
0
votes
1answer
1k views

How to install the documentclass standalone in Ubuntu? [duplicate]

Possible Duplicate: How do I install an individual package on a Linux system? Is there an easy way to install the documentclass standalone in Ubuntu using apt-get? In other words, is there ...
7
votes
2answers
444 views

auto-pst-pdf produces a confusing error message

Actually I don't want to use auto-pst-pdf forever. But Harish Kumar (in his comment) requested to use it for the sake of simplicity. I tried it several decades ago and it did not work. The MWE below ...
9
votes
3answers
583 views

\documentclass[convert]{standalone} ignores linebreak

I tried to combine this answer Compile a LaTeX document into a PNG image that's as short as possible with my answer Add column in a table But the pdflatex -shell-escape table.tex ignores ...
2
votes
1answer
274 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
290 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
101 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
2k 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
239 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
871 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
391 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
228 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 ...
5
votes
1answer
237 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
637 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
108 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
919 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
3k 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
272 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
533 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
568 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
288 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} ...
13
votes
3answers
822 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 ...
17
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
150 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
411 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
822 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
879 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
122 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
320 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
726 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
335 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
986 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
795 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
399 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
415 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
520 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} ...