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

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
426 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
522 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
65 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
703 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
280 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
891 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
176 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} ...
5
votes
1answer
944 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
596 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 ...
12
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 ...