Tagged Questions

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
899 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
962 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
129 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
338 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
842 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
355 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 ...
15
votes
3answers
1k 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
850 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
450 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
465 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
532 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
739 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
290 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
956 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
182 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} ...
6
votes
1answer
1k 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
611 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 ...
13
votes
1answer
4k 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 ...