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

6
votes
1answer
126 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
117 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 ...
4
votes
2answers
250 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
263 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
696 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
744 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
245 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
164 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
190 views

Parallel make with standalone package [closed]

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
238 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
244 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
129 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
413 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
173 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
441 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
622 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} ...
2
votes
0answers
376 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
53 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 ...
3
votes
1answer
131 views

How to preserve the indentation when using standalone or preview?

The following output has no correct paragraph indentation after incorporating standalone documentclass or preview package. \documentclass[border=12pt,preview]{standalone} \parindent=12pt% does not ...
3
votes
1answer
438 views

bibtex + standalone: How can I include bibliographies in the individual docs *and* the main doc?

I'm trying to work on individual sections of a paper separately. In order to do this, I need to wrap the text in \begin{document} ... \bibliography{bib} \end{document} The main file looks ...
5
votes
0answers
128 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
386 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 ...
5
votes
1answer
702 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} ...
4
votes
3answers
1k 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} ...
7
votes
1answer
767 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
660 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
573 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
314 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
203 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
283 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
267 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
171 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
2k 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
560 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
744 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
334 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
356 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
105 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) = ...
5
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
277 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
998 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] ...
10
votes
0answers
442 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
48 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
243 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
298 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
733 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
118 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
1k 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
303 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} ...