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

5
votes
3answers
84 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 ...
1
vote
1answer
51 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
74 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
91 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
46 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
55 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
44 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
49 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 ...
2
votes
1answer
67 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 ...
0
votes
0answers
13 views

pgfmathsetmacro increases border size [duplicate]

Upon creating some graphs with TikZ, I noticed that the border at one side was much larger than it needed to be. The cause seems to be the \pgfmathsetmacro command: \documentclass{standalone} ...
1
vote
2answers
57 views

Specify which overlays to take from another file

I have a picture with overlays in an external file. Sometimes I want to use all overlays from the picture, sometimes only some of the overlays. Consider the following example, where the picture is ...
6
votes
1answer
73 views

Croping Tikz animation out of a beamer presentation (producing empty pages)

I've a beamer presentation and want to use the tikz pirctures inside rendered as svgs. So far no problem, but compiling the code via pdflatex the following (minimal) example results in four pages, ...
2
votes
1answer
38 views

How to output a multiline equation with no margins

I'm trying to output a .pdf that just contains an equation, without any borders at all, or borders the same width all the way round. So far, I've tried two things. Using the standalone document ...
3
votes
1answer
63 views

How to get rid of white space when drawing lines in TikZ with documentclass=standalone?

I get an annoying white space in my rendered graphics with lines that begin or end at the page's borders. I am using the "standalone" document class for actually not having those margins. Let us ...
0
votes
0answers
21 views

Defining commands in imported subfiles

I'm using the standalone package to create a document. The main document is \documentclass{article} \usepackage[subpreambles=true]{standalone} \usepackage{import} \begin{document} \section{Section ...
1
vote
1answer
60 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 ...
2
votes
0answers
27 views

(tikzpagenodes) Odd page header area east not the same depending on the order of standalone and changepage packages

The following MWE: \documentclass{book} \usepackage{standalone} \usepackage{changepage} \usepackage{tikzpagenodes} \usepackage{lipsum} % \newcommand\oddpageheadrule {% \tikz[remember ...
1
vote
2answers
167 views

Draw a contour around the cylinder

I'm willing to draw a contour around a cylinder. So far, I could get this one: The problem is that half of the circular part of the contour should be at the back of the cylinder which is not the case ...
2
votes
1answer
33 views

Automatically generating variable page sizes for each item in an enumeration

I want to take an enumerated list and make each item a different page. The height of the page should scale so that it's tight around the text. The width should be left alone. \begin{document} ...
2
votes
1answer
32 views

standalone package -> Error Message: infeasable parameter

I try to convert tex2png with the following lines and use pdflatex -shell-escape test.tex The following lines are in the text.tex \documentclass[ preview, convert ]{standalone} ...
1
vote
0answers
58 views

Combining multiple documents

I've searched and have not been able to figure out how to do this any other way, so I'm asking here to see if any of you have any ideas. Basically, I'm trying to combine separate LaTeX files, but ...
4
votes
2answers
252 views

How to organize large documents in small nested folders

Preamble I am writing a large document and I would like to keep it well structured not only in terms of source code (I am aware of commands like \input and include, as well as the standalone ...
2
votes
1answer
127 views

A very simple positionning problem using pgfplots standalone geometry and tikz package

I try to find information in the big list of pgfplots question on tex, without success, so this is "one more question" from a beginner about pgfplots, standalone, geometry, tikz combo package. I need ...
0
votes
0answers
82 views

Geometry Package Not Working with Standalone Class

Here is my TeX file (test.tex) I am trying to process (initially the TeX was successfully being processed on an Ubuntu 10.04 OS, but the server I am on was upgraded to Ubuntu 12.04 and now things ...
4
votes
1answer
112 views

Why unbalanced multi columns work with standalone but not work with article?

I want to have unbalanced multi columns for 5 multiple choice options. It means that the last option must not be aligned with the third option. By default multicols makes balanced column in which the ...
2
votes
1answer
79 views

Selectively boxing and labeling parts of an image

I want to let these boxes and text-labels fade after sometime, as it would lead to unwarranted cluttering in the image. Also, I want to ultimately put the image slideshow as a part of the beamer ...
0
votes
0answers
34 views

insert a pdf image(created in Tex) in a beamer slide [duplicate]

I am facing difficulty in sizing the pdf image being imported into the beamer slide presentation. This is because the original image generated in tex has a lot of unused space. Please advise me how I ...
2
votes
1answer
86 views

What are the minimum requirements to create a “standalone” installer for pgfplots?

I prefer to use pgfplots for my plotting needs, but I tend to use LaTeX for my documents as well, so I have the full TeX Live installed. I'd like to convince my friends/lab mates/colleagues to use ...
15
votes
1answer
1k views

Class 'standalone' and linebreaks for a 'Je suis Charlie'

I have produced a Je suis Charlie image, and I wanted initially to use the standalone class, but I did not obtain the intended result. Here is the intended result: Here is the produced result: ...
0
votes
0answers
83 views

manage chapters from separate files

This question is for writing a book/thesis, where chapters are saved in different .tex files. Currently, I use packages standalone and import. In the main TeX file, I use \import to fetch the ...
0
votes
0answers
23 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 ...
2
votes
1answer
65 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 ...
1
vote
1answer
38 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 ...
1
vote
0answers
163 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. ...
2
votes
0answers
108 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
2answers
198 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
30 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
102 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, ...
3
votes
1answer
49 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
0answers
161 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
144 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 ...
7
votes
1answer
285 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 ...
6
votes
1answer
284 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
161 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
278 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
84 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 ...
1
vote
0answers
81 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
97 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
62 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 ...