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
11 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
21 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
29 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
251 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
266 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
32 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
29 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
81 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
401 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
43 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
92 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
32 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
38 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
87 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
32 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
22 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
40 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
597 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
64 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
38 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
30 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
48 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
35 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
49 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
749 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
36 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
162 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
55 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
72 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
23 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
191 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
82 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
56 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
29 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
62 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
236 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
72 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 ...
6
votes
2answers
401 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
1answer
153 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
35 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.
5
votes
1answer
122 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] \tikz\...
0
votes
0answers
24 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
82 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 ...
3
votes
2answers
354 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
518 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 ...