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

0
votes
0answers
5 views

How do I keep section numbering isolated when including standalone files?

Suppose I have a file test2.tex which includes the contents of another file, test1.tex. Both of these files are standalone documents (ie. I want to be able to compile test.tex on its own). test1.tex ...
2
votes
1answer
12 views

How to use standalone with multiple files?

I compile \documentclass{standalone} \begin{document} Test1 \end{document} I do get what I expect. But if I do \documentclass[multi]{standalone} \begin{document} Test1 \newpage Test2 ...
0
votes
1answer
35 views

How to automatically compile my standalone files before inserting them?

My document contains quite a lot of images generated by tikz, forest, bussproofs, etc., so compiling takes way too much time. It would be much better if I could compile my images to PDFs first and ...
2
votes
2answers
41 views

Multiple pages with standalone

I have a number of figures and I want to create a document with LaTeX such that each page is one of the figures (with the page size equal to the size of the figure). If I use ...
1
vote
2answers
29 views

How to crop an image made with pstricks?

I'm writing this piece of code, which will be an image to incorporate in a paper, and I would like to crop it along the edges of the frame I have drawn. I know the frame is almost the size of the page ...
1
vote
1answer
27 views

Is there a way to use todonotes in standalone

Considering the MWE \documentclass[12pt,crop=false,a4paper,class=book]{standalone} \usepackage{todonotes} \begin{document} \section{test} \todo{Bug} \end{document} During the compilation process ...
2
votes
0answers
26 views

standalone package, with its subpreambles option, ignores content of a standalone input file if it contains accents in glossary entry

The following MWE works like a charm: % test.tex \documentclass{article} \usepackage[subpreambles]{standalone} \usepackage{filecontents} \usepackage{glossaries} % \begin{filecontents}{stdalone} ...
2
votes
1answer
28 views

standalone package, with its subpreambles option, gives error if xy package is loaded in a standalone input file

The standalone package, with its subpreambles option, gives error if the xy package is loaded in one of the standalone input files. This is shown by the following M(n)WE: \begin{filecontents}{testxy} ...
1
vote
1answer
39 views

Multiple errors when compiling standalone document

I reinstalled my Windows 7 without loosing most software (including MiKTeX) and hopefully most settings. With my new OS I can build LaTeX files with no problem (I use MiKTeX, xelatex compiler). The ...
0
votes
1answer
24 views

standalone does not create a pdf (build new option)

i'm using the standalone package within my main file and i want to input a lot of tikz pictures generated with matlab2tikz. Within the documentation of standalone i read that the build new option ...
3
votes
2answers
42 views

Standalone Package | Convert Option | Issues With Command Option | PNG Export | Remove Alpha | Remove Transparency

Input \documentclass[ tikz, border=2mm, convert={ true, %false, density = 300, convertexe = {convert}, %command={\convertexe\space -density ...
2
votes
2answers
106 views

Using \tikzexternalize

I want to use tikzexternalize in my document, because the amount of tikz pictures is quite large. In general my tikz pictures are generated using matlab2tikz providing every tikz picture as a ...
4
votes
1answer
58 views

tikz with standalone has border at left

I always think standalone will center my picture. but below example not: \documentclass[border=1mm]{standalone} \usepackage{tikz} \usepackage{graphicx} \usepackage{calc} \usepackage{ifthen} ...
22
votes
1answer
727 views

What's the benefit of using {standalone} instead of {article}?

When I change article to standalone the result shows no difference except that the edge around the picture turning gray. Then what's the benefit of using {standalone} compared to {article}? ...
0
votes
0answers
14 views

Combining package standalone with chapterfolder or import

I've been trying to use standalone to compile tikz figures for my thesis. At the same time, I've been using chapterfolder to neatly organize my files into various folders. However, I cannot get ...
6
votes
2answers
185 views

chessboard + standalone

It seems that chessboard when compiled with standalone, truncates the sign that indicated whose move it is. How could I make sure that the sign gets displayed without problems? ...
2
votes
2answers
61 views

Resizing stand alone images

I'm trying to use the standalone package to produce .jpeg files from my TiKz code. I use TexStudio and Windows 8.1. I have both pdf2svg and ImageMagik installed. If I use the following code, ...
1
vote
1answer
50 views

PSTricks : draw a cross

I would like to draw a cross at a specific position. I already know how to draw a circle with \pscircle[...](x,y){...} is there something as simple that doesn't require any other package. For now ...
1
vote
0answers
22 views

Problems with the standalone class when using certain environments and certain math symbols

I use TeX Live 2015. Update. I just found out that using the preview option to the class solves the problem, yet only crops the content vertically, not horizontally. I want to use a grammar ...
3
votes
1answer
58 views

Include TikZ figure located in subdirectory with spaces using the standalone package

I want to include a TikZ figure located in a subdirectory that has a space in its name using the standalone package with the option mode = buildnew. However, I encounter an error, which seems related ...
12
votes
1answer
198 views

Standalone: class vs package

What is the difference between the standalone class vs the package? From what I understand, the usage is different by \documentclass{report} or \usepackage{standalone} respectively. Is the class for ...
1
vote
1answer
62 views

Independent Chapters and Unique References

I am trying to setup a report structure so that each author can work on their chapter on their own and once all chapters are finished I can put all together. For this to work well I need each chapter ...
4
votes
1answer
146 views

Support for typesetting a table as stand-alone PDF

I'm forced to work in a non-LaTeX workflow but would like to use tables generated with LaTeX. Now I'm looking for support to generate PDFs that contain just a table per page rather than a table on an ...
1
vote
0answers
34 views

Documentclass Standalone - Outcome with rounded corners

Is there an option that the result/ whole document of a standalone file has rounded corners? Just like rounded corners for tikz nodes.
4
votes
1answer
100 views

Document class standalone and \tikzfading/tikzfadingfrompicture

Short Question Why does \documentclass[tikz]{standalone} \usetikzlibrary{fadings} \begin{document} \tikzfading[name=fade right,left color=transparent!0,right color=transparent!100] ...
0
votes
0answers
23 views

cross-references from other documents [duplicate]

I'm writing on a large document with many tables. Rules require me to provide every table as a standalone PDF file as well, so I do this: In main.tex: \documentclass{article} \usepackage{standalone} ...
2
votes
2answers
74 views

Resizing tables using the standalone package

I'm attempting to use the standalone package to create large tables to import to Microsoft PowerPoint. When I have attempted to use the 'size' and 'density' commands, the image looks very blurry after ...
2
votes
2answers
260 views

Best way to include a standalone tikz file and scale it without scaling the nodes

Consider something like this: \documentclass{article} \usepackage{standalone} \begin{document} \includestandalone[scale=2]{myfile} \includestandalone[scale=1.5]{myfile} \end{document} where myfile ...
1
vote
1answer
405 views

Installing latex standalone in ubuntu for humans

Ubuntu is the most popular Linux flavour around, Latex is the gold standard for scientific writing and printing a standalone figure, table, whatever should be a nobrainer. And yet, installing the ...
3
votes
1answer
62 views

Problem to crop edges when creating pdf using standalone package

I am trying to make a pdf figure comprised of several other figures arranged in a table manner. I am using the standalone documentclass. However the results I get are far from optimal. I am using ...
2
votes
1answer
111 views

Is “group=false” option from “standalone” package incompatible with “\addbibresource” from “biblatex”?

Edit. I edit my question in order to make it clearer. Preamble. Thanks to filecontents environment, the compilation of the following with pdflatex generates two subfiles: a bibliographic file: ...
0
votes
1answer
72 views

standalone mode=image with animated pdf

I'm using animate to generate animated images, read by acroread. It seems this pdf can't be included in another TeX file without loosing the animation capabilities so I'm using \includestandalone with ...
3
votes
1answer
157 views

lualatex does not work with import/subimport when used in standalone setup

Using TL 2015. I have this setup main.tex folderA/a.tex a.png and using standalone to combine both documents. The file a.tex has an includesgraphics{a.png} where the file a.png is in the ...
0
votes
0answers
67 views

Standalone Output Directory

I configured my TexStudio to use a Directory for temporary files called "build". When i compile the Standalone Document all files except the pdf and the synctex.gz are in the folder "build". When I ...
4
votes
1answer
104 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} ...
6
votes
2answers
310 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
175 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
114 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 ...
6
votes
2answers
226 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
45 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
102 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
280 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 ...
2
votes
1answer
387 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
129 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
102 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
214 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
106 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
208 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
291 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 ...
3
votes
1answer
227 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 ...