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

9
votes
1answer
734 views

Best practice to include (standalone precompiled) graphics

General understanding I know that several people have asked about how to include plots and graphics (created by tikz and pstricks) into a latex document. What is the best way to include Matlab ...
2
votes
1answer
31 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 ...
0
votes
0answers
21 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 ...
3
votes
1answer
36 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
1answer
23 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 ...
2
votes
0answers
64 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
0answers
29 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. ...
1
vote
2answers
56 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
24 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
48 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, ...
1
vote
0answers
51 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
63 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 ...
6
votes
1answer
70 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 ...
1
vote
1answer
372 views

A question on tikz/pgf externalization, standalone, and includeonly for compiling large document

I have a goal to build an efficient compiling environment to build large documents. The requirements are these: Use tikz/pgf to draw many figures; Use \includeonly to build only a portion of the ...
6
votes
1answer
169 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
126 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
142 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
58 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 ...
2
votes
1answer
293 views

! Package pgfkeys Error | compiling a standalone picture as \includestandalone{fig}

I have two tikz pictures in external files (fig1.tex and fig2.tex): fig1.tex \documentclass[a4paper,class=minimal,border=0pt]{standalone} \usepackage{tikz} \usetikzlibrary{plotmarks} ...
1
vote
0answers
62 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
67 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
36 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
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} ...
4
votes
2answers
86 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
273 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
25 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
259 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
56 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
73 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 ...
1
vote
0answers
204 views

Combining beamer, tikz, externalize and standalone

I've read a bunch of questions and answers on these topics as well as the documentation of the external library for tikz. I suspect I fundamentally misunderstand what I'm doing. I have a mindmap ...
1
vote
1answer
157 views

Compilation error after texlive update

I used to make animated pictures using pstricks and the beamer overlay syntax (eg. using \only<2>{<some pstricks code>}) with the standalone class. Here a MWE which did the work: ...
5
votes
3answers
123 views

Compilation fail standalone & pst-solides3d

I've got a PStricks schema made with both pst-solides3d and pst-3dplot, put (thanks to the standalone package) apart in a different file. The schema, when compiled itself, doesn't make any problems, ...
5
votes
1answer
122 views

Can we use enumerate with standalone class?

Can we use \enumerate with \standalone class? Isn't enumerate basic LaTeX? The minimal example, which does not compile with standalone but it does with article, is: \documentclass{standalone} ...
9
votes
2answers
243 views

Why do I get white space at the bottom of my diagram?

I have this code : \documentclass[tikz}]{standalone} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{lmodern} \usepackage[frenchb]{babel} \usepackage{tikz} ...
1
vote
0answers
93 views

Pgfplots working as standalone but not in main document

Update 1 The data file can be downloaded here> 11855-4_RT.dat Original: In my main document I have been including a pgftable as: \SSTeTableTypeT %contains \pgfplotstableset - included in the end of ...
4
votes
1answer
102 views

Why does this Tikz tower look OK standalone but not when included as a figure in article?

I built two towers in Tikz. Because the document they will be included in takes a while to compile and because my Tikz skills are somewhat limited (so I need to compile often to check if I've done ...
3
votes
2answers
102 views

if i draw something using stand alone, how do i label the drawing (angles, sides,coordinates, etc.)

If I draw a triangle in stand alone, how do I label my drawing? I am able to draw my picture but I cant label any of the angles or sides.
4
votes
1answer
94 views

Problem with includestandalone of a tikz graphics

From my post (Circuitikz: arrows on the path and changing directions of arrow with variable resistor), Gonzalo Medina helped correct a variable resistor. However, when I use include standalone in my ...
2
votes
2answers
187 views

How to make table floats work with preview/standalone environment?

Couldn't make a table float work inside the preview environment: \documentclass[fontsize=16pt]{scrartcl} \usepackage[active,tightpage]{preview} \setlength{\PreviewBorder}{25pt} \begin{document} ...
3
votes
1answer
102 views

How to crop my page to the size of tikz graph

I want to crop the page to exactly fit the tikz graph in it. When i used standalone document class, all the page content became on one line. Here is my code \documentclass{standalone} ...
1
vote
0answers
107 views

pgfplot same size font in figures and same size figures

Hi I've created figures with standalone and pgfplot package. The figures output size are different to one another but more importantly the font size are different. I would like all figures to be of ...
7
votes
1answer
700 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 ...
1
vote
0answers
50 views

Beamer Frame is fine in Standalone class, but header missing when main is compiled

I am able to compile the subfile perfectly well, but the main file deletes the header of the frame. Here is the standalone code: \documentclass[beamer]{standalone} \begin{document} ...
3
votes
1answer
103 views

How to generate a series of \paused stand-alone TikZ images?

I've built a beamer presentation in which a TikZ graph is built up sequentially using \pause. Example: \documentclass{beamer} \usepackage{tikz} \begin{document} \begin{frame} ...
1
vote
1answer
139 views

\includestandalone does not create a pdf

Somehow \includestandalone from the standalone package does not create a pdf with this main file: \documentclass{article} \usepackage{standalone} \usepackage{tikz} \begin{document} ...
1
vote
0answers
96 views

Can the standalone document type be made compatible with tikzexternalize?

Code: \documentclass[tikz]{standalone} \usetikzlibrary{external} \tikzexternalize \begin{document} \begin{tikzpicture} \node[circle,draw] at (2, 3) {}; \end{tikzpicture} \begin{tikzpicture} ...
3
votes
1answer
269 views

Consistent font size when using standalone TikZ pictures in a beamer presentation

I want to include a TikZ picture in a beamer presentation using the standalone package and I want a consistant size of the text in the picture and the rest of the frame. \documentclass{beamer} ...
2
votes
2answers
157 views

PSTricks with standalone class and newpage or pagebreak

Can I use page breaks with the standalone class with PSTricks? Are there limitations? Or is there some mistake in my code? I have been nearly successful in running the code below with PSTricks and ...