Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [standalone]

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

3
votes
1answer
24 views

Why standalone class reverses \parshape indentation (such that it appears on the end of each line, not the beginning) and how to change that?

You can replace \documentclass[varwidth]{standalone} with \documentclass{article} to see the difference. How do I make \parshape work as intended while using standalone? \documentclass[varwidth]{...
10
votes
1answer
134 views

Which are the advantages/disadvantages of \includestandalone?

I've just found out that the command \includestandalone[<options>]{<file>} exists. Which are its advantages/disadvantages with respect to the \includegraphics{<file>} of the ...
1
vote
1answer
29 views

Including external tikzpicture with preamble

I am using the standalone package which is awesome but I have a problem: I'd like to have a tikzpicture in an external file but with custom colors or something but when I include it in the main file ...
1
vote
1answer
38 views

How to stop `hrule` from breaking centering of text inside `center` environment?

For some reason, placing \hrule above center environment makes text in that environment to appear left-aligned. Why? \documentclass[margin=5mm,varwidth=100mm]{standalone} \begin{document} \begin{...
3
votes
1answer
95 views

IEEEtran, standalone, and XeLaTex: do not crop

I am using the following MWE. \documentclass[tikz,class=IEEEtran]{standalone} \usepackage{tikz} \begin{document} \begin{tikzpicture} \node[draw, line width=5pt,blue, fill=green](boxofgreen) {This box ...
3
votes
0answers
62 views

Beamer, overlay and standalone

Short version Is it possible to use standalone to produce externally my figures with overlays and include them directly in my main document ? More details Using the answers of the question Beamer ...
0
votes
0answers
35 views

producing a png file

Is there a way to produce an image file (png) wihout producing first a pdf file? I'm useing the standalone class \documentclass[preview, border=1pt, convert={outext=.png}]{standalone} I am able to ...
0
votes
0answers
20 views

Standalone crops arrowhead and border does not show in parent file

Problem: Arrowheads are cutoff in a tikzpicture environment in a standalone and the parent file that calls the standalone. I've tried using a border, but that only seems to rectify the issue in the ...
3
votes
1answer
53 views

How to fit content of minipage dynamically within a standalone?

I'm trying to create a standalone but the content won't fit inside. I think \minipage{\textwidth} causes the issue. I know I can set e.g. \minipage{21cm} but I want to keep this dynamic since the ...
2
votes
0answers
35 views

Using package datatool in standalone class

I wish to use package datatool in the standalone class (or with the standalone package, whichever works). I want datatool to print each row in the csv file on different page and standalone to crop ...
0
votes
1answer
32 views

How to change the document class to tikz stand alone?

How to change the document class \documentclass[english]{IEEEtran} to \documentclass[tikz,border=3.14mm]{standalone}. And I still can get the same output figure. \documentclass{ieeeaccess} ...
1
vote
1answer
18 views

Standalone creates an extra space with the option build

I want to import some files with the standalone package. But when I use the \includestandalone command with the option build to recompile this file every time, some extra space are added before the ...
1
vote
1answer
32 views

Aligning \includestandalone{} graphs

I have these two standalone bar graphs that are identical in size, but when I \includestandalone{} them, to insert them into my main document, I can't for the life of me get them to line up. If I put ...
0
votes
1answer
17 views

Paragraph with text alignment and width of contained text

I need a (centered) paragraph that has the width of the text that it contains. This text has to be centered/left-aligned/right-aligned (one of these). The text contains newlines. It is no problem to ...
0
votes
0answers
33 views

How to fix “Dimension too large” error when outputting large pdf file?

I have to create a pdf file with a lot of information. This code: \documentclass[border={0pt 850px 0pt 850px}]{standalone} \usepackage{xcolor,pagecolor,lipsum,pbox,graphicx,anyfontsize} \usepackage[...
1
vote
1answer
53 views

Can I stretch or expand an entire standalone document to fit the page?

If I create a standalone document, and it's approximately the shape of an A4 piece of paper, can I expand it to take up a full page; stretch it to fit the dimensions of the an A4 article? Just want to ...
5
votes
2answers
41 views

xypic bounding box

I am using xymatrix for a markov chain diagram. It looks awesome, but the bounding box is not correctly computed, and therefore, it overlaps with other text. This is special bad as I am also using it ...
6
votes
3answers
269 views

How to align and center standalone amsmath equations?

I had this code produce the following document. I wanted to align a few things. Particularly under the "degree sequence" heading: \documentclass[varwidth,margin=2mm]{standalone} \usepackage{amsmath,...
1
vote
0answers
20 views

How to align multiple graphs with their y-axis in a standalone document in PGFPlots?

I have created two graphs in one page using a \documentclass[varwidth]{standalone}. How can I align them with their y-axis? I tried \begin{tikzpicture}[trim axis left] but it cut off right part of the ...
3
votes
1answer
52 views

Include specific parts of a standalone subfile

I'm trying to compile one main file of exercises where each exercise is a standalone TeX file. standalone is the perfect package for that but it lacks the customizability to choose a specific part of ...
6
votes
2answers
102 views

Can luacode be used in the preamble of a standalone-type document?

I was trying to input/import a standalone document containing a tikz image, which was made using the help of luacode. I was able to compile the standalone document containing the image, however, ...
2
votes
1answer
91 views

How to change a .eps figure to standalone class?

\documentclass{article} \usepackage{graphicx,epstopdf} \begin{document} \begin{figure}[!htb] \centering \includegraphics[scale=.7]{Luke.eps} \caption{Digraph.} \label{fig:digraph} \end{figure} \end{...
1
vote
0answers
39 views

standalone compatibility with pdfpages

I've done the following: \documentclass[preview]{article} \usepackage{pdfpages} \begin{document} This is a test \includepdf[pages=1] {example-image-a4-numbered} More testing \end{document} and I get ...
0
votes
0answers
25 views

Logic behind Standalone Precompiled graphics

I want to compile my expensive graphics to a PDF such that I can integrate the files in my main document. I am using pgfplots and groupplots for that purpose. So let's say I have two graphics looking ...
5
votes
1answer
232 views

Multiple subfiles in folders sharing the same root bibliography

I created a book project (multilingual XeLaTeX) following the modular approach from https://en.wikibooks.org/wiki/LaTeX/Modular_Documents and particularly @ paragraphs "Subfiles" (for the usage of the ...
0
votes
0answers
53 views

standalone + chapterbib + bibtex

My question is similar to this one, but is not covered in the answers. I am writing a document using subfiles as chapters, for which I use standalone. I work on each chapter separately, and each ...
1
vote
1answer
47 views

Cross referencing and standalone class

I have a cross referencing problem using the standalone class. Let me clarify. This is the Main.tex: %** Main.tex** \documentclass{article} \usepackage[italian]{babel} \usepackage{amsmath,...
1
vote
1answer
38 views

emergency stop when macro biblatex and standalone are used

I want to use a personal macro for citing with biblatex that comes from this example. But I have two issues with it. When I do not use the personal macro \defbibentrysetlabel, I get from biber the ...
0
votes
0answers
36 views

Modular projects: Compile parent and child documents using separate custom classes

I would like to compile a main.tex parent document using a custom class as well as child documents using different custom classes. I would like compilation of the parent document to automatically ...
3
votes
1answer
53 views

epigraph plus standalone gives unexpected results

I want to write a long document therefore I will split it in several files and use the package standalone to import them. I also want to add epigraphs before the chapters names, thus I use the package ...
8
votes
2answers
307 views

circuitikz vs. tikzpicture: generating multipage standalone documents for animations

This is a problem I found a while ago, and haven't been able to figure out. Maybe is something wrong with my distribution, but don't know exactly how to fix it. Here is the idea Consider this script ...
2
votes
1answer
74 views

How to fix the error when compiled with the same method

All things I have: Install GhostScript 32 bit (My system is Window 7-32bit) . Write a batch file by Text Document and followed by .bat . Its content ( of AS's answer ): echo off rem %1 TeX input ...
4
votes
2answers
63 views

Remove blank space around plot's empty labels

I have the following MWE %!TEX program=lualatex \documentclass[crop,tikz]{standalone} \usepackage{pgfplots} \usepgfplotslibrary{groupplots} \pgfplotsset{ compat=1.16, } \begin{document} \begin{...
1
vote
1answer
62 views

Caesar Cipher Wheel for Newbie

I found this solution for making a Caesar Cipher Wheel: How to create a Caesar's encryption disk using LaTeX but I have never used LaTex before. Most of the solutions produced errors when I used ...
1
vote
1answer
82 views

Standalone Title Page

I'm trying to create a title page that I can add to documents I create with standalone in xelatex. This basic code compiles: \documentclass{article} \begin{document} \begin{titlepage} \...
0
votes
1answer
92 views

Plotting a curve using Lualatex within Standalone environment

I am trying to plot a curve as shown below: %&lualatex % !TeX program = lualatex \documentclass[border=5pt]{standalone} \usepackage{pgfplots} \pgfplotsset{compat=newest} \begin{document} \...
2
votes
2answers
185 views

How to remove a temporary PDF file generated by auto-pst-pdf when I use standalone class?

Problem of me as the following: My code is compiled with pdflatex.exe --shell-escape -interaction=nonstopmode %.tex Its image (use TeXstudio) After compiling, there are two files : filename.pdf and ...
0
votes
1answer
187 views

Reinstalled MikTeX and now latex.exe doesn't work on simple document

I reinstalled just now (updating packages seemed broken) in order to help look at fixing another question I posted. \documentclass[varwidth]{standalone} \usepackage{lmodern} \usepackage{amsmath, ...
0
votes
0answers
69 views

Want to add Test paper using the Exam class in my memoir class book.

I am publishing a book in Lecture form. In which every section is with concepts and problem solving with assignment. And in the end, there is a small quiz of 6 to 10 problems. I have a test paper ...
5
votes
3answers
90 views

I want a figure to be positioned above a tikzpicture

I have a picture which needs to be placed above another figure that I drew using tikzpicture. The pictures are being positioned side by side. \documentclass{standalone} \usepackage{tikz} \begin{...
3
votes
0answers
55 views

Include standalone files in subdirectories which read other files

I want to use package standalone together with PGFPlots and TikZ to generate figures. In particular, I want figures to be generated only if missing, using buildmissing package option for standalone ...
2
votes
0answers
48 views

Sharelatex, Standalone Package, Compilation Sometimes Fails

Background: I am using the Tex to store my own notes, specifically with the Sharelatex website. I have set everything up in the following way with the standalone package: I have a preamble.sty file ...
0
votes
1answer
69 views

Redefining \thepage and compatibility with standalone

Backstory I'm currently working on a document that has got way to big to deal with so have split the chapters into separate documents that use the standalone class. In original document I was using ...
5
votes
2answers
169 views

How do I reproduce this in latex?

This is what I'm trying to produce: This is what I have so far: \documentclass[varwidth,12pt,preview,margin=3mm]{standalone} \usepackage{newtxtext} \usepackage{newtxmath} \usepackage{color} \...
1
vote
1answer
139 views

Align two tikz pictures vertically in standalone environment

If I use something like \begin{tikzpicture} ... \end{tikzpicture} \begin{tikzpicture} ... \end{tikzpicture} The code is here. In the end I will get However, what I want is something like the ...
1
vote
1answer
32 views

crop paper size to image size

I want a pdf file cropped to image size (modelo1.png) but top margin still there. \documentclass{standalone} \pagestyle{empty} \usepackage{graphicx} \usepackage[width=9cm, height=9cm,top=0cm]{...
1
vote
2answers
102 views

How to convert beamer class directly to png

I am trying to use beamer to generate multiple images with some animation effect. Posting my code here (the code content is not relevant, just for easy demo the problem I met). \documentclass[border=...
4
votes
1answer
122 views

Can I resize a TikZ picture to have certain dimensions (width, height)?

Suppose that I have made aTikZ picture using the standalone class, is there an easy way to determine some fixed output dimension of this picture, say width=16cm, height=12cm? This could be useful in ...
2
votes
1answer
91 views

How can I create a table with standalone class?

When I use the ‎‎‎\documentclass{standalone}‎, there is an error in my output PDF file. There is a white page with the table in the PDF, but I want the corrupted one. How can I fix the problem? ‎‎‎\...
1
vote
1answer
123 views

How to change subsection to section and subsubsection to subsection?

I remember learning how to to this long time ago, but I can't figure now how. And google search is not turning anything. I have a standalone latex file which starts with subsection because this ...