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

3
votes
1answer
25 views

Conflict using babel and standalone's convert-Option

I recently started using standalone to compile a tikzpicture and convert it to PNG. Thus I use the following type of Document together with \documentclass[convert,tikz]{standalone} ...
4
votes
2answers
68 views

how to obtain exactly same size standalone pgfplots

I am using standalone to make pdfs of my pgfplots to later include as an image into my main document. The y-axis are different for some of the plots (some negative, some positive), thus the size of ...
4
votes
2answers
115 views

Generate pdf document consisting in just one figure

Related to this question I am trying to generate a figure using package chemfig. Actually, my problem is that the lower part of the figure is cropped, specifically the H under the N. This is the ...
4
votes
1answer
45 views

tikz standalone does not show drawn arrows

I drew some arrows to annotate a figure using standalone. However, when I put in [tikz]{standalone} the arrows do not show. If I use report or remove the [tikz] then the arrows show up, however, I ...
5
votes
2answers
100 views

Centering standalone tikz picture

I'm wondering what is causing the following image to be so horribly off centred and how I might fix this issue (Note the massive space in the top left corner). Currently I am just post processing the ...
4
votes
0answers
31 views

standalone package and user-defined macros/lengths

This is my first post on this amazing website, so hi to everybody!! I'd like to know if there is a way to pass some parametrs (macros or lengths) to a standalone file. Here is my MWE: Consider the ...
4
votes
1answer
54 views

Tikz standalone image cropped

I'm wondering why my standalone tikz picture gets cropped mid way through the picture? Code is shown below without the input data files. \documentclass[tikz,border=0pt]{standalone} ...
5
votes
3answers
115 views

Center in standalone makes two-page document

I was trying to get a tikz automaton to fit on the page using the standalone documentclass to precompile the figure and then using \includegraphics[width=\textwidth{} (this is outlined at Tikz ...
1
vote
1answer
100 views

PNG or PDF (or EPS)

Is there a preferred format between PNG, PDF, or EPS for use with pdflatex, particularly in terms of compile speed? If I understand, pdflatex must convert each PNG/EPS file to a PDF file with each ...
1
vote
1answer
89 views

Scope problem with Standalone package in grandchild \input{styles}

[MiKTeX on Win7] I have my document subdivided into various files according to chapters, and I have a series of code snippets in TeX format which I've generated using the Highlight package on ...
0
votes
2answers
94 views

Why am I not getting the right size of the PNG image?

please, I have the following tex code , that simply generate a png with two ellipses inside. The problem is that I don't get the size I set at the beginning ?! I don't know why ? ...
0
votes
1answer
90 views

Standalone chapters with separate references and counters

I'm looking for a convenient way to integrate standalone chapters in a main.tex (scrbook) file. More specifically, they will be already published papers within a thesis framework text and should ...
4
votes
0answers
71 views

\includestandalone cannot compile \section or \subsection commands

Main.tex \documentclass{scrartcl} \usepackage{standalone} \begin{document} \section{A} \includestandalone{Subfile} \end{document} Subfile.tex ...
3
votes
1answer
60 views

converting a table to png using standalone

I am using standalone to convert a table to PNG. I have followed the following example. I got the output in PNG as well, please see the attached. However, when I view it with any of the image viewers ...
1
vote
1answer
58 views

Include tikz pictures in main script

I include all my tikz figures with \includestandalone{filename}. I am using \tikzset after \begin{document} in all my tikz figure files but I use \usetikzlibrary in the header (outside of ...
2
votes
1answer
94 views

Same pgfplots within standalone for usage in elsarticle and revtex4-1

Suppose I have created a plot with pgfplots for a scientific paper. However, for usual reasons the targeted journal is not certain. Possibly the plot has to be adjusted to match different journals ...
0
votes
0answers
14 views

pgfmathsetmacro increases border size [duplicate]

Upon creating some graphs with TikZ, I noticed that the border at one side was much larger than it needed to be. The cause seems to be the \pgfmathsetmacro command: \documentclass{standalone} ...
1
vote
2answers
61 views

Specify which overlays to take from another file

I have a picture with overlays in an external file. Sometimes I want to use all overlays from the picture, sometimes only some of the overlays. Consider the following example, where the picture is ...
6
votes
1answer
82 views

Croping Tikz animation out of a beamer presentation (producing empty pages)

I've a beamer presentation and want to use the tikz pirctures inside rendered as svgs. So far no problem, but compiling the code via pdflatex the following (minimal) example results in four pages, ...
2
votes
1answer
56 views

How to output a multiline equation with no margins

I'm trying to output a .pdf that just contains an equation, without any borders at all, or borders the same width all the way round. So far, I've tried two things. Using the standalone document ...
3
votes
1answer
81 views

How to get rid of white space when drawing lines in TikZ with documentclass=standalone?

I get an annoying white space in my rendered graphics with lines that begin or end at the page's borders. I am using the "standalone" document class for actually not having those margins. Let us ...
0
votes
0answers
34 views

Defining commands in imported subfiles

I'm using the standalone package to create a document. The main document is \documentclass{article} \usepackage[subpreambles=true]{standalone} \usepackage{import} \begin{document} \section{Section ...
1
vote
1answer
61 views

Patch the standalone redefinition of document environment in order to automatically add some extra code?

Edit. I rewrite my question as I simplified too much my real problem and the example didn't reflect it. In the following MWE, a custom class myclass.cls: defines a custom \maketitle macro ...
2
votes
0answers
30 views

(tikzpagenodes) Odd page header area east not the same depending on the order of standalone and changepage packages

The following MWE: \documentclass{book} \usepackage{standalone} \usepackage{changepage} \usepackage{tikzpagenodes} \usepackage{lipsum} % \newcommand\oddpageheadrule {% \tikz[remember ...
1
vote
2answers
192 views

Draw a contour around the cylinder

I'm willing to draw a contour around a cylinder. So far, I could get this one: The problem is that half of the circular part of the contour should be at the back of the cylinder which is not the case ...
2
votes
1answer
39 views

Automatically generating variable page sizes for each item in an enumeration

I want to take an enumerated list and make each item a different page. The height of the page should scale so that it's tight around the text. The width should be left alone. \begin{document} ...
2
votes
1answer
39 views

standalone package -> Error Message: infeasable parameter

I try to convert tex2png with the following lines and use pdflatex -shell-escape test.tex The following lines are in the text.tex \documentclass[ preview, convert ]{standalone} ...
1
vote
0answers
66 views

Combining multiple documents

I've searched and have not been able to figure out how to do this any other way, so I'm asking here to see if any of you have any ideas. Basically, I'm trying to combine separate LaTeX files, but ...
4
votes
2answers
343 views

How to organize large documents in small nested folders

Preamble I am writing a large document and I would like to keep it well structured not only in terms of source code (I am aware of commands like \input and include, as well as the standalone ...
2
votes
1answer
162 views

A very simple positionning problem using pgfplots standalone geometry and tikz package

I try to find information in the big list of pgfplots question on tex, without success, so this is "one more question" from a beginner about pgfplots, standalone, geometry, tikz combo package. I need ...
0
votes
0answers
96 views

Geometry Package Not Working with Standalone Class

Here is my TeX file (test.tex) I am trying to process (initially the TeX was successfully being processed on an Ubuntu 10.04 OS, but the server I am on was upgraded to Ubuntu 12.04 and now things ...
4
votes
1answer
170 views

Why unbalanced multi columns work with standalone but not work with article?

I want to have unbalanced multi columns for 5 multiple choice options. It means that the last option must not be aligned with the third option. By default multicols makes balanced column in which the ...
2
votes
1answer
86 views

Selectively boxing and labeling parts of an image

I want to let these boxes and text-labels fade after sometime, as it would lead to unwarranted cluttering in the image. Also, I want to ultimately put the image slideshow as a part of the beamer ...
0
votes
0answers
34 views

insert a pdf image(created in Tex) in a beamer slide [duplicate]

I am facing difficulty in sizing the pdf image being imported into the beamer slide presentation. This is because the original image generated in tex has a lot of unused space. Please advise me how I ...
2
votes
1answer
94 views

What are the minimum requirements to create a “standalone” installer for pgfplots?

I prefer to use pgfplots for my plotting needs, but I tend to use LaTeX for my documents as well, so I have the full TeX Live installed. I'd like to convince my friends/lab mates/colleagues to use ...
15
votes
1answer
1k views

Class 'standalone' and linebreaks for a 'Je suis Charlie'

I have produced a Je suis Charlie image, and I wanted initially to use the standalone class, but I did not obtain the intended result. Here is the intended result: Here is the produced result: ...
0
votes
0answers
107 views

manage chapters from separate files

This question is for writing a book/thesis, where chapters are saved in different .tex files. Currently, I use packages standalone and import. In the main TeX file, I use \import to fetch the ...
0
votes
0answers
23 views

Standalone package installation [duplicate]

I want to include a table in a tex file and I get this error: ! LaTeX Error: File `standalone.sty' not found. Type X to quit or to proceed, or enter new name. (Default extension: sty) Enter file ...
2
votes
1answer
78 views

Missing folder paths in tikz picture when loaded with tikzscale/standalone

I have a standalone mytikz.tikz picture which loads test.png. Both reside in the folder pics/. My main.tex, which uses tikzscale to load mytikz.tikz, is in the parent folder. Loading the test.png ...
1
vote
1answer
40 views

Packages does not load in child files with standalone

I'm trying to start my first modular Latex file and I'm using the Wikibook of Latex. I don't know if I'm doing something wrong but I tried to find info about it and I didn't find anything. I'm using ...
1
vote
0answers
233 views

externaldocument references with standalone

I have a main document, /home/con/Documents/Thesis/thesis.tex, that loads a file /home/con/Documents/RNA/rna.tex with standalone. This works surprisingly well. However, there are 2 problems: 1. ...
2
votes
0answers
115 views

Best practice for including standalone commented equations with tikz

I'm writing a document where there are some equations which I'm commenting with hf-tikz package. It needs two LaTeX compilations in order to get the right coordinates and to draw everything in the ...
1
vote
2answers
261 views

\input with undefined environments

I am trying to assemble my thesis with the standalone package. I am attempting to input my old LaTeX document, lna_achemso.tex, into thesis.tex. The standalone package works well when both documents ...
0
votes
0answers
33 views

Integration of tex-file into another tex-file but with separate titlepage and bibliography

I am writing my cumulative PhD thesis and need to integrate the already written papers into my PhD main file. I need the following things: the page numbering to continue throughout the whole PhD ...
2
votes
1answer
125 views

include a preamble in a standalone

I need to make many images wich uses the same preamble. To make those images, I use the document class standalone. My aim would be to create a file preamble.tex and to include it in the other files, ...
4
votes
1answer
54 views

Conflict between gb4e and standalone

Using an \exe environment in a document with the class ‘standalone’ is problematic for me. Here’s a MWE: \documentclass[12pt]{standalone} \usepackage{gb4e} \begin{document} \begin{exe} \ex ...
1
vote
0answers
224 views

Standalone convert does not produce png

I have the following example code: \documentclass[convert={convertexe={convert.exe}}]{standalone} \begin{document} hello \end{document} The addition of "convert={convertexe={convert.exe}}" is ...
1
vote
1answer
192 views

How do I compile standalone files in TeXStudio?

I get some unexpected behavior when I try to "Build & View" or "Compile" the standalone file mysubfile.tex in TeXstudio. The following results in expected behavior: Open fresh session of ...
7
votes
1answer
366 views

standalone - Can I specify the font size in the document?

I'd like to define the font size in a standalone document so that it is identical to the one in my "real" big document. I have several standalone-documents. In those, I'd like to implement an ...
6
votes
1answer
363 views

modular chapters of a dissertation

I have several different chapters I would like to include into a dissertation. Each chapter is a standalone paper and has its own directory structure (figures, tables, etc.). I would like to retain ...