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
17 views

standalone not working with psfrag

I have the following MWE \documentclass{standalone} \usepackage{psfrag} \begin{document} text \end{document} I use latex and dvipdf. I have two machines with MacTex-2016. I've just updated with ...
2
votes
1answer
34 views

Using standalone to combine multiple .tex into a single file

I have a number of latex files section1.tex, section2.tex, etc. Each of them should be able to be compiled individually to give a normal LaTeX document. I would like to write a file master.tex that ...
1
vote
1answer
37 views

How to get Anki working with TikZ-based packages?

Since I have been struggling with this for some time and the issue is nowhere to be found on the Web, I thought to ease up some people's lives by posting this question here. Assumption: Basic ...
4
votes
1answer
31 views

Undefined control sequence \pgfsyspdfmark converting Standalone TikZ with pdflatex

My ultimate goal is to get chemfig working with AnkiSRS. It only accepts .png as latex output, so I need to compile with pdflatex and then convert the file from within the latex environment. I am ...
3
votes
1answer
1k views

Warning for TeX main capacity exceeded when loading files with \pgfplotstableread

I am loading quite a few data files via \pgfplotstableread, but do not further use them via pgfplots. I just kept them in the preamble and switched to plotting them in a standalone document. But now I'...
3
votes
0answers
55 views

PSTricks drawing not cropped in standalone

I'm trying to create a drawing using the pst-optexp package, and I can get the drawing to compile, but the output is not cropped to the drawing (the drawing is just placed in the top left corner of a ...
1
vote
0answers
25 views

Combine Pre-existing Independent Documents that Use Algorithmicx and Algorithm2e?

I have a few relatively substantive pre-written documents that need to be combined together into one. Each document contains a lot of pseudocode. The complicating factor is that two documents use ...
2
votes
2answers
96 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 ...
1
vote
0answers
15 views

standalone and import not loading child document when using \ifdefined

I have just updated to latest TL 2016. I found a problem with subimport not loading a child that uses standalone package when the child has \ifdefined\HCode as its first line. Here is MWE. I have ...
1
vote
1answer
24 views

Make standalone class without tikz look like a cropped article [duplicate]

How can I force the standalone class to put things on top of eath other instead of next to each other? \documentclass{standalone} \begin{document} test test test \end{document}
3
votes
1answer
35 views

What could be causing package standalone's strange behavior?

Given file.tex \documentclass[ convert={ density=300 -alpha deactivate, outext=.png }, ]{standalone} \begin{document} \begin{tabular}{|c|c|} \hline a & b \\ \hline c & d \\ ...
1
vote
0answers
32 views

Package Standalone Warning : Sub-preamble of file “myfile.tex” has changed. Content will be ignored. Please rerun latex

I am writing my resume on LaTeX, and I wanted to put a pie chart. I designed the pie chart on a standalone.tex and I wanted to bring it on the main using \input, but I have this message IN the ...
7
votes
2answers
330 views

LuaLaTeX, TeXLive 2016, standalone: undefined control sequence

Since I installed TeXLive 2016 I cannot build documents with the standalone document class any more using LuaLaTeX (PDFLaTeX works fine). For example: \documentclass{standalone} \begin{document} hi \...
4
votes
2answers
60 views

How to add a symbol at the left top corner of standalone document?

So far, here is my document (I use the stackengine package to stack my formulas). \documentclass[border=1pt, class=scrreprt]{standalone} \KOMAoptions{fontsize=15pt} \usepackage{stackengine} \...
1
vote
0answers
6 views

Using bytefield in standalone class cuts the field numbers

To me, the described behaviour appears to be a bytefield v2.2 package bug. Maybe I'm getting things wrong and standalone v1.2 is bugged as well. Or it's just me doing things wrong. Typesetting this ...
6
votes
1answer
2k views

Why does standalone not detect the TikZ crop correctly?

This small example \documentclass{standalone} \usepackage{xltxtra,textcomp,graphicx,color,tikz} \usepackage[absolute,overlay]{textpos} \begin{document} \begin{tikzpicture} \clip (0,0) rectangle (...
2
votes
1answer
270 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 ...
1
vote
1answer
40 views

Latex PGFplots Standalone including option build scales

As asked here I set up a template for plots that can be used with standalone and included into the main document. 1 remaining problems is that the cropping does not crop enough of the whitespace ...
0
votes
1answer
43 views

Standalone and PGFplot cropping

As asked here I set up a template for plots that can be used with standalone and included into the main document. 1 remaining problems is that the cropping does not crop enough of the whitespace ...
3
votes
3answers
83 views

Standalone proper alignment of plots

I try to set Up a document with multiple Plots for that i try to use TIKZ and Standalone. But the Problem is with the alignment of the different plots. I use scale only axis to make the axis all the ...
1
vote
2answers
419 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 ...
2
votes
1answer
45 views

Clash between KOMA-Script and lmodern: how to fix the \implies bug?

I want to fix the "bug" of the \implies symbol, which is not rendered properly for large font sizes. Accordingly to this answer, I used the lmodern package and redefined a symbol (see the answer). ...
4
votes
2answers
103 views

Why font missing message shows up when using standalone and import packages only?

Took me long time to find the cause of this one. From some bizzar reason, when I use standlone package, the font changes in the lstlisting of my Matlab code due to Latex not finding some fonts. I am ...
23
votes
1answer
9k 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 ...
2
votes
1answer
35 views

Why does standalone class with varwidth option give different outputs with pdftex and luatex?

Consider the following example: \documentclass[varwidth]{standalone} \begin{document} \begin{equation} x \end{equation} \end{document} Compiling with pdftex, I get: Compiling with luatex, I ...
2
votes
1answer
39 views

How to use standalone class to produce bitmap files with different names?

I have a few TikZ pictures in my document using the standalone class (with -shell-escape, and I want the resulting bitmaps to have more human-friendly names than file-0.png, file-1.png etc. I thought ...
4
votes
2answers
88 views

Doesn't the verbatim environment work with the standalone class?

I have the following code, which is as minimal as it could possibly be ( standalone 2015/07/15 v1.2): \documentclass{standalone} \begin{document} \begin{verbatim} Ciao \end{verbatim} \end{document} ...
1
vote
1answer
33 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
23 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 \end{...
0
votes
1answer
42 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 ...
7
votes
1answer
606 views

What does “File stack underflow!” mean?

I am getting two times the error: Package currfile Warning: File stack underflow! on input line xxx. I am not explicitly loading currfile, but standalone seems to do. I am getting this warning ...
2
votes
2answers
79 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 \documentclass{...
1
vote
2answers
43 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
32 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
52 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} \...
3
votes
1answer
38 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
54 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 ...
22
votes
1answer
755 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
1answer
39 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 ...
2
votes
2answers
200 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 ...
3
votes
2answers
58 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 \...
4
votes
1answer
78 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} \...
0
votes
0answers
26 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
194 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? \documentclass[]{...
2
votes
2answers
84 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
59 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
30 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
64 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
247 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
75 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 ...