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

1
vote
1answer
42 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
50 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
13 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
52 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
64 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
28 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
54 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
20 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
57 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
24 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
146 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
32 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
30 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
53 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
206 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
111 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
78 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
85 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
78 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
84 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
77 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
22 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
60 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
35 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
120 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
103 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
172 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
30 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
91 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, ...
3
votes
1answer
48 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
132 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
120 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
242 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
254 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 ...
6
votes
2answers
155 views

Standalone: unique page per equation without white space

I'd like to create a document with several formulas and each formula is supposed to stand alone on a page. Here is an example: \documentclass[preview,varwidth ,multi,border=1pt]{standalone} ...
5
votes
1answer
248 views

Multiple tikzpictures in a standalone document

I have a standalone document of the form: \documentclass[tikz]{standalone} %\documentclass{article} %\usepackage{tikz} \usetikzlibrary{positioning} \newcommand{\tikzmark}[2]{\tikz[remember picture, ...
0
votes
0answers
80 views

How to make the (COMPLETE) preamble of a Standalone document available to a `Main Document`?

I am in the process of generating a lot of content for presentations and scripts. The standalone package and documentclass seems to be a very helpful, but I am running into an issue mentioned by Diac ...
1
vote
0answers
74 views

memoir and standalone package

My main document is based on memoir documentclass. For inclusion of figures I use standalone package. It collaborate fine. But I have problem, how to include in figures (using standalone document ...
1
vote
0answers
95 views

htlatex on file including files from subdirectories, and output directory

Parts of my issue has already been answered in different questions on this site and elsewhere, however none of them solves my problem as a whole. A question about just specifying the output directory ...
2
votes
0answers
57 views

Standalone and citation/cross-referencing from source document [closed]

How to cite or cross-reference an item from source document in a standalone document? \documentclass{article} \usepackage[mode=buildnew]{standalone} \begin{filecontents}{stdalone.tex} ...
0
votes
0answers
20 views

How can I set custom margins for standalone document? [duplicate]

How can I add white top/bottom/left/right margins in standalone documentclass? (So the generated PDF has those white margins) Or alternatively put the contents in an environment through which I can ...
4
votes
2answers
115 views

How to avoid copied code with the combination pgfplots/standalone?

I have a series of pgfplots-based figures that I compile to pdf images using the standalone package. I currently have one .tex-file per figure. The problem with this is that since it might just be the ...
6
votes
2answers
399 views

Weird blank space when drawing standalone tikz

I am drawing an tikz picture using standalone class, but there is weird blank space on the left side. My code is \documentclass{standalone} \usepackage{kerkis} \usepackage{tikz} \begin{document} ...
0
votes
0answers
26 views

Path problem with included file inside of a standalone file: part II

Someone asked an almost identical question before, here. However, the excellent answer(s) provided do not work if the standalone file is going to be built separately (with option mode=build or ...
1
vote
2answers
300 views

Placing text, includegraphics or a table above and below Tikz picture in standalone

The documents I am working with produce very large Tikz pictures (using Forest package) that span multiple horizontal and vertical pages in PDF. These pictures need to have titles, compbined of text, ...
0
votes
1answer
88 views

Bad math environment delimiter in standalone class [duplicate]

Given a file master.tex: \documentclass{article} \usepackage{standalone} \begin{document} \input{sub} \end{document} and a file sub.tex: \documentclass{standalone} \begin{document} \[ 0 ...
3
votes
1answer
95 views

\newcommands in the \standalone file not recognized in the main file

Few \newcommands defined in my standalone .tex file containing tikz figure is not recognized in the main beamer .tex file. Please point out what extra lines should I write to make it work. Here is ...
3
votes
0answers
31 views

Compilation fails with eqnarray after reinstalling Miktex [duplicate]

I have a script that extracts math formulae from a tex file, produces a small standalone file for each formula and compiles it with pdflatex. The standalone pdf files are then used to produce png ...