The Stack Overflow podcast is back! Listen to an interview with our new CEO.

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

Filter by
Sorted by
Tagged with
0
votes
0answers
17 views

Transparent background using standalone class

I'm using the standalone class to produce an image. I'd like to have the background transparent instead of white. I'm compiling with: pdflatex --shell-escape formula.tex && convert -resize 50%...
0
votes
0answers
13 views

Include a standalone .tex file (which contains two languages) partially (one language or the other)

I am going to collect questions from faculty members written in two languages and combine them in a single main.tex exam file. I have created a sample main.tex file as follows: \documentclass{...
1
vote
1answer
23 views

Standalone class clips text edges

I need to turn a list of about 300 names into images which are exactly the size of the text. My first thought was to use standalone, but that cuts off the edges of some letters (J, u, etc) So I tried ...
0
votes
1answer
28 views

Standalone in subfile

I am trying to do cirkuittikz diagram inside a subfile but if i compile main it does not work. main: \documentclass[12pt]{report} \usepackage[utf8]{inputenc} \usepackage{standalone} \usepackage{...
0
votes
0answers
15 views

How to input standalone LaTeX documents with nested inputs in subdirectories?

I have two LaTeX documents in a subfolder that use the standalone class and share a preamble. I'd like to import these into a single document in the main folder. It would seem that the import package ...
0
votes
1answer
55 views

Company policy won't let me install LaTeX. Is there a way to create a standalone .exe? [duplicate]

My company has very restrictive IT policies. I am not allowed to install LaTeX and the company rules won't let IT install anything that doesn't appear on their list of safe software. I think I see a ...
0
votes
0answers
20 views

standalone and lineno producing big white spaces

With line numbering on a 95 lines text inside a longer document, I have bad interactions between line numbering and the standalone package. I have huge (and unwanted) white spaces added: The text can ...
1
vote
1answer
42 views

Subfiles, pythontex and \pyverbatim -> standalone + pythontex

I would like to introduce some python using pythontex in some of my chapters. I'm using the package subfiles to have a master documents and some childs and it's very convenient for me, I would like to ...
4
votes
2answers
167 views

How to get my graph draw larger?

I had tried to adjust all the length, but i cannot draw the full length of the graph. \documentclass[tikz]{standalone} \usepackage{pgfplots} \begin{document} \pgfplotstableread[row sep=\\,col sep=&...
5
votes
1answer
75 views

write a make file to compile all standalone tikz file

I wrote several standalone tex files for drawing a figure with tikz, I named them with the pattern tikz_*.tex, and now I want to compile them all at once using a make file. First I tried the following ...
0
votes
0answers
22 views

how to avoid standalone pages occur in arxiv upload

In my paper's main tex file I included many standalone tex files and when I upload all the tex file to arxiv, arxiv generated all the standalone pages before rendering my main tex file, is there a way ...
1
vote
2answers
46 views

Problem from converting standalone to article

I have drawn the following flowchart under the document class 'standalone' but the original document in which it is to be merged in of document class 'article'. So when I paste the code in my main ...
3
votes
2answers
82 views

TikZ: Annotate edges with distributions of Bayesian neural network

Is there a way of annotating edges in TikZ with "distributions" as in the right half of this image illustrating the difference between a regular and a Bayesian neural network? Here's what I have so ...
3
votes
2answers
268 views

Empty proof as standalone

I've made an empty proof as a joke (the worst kind of visual proof). It works fine when I use the article document class, \documentclass{article} \usepackage{amsthm} \begin{document} \begin{proof} \...
1
vote
1answer
40 views

How to incorporate subpreambles when including standalone TikZ images?

I want to include a TikZ image into my document. I want it to be self-contained, so that I do not have to pollute my main document with all of its preambles. According to the standalone manual (p. 22) ...
0
votes
3answers
42 views

Advice on using standalone package with tabular environment

Why is content prescribed by the code contained within the tabular environment being truncated (far right) when called using the standalone document class as configured in the mwe below? \...
3
votes
1answer
76 views

Getting \setbondstyle undefined error with mol2chemfig

I have observed a Command \setbondstyle undefined error while using the mol2chemfig package with the following mwe: \documentclass[preview,border=7pt,active,tightpage]{standalone} \usepackage{...
1
vote
1answer
19 views

Weird setspace-standalone interaction

Say I am dividing my thesis into chapter files using standalone. My chp.tex file is: \documentclass[class=report, crop=false]{standalone} \usepackage{pkgs} \begin{document} \begin{table} \begin{...
1
vote
0answers
45 views

Tikz-standalone without redefining tikzstyle

I have a tikz standalone, where I make a tikz picture that is using tikzstyles I define in this file. \tikzstyle{block} = [rectangle, thick, minimum width=3cm, minimum height=1cm, text centered, text ...
0
votes
0answers
25 views

figure label inside standalone is not working. I am not able to refer the figure , its printing ??. my code is printed here [duplicate]

\usepackage{lscape} \usepackage{afterpage}% removing blank space before landscape \usepackage{adjustbox} \usepackage{graphicx} these are the packages i am using for the below figure \afterpage{ ...
-1
votes
1answer
77 views

new line in standalone [duplicate]

Consider this example: \documentclass[margin=1cm]{standalone} \usepackage{tikz} \begin{document} line1 line2 \begin{tikzpicture} \draw (0, 0) -- (2, 2); \end{tikzpicture} \end{document} In the ...
2
votes
1answer
51 views

Why is standalone ignoring tikz decorations.text?

Consider this example: \documentclass{standalone} %\documentclass[margin=1cm]{standalone} ...
0
votes
0answers
36 views

Compile sub-files independently with standalone

I try to set up an application where no info regarding me is showing on the motivation letter. On the CV on the other hand, it should be. I tried to implement it with the standalone package, where the ...
1
vote
1answer
59 views

Why does `convert=ghostscript` destroy equations on high density?

I want to create a high-resolution png to include it into a A0-poster. My Idea was to use the standalone package with the convert=ghostscript option. \documentclass[border=2pt,convert={ghostscript, ...
3
votes
3answers
64 views

Minimal page size for 2 tikzpictures

I am trying to prepare a graph for a colleague to use. I have created the graph but wanted to crop the white space surrounding it. I have tried to use the standalone document class but this results ...
3
votes
2answers
65 views

Output images of math with 16:9 aspect ratio using standalone package

I am attempting to use the standalone package in LaTeX to generate images of practice math questions that will be displayed for an audience as part of a presentation. The final output needs to be PNG ...
1
vote
1answer
35 views

Problem referencing labels with href

I am trying to reference certain sections with href in my index (not using the normal index because I wanted to make a custom one), but when clicking on them it just takes me to the top of the main ...
3
votes
1answer
32 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
176 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
44 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
47 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
120 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
116 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
58 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
22 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
72 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
40 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
42 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
31 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
39 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
25 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
49 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
67 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 ...
4
votes
2answers
52 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 ...
5
votes
3answers
361 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
26 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
85 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
107 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
104 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
59 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 ...