Questions tagged [standalone]

{standalone} is about questions regarding the standalone bundle that allows users to easily place picture environments or other material in separate source files and compile these on their own or as part of a main document.

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

landscape longtblr with tabularray and multi page in standalone environment

I'm using the longtblr environment of the relatively new package tabularray to typeset a very long table that spans several pages, and I'm also using the standalone package to alter it in a isolated ...
Emanuele Nardi's user avatar
0 votes
1 answer
44 views

`biblatex` and `\includestandalone` is causing unexpected indents in a `tikzpicture` nodes printed bibliography

I am attempting to include a biblatex bibliography within a standalone file containing a tikz flowchart. I am encountering a strange issue with the indents when the reference numbering is >10. For ...
JamesT's user avatar
  • 2,989
0 votes
0 answers
40 views

Standalone + biblatex breaks bibliography

Problem Bibliography isn't being generated when using the package standalone. Perhaps due to a missing .bbl-file. Details The story is that I tried using the standalone package but now my bibliography ...
randomdev1's user avatar
2 votes
1 answer
44 views

standalone's multi option doesn't crop page's content

The standalone documentation claims: If [the multi] option is activated multiple pages are supported. Each page will be cropped to its content plus the selected border (as long either preview or crop ...
Denis Bitouzé's user avatar
0 votes
0 answers
38 views

centering pgfplots in a standalone PDF file

I am using pgfplots to plot figure as a single pdf file, and then include it into the main latex code for the document. A simple example is as following. \documentclass[ border={0mm 0mm 0mm 0mm}, % ...
wxwuse's user avatar
  • 87
0 votes
1 answer
36 views

Why are all of the nodes in this standalone tikz document moved to the bottom left? I am using pgfplots

I have the following code that I am using in pgfplots in a standalone tikz document: \documentclass[tikz]{standalone} \usepackage{pgfplots} \usetikzlibrary{positioning, arrows.meta} \pgfplotsset{...
Rango's user avatar
  • 31
0 votes
0 answers
35 views

Line numbering fail in Standalone class

In the manual of standalone, it is written, that the margins are removed, so that the page ist croped to the content. In addition, we can use multiple pages thanks to "multi=my", which is ...
Bilal Yilmaz's user avatar
0 votes
0 answers
35 views

standalone class and floatrow package: irrevocably incompatible?

The compilation of the following MCE: \documentclass[varwidth=15cm,float=false]{standalone} \usepackage{floatrow} \begin{document} \begin{figure}[ht] \centering A nice graphic! \caption{What a ...
Denis Bitouzé's user avatar
2 votes
1 answer
45 views

Standalone document of a fixed width

My publisher wants my images to be able to be loaded at 100% scale so that font sizes aren't scaled, but requires widths to be one of 20mm, 44mm, 68mm, 82mm or 140mm to correspond to the column widths ...
Cam Lumsden's user avatar
1 vote
1 answer
40 views

Problem with Standalone package with if statements in subfile preamble

I'm trying to use the standalone package. The idea is to have a large collection of standalone TeX files each containing a 'problem' (all text), and to be able to compile larger documents, each ...
Aftermath's user avatar
7 votes
1 answer
300 views

Find the coordinates of a point in a TikZ picture, with respect to the borders drawn by standalone package

Consider a TikZ picture with a circle centred at (0,0) in the TikZ coordinate system. Surrounding the node is a complex shape, such as a curve as shown below. In the standalone package, the border is ...
Sam's user avatar
  • 113
0 votes
0 answers
26 views

How to remove extra space at the bottom introduced by includestandalone

I am trying to move a table to a standalone file (s.tex) in my LaTeX document (a.tex). However, I realize that when I use \includestandalone{s}, LaTeX includes an extra vertical space after the table (...
Eric Stdlib's user avatar
0 votes
2 answers
208 views

A practical way to create, copy and paste LaTeX-generated equations in png format with transparent background?

In order of priority: Online (I use Overleaf on a daily basis, Idk if it can help) (latex2png website seemed perfect at first but many packages are missing [e.g. I can't use the \mathscr{} command]) ...
Ul Tome's user avatar
  • 103
1 vote
0 answers
32 views

Why does \AddToHook{enddocument} create an extra page with the standalone class?

As shown in the following MWE, \AddToHook{enddocument} creates an extra page with the standalone class (with varwidth option), compared to the article class. Why, and is there a workaround? % \...
Denis Bitouzé's user avatar
5 votes
4 answers
710 views

LaTeX Table to Standalone?

I have a relatively complicated table with a lot of manual adjustments to the column widths and spacing that I am trying to convert to a standalone pdf (for the purpose of ultimately inserting it into ...
Katie Nissen's user avatar
0 votes
0 answers
18 views

\maketitle repeats title multiple times when using standlone package

Presently, I am attempting to compile multiple documents which each define their own title using standalone and the \maketitle command repeats the former title in the next document. I am using the ...
sokato's user avatar
  • 101
1 vote
1 answer
55 views

l3build testing several tcolorbox theorems: what would be the best way?

(I'm (still) in the process of trying to understand how l3build tests work.) Suppose I'd like to l3build a test for a class (based on standalone class, but I guess it is of little importance here) ...
Denis Bitouzé's user avatar
3 votes
1 answer
59 views

l3build testing entire pages with the standalone class

I'm (still) in the process of trying to understand how l3build tests work, more specifically for classes, more specifically for the standaloneone. Consider the following custom class (myclass.cls) ...
Denis Bitouzé's user avatar
2 votes
1 answer
45 views

standalone problem with algorithmicx, algorithm, algpseudocode packages. perhaps a missing \item

I am using the code from How may I remove \EndIf and \EndFor in algorithmicx? The code, as is, works in article class. But in standalone it fails. I searched and found one needs to add [H] to ...
Nasser's user avatar
  • 20.2k
2 votes
0 answers
93 views

Standalone convert does not produce png, while the command "convert <INFILE> <OUTFILE>" works well

I use the standalone package to produce png from pdf. It functioned well before, but today the bulid process end up with a warning and no png is exported: Conversion unsuccessful! (standalone) ...
C K's user avatar
  • 21
0 votes
1 answer
34 views

Why this dotless question mark code does not work in standalone class?

See this answer: https://tex.stackexchange.com/a/304506/215887. I wanted to use the following command in the answer: \newcommand{\?}{% \makebox[0pt][l]{% \sbox0{.}\sbox2{?}% \hspace{-.1\wd2}%...
oneofvalts's user avatar
1 vote
1 answer
38 views

Changing citation colour in included TikZ standalone file only

Problem: I am currently writing a document that includes a flow diagram in an appendix. In the flow diagram, I would like to be able to include citations within the TikZ nodes (it is quite technical ...
JamesT's user avatar
  • 2,989
2 votes
1 answer
60 views

Including a TikZ picture in an equation throws error with standalone class

I'm trying to put a TikZ picture inside an equation, and then turn that into a standalone image using the "standalone" class. Representative but meaningless MWE below: % This compiles but ...
Jared's user avatar
  • 23
0 votes
1 answer
54 views

How to included nested standalone documents with subpreambles

I have discovered that standalone package can be used to combine multiple standalone documents into one document. I find this beneficial to split my work into multiple files and then compile certain ...
nikost's user avatar
  • 211
1 vote
1 answer
149 views

Is it possible to save each tikzpicture as separate pdf files with given filenames? [duplicate]

I am using tikz to prepare diagrams for a project. Later I have to include these diagrams in the project files, and that's why I want to save each diagram with a given name. Let's say the following is ...
ddas's user avatar
  • 1,185
0 votes
1 answer
98 views

TikZ standalone fails to generate PDF with tight layout when using loops

Something quite strange happens when I try to add loops in my code (they are actually not really loops, but edges from one node to itself, controlled by in and out arguments. The following is the code ...
maurizio's user avatar
  • 281
1 vote
0 answers
66 views

Text in my included tikz grahics should have the same font size as my main text

I have a problem with the graphics and plots in my Latex document. I create all the plots and graphics with tikz in a seperate Latex standalone File, which produces pdf files. Then I include these pdf ...
Jayzin's user avatar
  • 11
0 votes
1 answer
101 views

Error when \tcbuselibrary only in the preamble of a standalone subfile

The following MCE: % Subfile %%%%%%%%% \begin{filecontents}[overwrite]{subfile.tex} \documentclass{article} \tcbuselibrary{documentation} \begin{document} Foo. \end{document} \end{filecontents} % ...
Denis Bitouzé's user avatar
2 votes
0 answers
74 views

standalone package wrongly claims sub-preamble of a subfile changed if used with \file_input:n instead of \input

As shown by the following MCE, the standalone package loaded with its subpreambles option gives the expected result with \input, but not with \file_input:n when the input file has a non empty preamble....
Denis Bitouzé's user avatar
2 votes
1 answer
60 views

Remove thin black frame around standalone image

My MWE: \documentclass[12pt]{article} \usepackage[most]{tcolorbox} \tcbset{ sidebyside, listing options={ basicstyle=\small\ttfamily, breaklines=true, postbreak=\mbox{\textcolor{red}{$...
WinnieNotThePooh's user avatar
1 vote
1 answer
58 views

standalone inside

The code \documentclass[12pt]{article} \usepackage[most]{tcolorbox} \usepackage{mathtools} \usepackage{chemmacros} \tcbset{sidebyside} \begin{document} \begin{tcblisting}{ comment and listing,...
WinnieNotThePooh's user avatar
1 vote
0 answers
42 views

Standalone package border option [closed]

I have a problem with standalone class: \documentclass[border=0.1cm]{standalone} \usepackage{tikz} \begin{document}% \begin{tikzpicture}% \draw (0, 0) rectangle (4, 2); \end{tikzpicture}% \end{...
dEmigOd's user avatar
  • 397
1 vote
1 answer
43 views

How do I remove the displayed "1.2.11.2.1" in the compiled document?

I am writing a handout using the report class in Overleaf. I wanted to add a graph I had made beforehand in another document (named fig 1.2.1) and I uploaded it to main.tex. I used import and this ...
Therizinosaurus cheloniformis's user avatar
2 votes
2 answers
89 views

Package witharrows and class standalone - Missing arrow in the output

The following code doesn't give the expected result. \documentclass{standalone} \usepackage{witharrows} \begin{document} $\begin{WithArrows} A & = (a+1)^2 \Arrow[tikz=thick]{we expand} \\ &...
projetmbc's user avatar
  • 13.4k
0 votes
1 answer
294 views

Export/Convert a standalone figure to image in Overleaf

I understand that this answer : https://tex.stackexchange.com/a/11880, is quite comprehensive and brilliant in its own right but i want to export a .tex file as an image from Overleaf is there any ...
Muhammad Yasir's user avatar
0 votes
0 answers
39 views

Book compilation taking forever, is standalone the culprit?

I have a book with a very large preamble (lots of commands, packages, etc.). When I comment all chapters but one, compilation takes the expected amount of time. However, when I try to compile the ...
aaragon's user avatar
  • 3,049
1 vote
1 answer
100 views

Listings not showing line number in standalone class

I'm trying to compile a listing in a standalone so it can be \includegraphics'd on a separate document. The line numbers disappear when compiling as standalone, however, even though they do appear if ...
Imp54's user avatar
  • 83
0 votes
1 answer
147 views

Standalone package error "! Extra }, or forgotten \endgroup" in Texmaker

I am using the Texmaker latex editor, and get the following error when trying to use the Standalone package: ! Extra }, or forgotten \endgroup. I am simply following the overleaf tutorial on the ...
WiltonDeany's user avatar
2 votes
1 answer
47 views

Incompatibility between `acmart` and `standalone`

I am trying to use the standalone class together with the acmart class (I am using v1.86). I can use it fine with 1 tikzpicture but it outputs an extraneous glyph with 2 tikzpictures and it throws an ...
Bordaigorl's user avatar
0 votes
0 answers
202 views

Standalone.sty error

there can anyone point out why this file is not working? I tried windows and ubuntu. The two related files and the main latex file are attached. Thanks %\documentclass[12pt,a4paper,twoside,fleqn]{book}...
KRISHNA CHAUHAN's user avatar
3 votes
4 answers
439 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 ...
Talmsmen's user avatar
  • 135
0 votes
0 answers
76 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 ...
niran90's user avatar
  • 204
0 votes
1 answer
56 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 ....
Urmil aka Vicky's user avatar
1 vote
1 answer
56 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 ...
user1993416's user avatar
  • 1,046
1 vote
1 answer
97 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, ...
Ronny's user avatar
  • 6,020
1 vote
2 answers
65 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 ...
sellerBasti's user avatar
0 votes
0 answers
39 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 ...
Wouter's user avatar
  • 11
2 votes
1 answer
284 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 ...
duckmayr's user avatar
  • 163
0 votes
1 answer
296 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 ...
Nico Schlömer's user avatar
0 votes
1 answer
110 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 ...
iago.oliveira's user avatar

1
2 3 4 5
14