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
2answers
40 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
2answers
375 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
38 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
78 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
8k 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
28 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
36 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
80 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} ...
2
votes
1answer
253 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
29 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
18 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
37 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
579 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
49 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
31 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
31 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
32 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
45 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
740 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
27 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
135 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
48 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
62 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
16 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
187 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
71 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
53 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
26 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
60 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
211 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
70 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
353 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
149 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.
5
votes
1answer
115 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
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
78 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
296 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
461 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
70 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
113 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: ...
2
votes
1answer
85 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 ...
0
votes
1answer
74 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
172 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 ...
1
vote
0answers
71 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
113 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} ...
4
votes
2answers
187 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
122 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
238 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 ...