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
3 votes
3 answers
214 views

Render display math properly in Standalone environment

I am attempting to use latex to generate images of mathematical equations using the standalone environment. I wish to force the subscript and superscript to appear below and above the sum respectively ...
user avatar
  • 133
0 votes
0 answers
36 views

Inferring the baseline height and bounding box widths of characters/text/equations in the 'standalone' environment

I am writing a mathematics visualisation tool using C++ and OpenGL, and want to incorporate LaTeX text and equations. I was initially looking for a C++ library to directly render LaTeX text/equations ...
user avatar
  • 204
0 votes
1 answer
42 views

How can I adjust the labels on a number-line (to show inequalities) such that the dimension of the .png file (to be download) produced has same size?

Hello Community Members, I am working on creating graphs for school students and I was making number-line(s) for a school project. Note that I am only using LaTeX to create graphs, so I download the ....
user avatar
1 vote
1 answer
41 views

How to adjust standalone picture to the plot inside

This figure has represented a speedbag for training and some more nodes. However, when compiling the resulting PDF has a blank area at the bottom: \documentclass[border=2mm]{standalone} \usepackage ...
user avatar
  • 1,036
1 vote
1 answer
26 views

LaTeX Beamer and Standalone – Title vanishes

I am trying to set up a repository to collect slides and reuse them, so it seem reasonable to use standalone and its beamer features, however in the following M(n)WE \documentclass[aspectratio=169, ...
user avatar
  • 5,760
0 votes
0 answers
15 views

Tikz image resizing + externalize to eps in standalone

I have a tikz image that I want to resize (with \resizebox) and then export as .eps. The PDF file that is generated by pdflatex has the correct dimensions from resizebox. However, the PDF generated ...
user avatar
  • 47
1 vote
2 answers
39 views

Problem inserting tikz standalone with defined custom node

I am trying to insert an implemented tikz graphics into another latex document. I defined the tikz graphics in a standalone document. I defined a \tikzset inorder to draw cross nodes. This graphics ...
user avatar
0 votes
0 answers
26 views

Nested Stand-Alone with flash cards not working

I have made flash cards using the flacards document class, but they are from multiple topics across multiple semesters. I want to be able to have a unique footer for each topic/semester, as well as ...
user avatar
  • 11
2 votes
1 answer
82 views

How can I make a standalone image with a transparent background?

When I try to make a PNG image using TikZ by using the convert option for the standalone class, I cannot figure out how to make the background transparent. I seem to recall some years ago that this ...
user avatar
  • 153
0 votes
1 answer
71 views

standalone with floats/figures

I'm writing a small tool that takes figures/tables etc out of LaTeX code and compiles them as a standalone PDF. It works mostly fine, but I have problems with subfig since it needs a figure ...
user avatar
0 votes
1 answer
44 views

Label of y-axis missing in imported plots with pgfplots when compiling wth XeLatex

I use PdfLatex while writing my Latex documents, however I am currently experiencing with XeLatex. While compiling some articles with several plots with XeLatex (and that compiled perfectly with ...
user avatar
0 votes
0 answers
32 views

Manually break tcolorbox in standalone environment

Consider this MWE: \documentclass[varwidth=4in, multi={my}, crop, ignorerest=true]{standalone} \usepackage{polyglossia, forloop} \usepackage[most]{tcolorbox} \newcounter{loopcntr} \newcommand{\rpt}[2]...
user avatar
  • 2,355
0 votes
1 answer
36 views

Using pdf generated in a standalone documentclass in an other project

So I have this big project on Overleaf, and I need to import bar chart from another project. I'm using \documentclass[tikz]{standalone} to generate my bar charts. Everything is working great at this ...
user avatar
  • 47
0 votes
1 answer
57 views

Using standalone document option displaying minted code on a single line

I want to use standalone option for my latex document. I am trying to display code using the minted package but the entire line of code gets displayed on a single line. Below is a example. code.cpp ...
user avatar
0 votes
0 answers
33 views

Memoir document class with included non-memoir document

I am creating a LaTeX document (a book) using the Memoir document class. Everything has worked well and I have a nearly-complete book. I want to include an appendix that contains a LaTeX document ...
user avatar
  • 41
2 votes
1 answer
104 views

How do I put math mode inside a TikZ picture inside math mode?

I have the following code for an equation using TikZ pictures. \documentclass[crop,tikz,convert={outext=.svg,command=\unexpanded{pdf2svg \infile\space\outfile}},multi=false]{standalone}[2012/04/13] \...
user avatar
  • 23
0 votes
0 answers
55 views

Geometry for standalone class

When using article class, one can specify arbitrary page size using geometry package. But in standalone class, I can only specify the width using the varwidth option. I tried using geometry package ...
user avatar
  • 2,355
1 vote
0 answers
40 views

standalone produce strange output

its a chinese cls thesis template with xelatex, miktex on windows 10 if i use input, the produced pdf is correct if i use \includestandalone,out put has 4 strange numbers? both produce no separate pdf ...
user avatar
1 vote
0 answers
28 views

Produce PDF/ PNG of a specific aspect ratio

Here is the MWE: \documentclass[table]{standalone} \usepackage{graphicx, polyglossia, lipsum} \usepackage[most]{tcolorbox} \newtcolorbox{mybox}[2][]{% enhanced, before upper=\setlength{\parskip}{\...
user avatar
  • 2,355
4 votes
1 answer
82 views

Including articles as appendix in dissertation

For my dissertation, I need to include my published articles as an appendix. My articles are standalone LaTeX projects with their own preamble, template to adhere to the style guide for the publisher, ...
user avatar
  • 153
2 votes
1 answer
59 views

TikZ set text above node to same distance as other text

consider the following code for a TikZ image: \documentclass[crop, tikz]{standalone} \usetikzlibrary{arrows,% positioning,% shapes} \tikzset{% Block/.style ={rectangle, rounded corners, ...
user avatar
  • 443
3 votes
1 answer
87 views

Margins of a standalone chessboard using xskak

I can't get rid of the white margins when producing a standalone chessboard using the xskak package (I have the same problem with the alternative chessboard package). Here is a minimal example: \...
user avatar
0 votes
0 answers
38 views

standalone package resize as in original document

I am trying to use Latex images on my website. For this I use the standalone package. The problem is that it generates too large images. The text on these is much larger than the normal text on my ...
user avatar
0 votes
1 answer
28 views

Standalone adds extra to paper width and height

I want to convert two or more pictures file into pdf. Searching in TEX.SE it suggested the following (TexLive 2021, pdflatex) \documentclass[multi=page]{standalone} \usepackage{graphicx} \usepackage{...
user avatar
  • 179
0 votes
1 answer
311 views

A complete standalone TeX installer, that comes along with all the TeXLive or CTAN packages in format EXE for Windows

I have checked two questions before: Offline Installation: How to install a full TeX distribution in an offline computer? TeXLive 2016 for Windows The bank, where I work as a software engineer, does ...
user avatar
2 votes
2 answers
187 views

How to get a page without white border?

It want a PDF (or PNG) output of a Latex document on one long page, trimmed without the white borders, in minimal runtime. The preview and standalone packages have this built in in some way and I ...
user avatar
0 votes
0 answers
35 views

subcaption in standalone tikz/pgfplots

Consider the answer to the question asked here, in which referencing to the different plots of a groupplot is explained. As I usually create a standalone file for each of my figures, I would like to ...
user avatar
  • 85
1 vote
1 answer
69 views

Standalone with verbatim - highlighting code with pygments

Issue: The width of the generated pdf does not match the width of the code The Python package Pygments is used to generate a syntactically highlighted code in LaTeX format. As an example, the input ...
user avatar
  • 607
0 votes
1 answer
582 views

main.tex .....Missing \endcsname inserted , Extra \endcsname

I tried creating a multi-file project as described in overleaf here, but I get this message main.tex .....Missing \endcsname inserted and this message main.tex... Extra \endcsname for the line ...
user avatar
2 votes
1 answer
80 views

How to fix an error in which Standalone with Beamer and PSTricks produces a blank page?

I want to create an animation using features provided by standalone, beamer and pstricks. My attempt is as follows but it produces a blank page. How to fix this error? \documentclass[beamer,preview,...
user avatar
0 votes
0 answers
62 views

How to add footnote in [standalone]?

I'm currently creating a script, having my pleasure with the standalone format. However I don't get footnotes to work. They would be a huge add-on to my work so far. Let me give you a minimalistic ...
user avatar
  • 363
0 votes
1 answer
104 views

standalone does not produce a transparent background

In https://tex.stackexchange.com/a/382726/240454, the author claims that the background of tikzpictures are transparent by default. In this MWE, for me, using either pdflatex or xelatex, I remain with ...
user avatar
1 vote
0 answers
28 views

Should I put tables in a standalone environment?

In the past, to speed up compilation when writing TikZ I would put the TikZ code into a standalone document to compile it separately. This way, it wasn't recompiling every time I compiled the main ...
user avatar
  • 275
2 votes
3 answers
188 views

standalone document with algorithm2e package

I'm trying to generate a pdf file containing an algorithm, which will be included in the main document as a figure. I tried using standalone as follows: % main.tex \documentclass{standalone} \...
user avatar
  • 317
4 votes
1 answer
66 views

Image not complete

I'm starting to use pstricks but I'm having problems with the size of my images. As I want to export the resulting image, I used the class standalone. Problem: When exporting, only part of the image ...
user avatar
  • 649
1 vote
0 answers
47 views

Including a "clickable" standalone tikz figure

I am wondering how I can include a clickable tikz figure generated as standalone and preserve the clickable functionality. The following file generates a pdf that shows a popup when I click on the ...
user avatar
  • 21
1 vote
2 answers
90 views

How to use standalone correctly? Scaling issue between standalone and \input

I have to deal with multiple rather large tikz images which I'd like to run isolated as a standalone file. Now, when integrating these images into my main file, the scaling is off. Meaning that I ...
user avatar
  • 65
1 vote
1 answer
34 views

Using \newtheorem with the standalone document class

Is it possible to create a small file containing a theorem? (possibly using the standalone document class) Using the following code with the standalone fails: \documentclass{standalone} \newtheorem{...
user avatar
  • 51
3 votes
3 answers
166 views

How can I make xcolor work from standalone documents?

I'm trying to use basic colors of the package xcolor from standalone documents, but the following error is returned: main/filename.tex|29␣error|␣Package␣xcolor␣Error:␣Undefined␣color␣`MAGENTA'. The ...
user avatar
3 votes
1 answer
123 views

Standalone creates extra empty page (MWE)

There are many images I want to generate separately and import into my main tex document using \includegraphics. However, using the standalone documentclass generates an extra blank page after the ...
user avatar
1 vote
0 answers
32 views

Is it possible to install the fonts used by LaTeX onto my computer? [duplicate]

The reason I ask is because I'm trying to take the standalones, update them with some variations using a graphic design software (Affinity Designer), and turn them into YouTube videos. I could ...
user avatar
1 vote
0 answers
34 views

Definition not working with standalone

I have a definition to highlight text in beamer that I obtained from some post here. It works fine when I use beamer class, but complains about the definition when I use standalone class. This is in ...
user avatar
  • 2,313
0 votes
1 answer
50 views

tikz input/includestandalone using axis mostly yields Missing/Extra {}

Im trying to include several graphics with \includestandalone (or \input if necessary). Neither my own simple tikzpicture as standalone with axis are able to compile nor the ones I create e.g. with ...
user avatar
  • 397
2 votes
1 answer
247 views

Align and equation do not work in standalone

I am trying to use align and equation in standalone, but I get compiler errors even in the most basic of examples. For example, \documentclass{standalone} \usepackage{amsmath} \begin{document} \...
user avatar
0 votes
1 answer
49 views

Graphicspath and standalone

I have a standalone setup with the following file structure A ├── A.tex └── sections ├── B │   ├── Bimages │   │   └── cat.png │   └── B.tex └── C ├── Cimages └── C....
user avatar
1 vote
0 answers
64 views

Standalone insists on compiling all files

I am using vimtex(which itself uses texlive?) to edit some files called A, B, and C. A is my main file and I intend to intend to embed B and C in it. But B and C are large individually, so I wanted to ...
user avatar
0 votes
1 answer
120 views

Compile standalone TikZ picture as <presentation> or <article> via beamerarticle

I use Beamer-style overlays (\uncover, \only, etc.) in TikZ pictures that I embed into two different documents generated via \usepackage{beamerarticle}: A Beamer <presentation> that translates ...
user avatar
0 votes
0 answers
47 views

Can a subfile have its own preamble without the standalone package?

Can a subfile have its own preamble without the standalone package? I tried adding a preamble to a subfile, basically just a different font and it did not work. Is there a way to do so (because I hear ...
user avatar
1 vote
2 answers
98 views

Vertical stacking of subfigures in standalone document class

I have a tikz drawing I want to export as a PDF. \documentclass{standalone} allows for the PDF to be cropped to the size of the drawing. However, the subfigures are then horizontally stacked. What can ...
user avatar
  • 121
0 votes
1 answer
125 views

standalone wrongly claims sub-preamble of a subfile changed

(Maybe related to this question.) Each pdflatex compilation of the following MCE: \begin{filecontents}[overwrite]{subfile.tex} \documentclass{article} \newcommand\mycolon{:} \begin{document} Foo. \end{...
user avatar

1
2 3 4 5
13