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

Exporting a PNG fails

I'm trying to generate a png image using the below command, however, the code only generates a pdf file, what is the problem? I used terminal and the command pdflatex --shell-escape test.tex \...
1
vote
2answers
29 views

latexmk: endless runs with \includestandalone[mode=buildnew]

The following makes latexmk run until reaches the maximum number of runs only if mode = buildnew for \includestandalone Latexmk: Maximum runs of lualatex reached without getting stable files This ...
2
votes
1answer
40 views

Importance of “standalone” class

Assume that i have a document, in which i should produce lots of plots from csv files with "tikz" package. To plot them externally, it is suggested to use the standalone class and place each ...
0
votes
1answer
124 views

How to make standalone package available by my LaTeX installation?

I want to use LaTeX notes in Xournal++ on Ubuntu to annotate on .pdf. However when I click on insert a LaTeX formula, I got: Could not find LaTeX package 'standalone'. Please install standalone (...
2
votes
0answers
43 views

Tikz standalone picture with graph cropped and not centered

There is a problem with using the standalone output and plotting a simple tree graph with Tikz. The image is neither correctly centralize nor cropped. I added a huge border to show at least something. ...
0
votes
0answers
25 views

How to use -cd label in latexmkrc when “No file C1.aux LABELS NOT IMPORTED.” error occured

I just get No file C1.aux LABELS NOT IMPORTED. error when I try to use \usepackage[subpreambles=true]{standalone} and \externaldocument{C1} commands, in order to quote from another latex files. I'm ...
2
votes
1answer
39 views

Placement of PGFPlots.net Bar graphs

I'm trying to display these 2 graphs so that one is on top of another but every time I got them side by side How can I display them so that one is on top of other so it look like this \documentclass[...
1
vote
0answers
27 views

Standalone is not working with circuitikz [closed]

I'm trying to use standalone with circuitikz, but it is not working, any ideas why? \documentclass{standalone} \usepackage{tikz} \usepackage{circuitikz} \begin{document} \begin{circuitikz}[american ...
1
vote
1answer
32 views

Standalone: Remove number from output filename

I am using the following file to convert a single-page tikz graphic to png: \documentclass[tikz, convert={ghostscript}]{standalone} \begin{document}% \begin{tikz} \node {Test}; \end{tikz}% \end{...
0
votes
1answer
48 views

pdf page size with `standalone` + `tikz`

I made up a simple business card with a standard size. However, when I open the pdf, it's 1.5mm larger (height and width). I've tried to change geometry settings but to no avail. \documentclass[tikz]{...
0
votes
0answers
43 views

Cropping content fails with lualatex, how come?

I'm new to latex, I was wondering given this simple tex code: \documentclass{standalone} \usepackage{tikz} \begin{document} \tikz \draw (0,0) circle [radius=10pt]; \end{document} In the ...
1
vote
1answer
27 views

fitting text into “size” of convert standalone class

I'm generating a .png image using the standalone class. \documentclass[preview, border=0.5 pt, convert={size=650x650,outext=.png}]{standalone} \usepackage{amsfonts} \usepackage{mathtools} \usepackage{...
2
votes
1answer
66 views

How to show complete picture in standalone class?

Attached code is a letter 'M' (one of) from a logo. It turns out that the letter comes outside the boundary. How can I get a preview of the whole? Is the space limited within the standalone class? And ...
3
votes
2answers
98 views

TikZ image of Masked Autoencoder for Distribution Estimation (MADE)

I'm trying to recreate this image of a MADE net in TikZ. Here's what I have so far. Any advice on how to draw the mask matrices and perhaps how to incorporate the numbers inside the neurons of the ...
2
votes
1answer
38 views

Output of aux file from standalone with subpreambles contains undefined command

Was: Document starts with dimension as text I'm using pgfgantt in a file in a subdirectory, which is included using the standalone subpreambles feature. However, the textual value of a dimension is ...
15
votes
2answers
474 views

Tikz image of normalizing flow

I'm trying to recreate this image in TikZ. Here's what I have so far. I'm struggling with how to display the probability distributions below the znodes. \documentclass[border=1cm,tikz]{standalone} \...
0
votes
1answer
61 views

Cannot use the standalone subpreambles and have the same \newtheorem command in the main TeX and subfile

I'm trying to write a LaTeX book, and when I use \newtheorem{definition}{Definition}[section] comment, a weird thing happened: When I put the command only in the main file, the main TeX works ...
0
votes
0answers
25 views

How to embed TeXlive 2018 chemfig diagram with mesomeric effects inside of standalone environment?

I am trying to programmatically draw individual chemfig diagrams based on "live" input data and embed them into an interactive dashboard. As such, I am not looking to generate a scientific ...
0
votes
0answers
19 views

Using [subpreambles]{standalone} causes the document to not compile

Yesterday I had this problem which was quickly resolved, but now the Solution doesn't work anymore. The problem happens with this small piece of code already: \documentclass{article} \usepackage[utf8]{...
2
votes
1answer
52 views

Border not drawing of included TikZ

this is my first time using TikZ and drew a standalone diagramm like this: \documentclass[border=2pt]{standalone} % math packages \usepackage{amsmath} \usepackage{amssymb} \usepackage{bm} % tikz \...
1
vote
0answers
41 views

Custom PDF page resources with standalone.cls

If I want to embed custom resources into the page object generated by pdfTeX, with most document classes it doesn't matter whether I do it in the preamble on the page, e.g.: \documentclass{article} \...
0
votes
0answers
29 views

Latex tikz code adjustment. help needed

I'am trying to draw the below image with latex and tikz \documentclass{standalone} \usepackage{tikz} \usetikzlibrary{matrix,chains,positioning,decorations.pathreplacing,arrows} \begin{document} \...
1
vote
0answers
40 views

How to put a figure created by TikZ + standalone inside an example default frame created by mdframed? [closed]

Got an error when tried to put a figure created by TikZ + standalone inside an exampledefault frame created by mdframed. Below is the main code: \documentclass{book} \usepackage{tikz} \usepackage{...
0
votes
0answers
48 views

Standalone tikz figure textwidth

I have a larger document from which I want to extract all tikz/pgfplots figures into standalone documents which I then include in my main document with \includegraphics. However, I usually set the ...
0
votes
0answers
26 views

Tikz standalone builds alone but tikzset causes build problem from make

I have a diagram that I'm using in a separate standalone tikz file. It builds completely fine if I just run pdflatex on that single file. I can then run make and it will be included in my main project ...
1
vote
0answers
67 views

How to compile a PGF/TikZ plot several times using the standalone package?

In my main document mwe.tex is a PGF/TikZ plot integrated using the package standalone. This plot contains several frames so that several axis with different axis scalings/ axis sections are ...
5
votes
2answers
135 views

how to use standalone class with option [multi=tcolorbox]?

MWE: ! pdflatex \documentclass[multi=tcolorbox,crop]{standalone} \usepackage{tcolorbox} \usepackage{lipsum} \begin{document} \begin{tcolorbox} \lipsum[1] \end{tcolorbox} \begin{tcolorbox} \...
2
votes
2answers
61 views

Matching the font size in standalone with IEEEtran

I have a tex file in IEEEtran with its default font size, which is 8pt. I want to include an image PDF, generated by standalone with font size 12pt. I set the scaling to be scale=0.666667, which is 2/...
2
votes
0answers
38 views

spurious indent combining standalone, french, itemize and verbatim

I have an indentation problem that I finally solved adding \usepackage{enumitem} but I can't understand the reasons why the problem happened in the first place and got solved using enumitem. I nailed ...
0
votes
0answers
42 views

Compile/referencing error with input and standalone

I'm trying to break up a large project into chapters, and include all the chapters in a single file that I can compile at the end, using standalone.sty to strip the individual files of their preambles....
1
vote
1answer
52 views

Commutative Diagram in Standalone using TikZcd

I'm trying to draw a diagram of a function that is Injective but not Surjective. I'm using standalone, and want the end result to look like the this image: My code is modified from https://tex....
0
votes
0answers
25 views

Vertical Spacing Upset by Document Class “Standalone”

If I try to change the document class from "article" to "standalone" in order to export my work as a trimmed image (to insert in a separate document), the vertical spacing seems to be thrown off. I ...
1
vote
0answers
19 views

Standalone class and Cross referencing

Is the standalone package compatible with the crossref (xr) package? This has been asked before, but the answer does not work for me. MWE: main.tex \documentclass[]{article} \usepackage{standalone} \...
0
votes
1answer
28 views

Large document multifile structure with pgf and data subfolders using import

My project file structure is: C:\USERS\NAME\MULTIFILE_MWE │ main.tex │ ├───pgf │ data.csv │ pgftikz_fig.tex │ └───sections section_import.tex My requirements are: main.tex ...
0
votes
0answers
29 views

Tikz Document Margin and Orientation

Here is my code: \documentclass[tikz,border=3.14mm]{standalone} \usepackage{amssymb, graphicx} \usepackage{amsmath} \usepackage{amsthm} \usepackage{float} \usepackage{enumitem} \usepackage{amsfonts,...
0
votes
1answer
33 views

How to get bigger font size in \documentclass{standalone}?

The fontsize \Huge is small relatively to the image I am writting on. How can I increase the font size?
2
votes
1answer
50 views

standalone and chemmacros

I am using chemmacros to write REDOX chemical reactions. I tried using "standalone" to create a file the size of the equation, but it didn't work. how to solve this problem? \documentclass[border=...
0
votes
1answer
72 views

Using the standalone package with PDF + LaTex export from Inkscape to create an image crashes with “Use of \@item doesn't match its definition.”

I am trying to use the standalone package to create a PDF figure annotated with LaTex math. The PDF is generated as export from Inkscape, with separate LaTex commands, resulting in two files: PDF, and ...
1
vote
1answer
36 views

Subfigure sizes are not equal? creating tikzpictures (using standalone package - MWE included)

I use the standalone package and create my tikz pictures in a seperate .tex file. I create a subfigure in the chapter I want it to be and when I compile main.tex the subfigures is loaded. I created a ...
1
vote
1answer
40 views

why does standalone mess up my plot alignment in PGFPlots?

I built 2 plots using the following code \usepackage{pgfplots} \usepackage{pgfplotstable}%fitting functions \usepackage{tikz} \usetikzlibrary{tikzmark} \usepackage{pgfplotstable} \usepackage{siunitx} ...
0
votes
0answers
44 views

Exclamation mark on first page instead of title page when compiling document, how to fix it?

When I am compiling my main.tex, I have an exclamation mark on the first page of my document (instead of my titlepage). I am using the standalone class and overleaf. I did not have this problem before,...
1
vote
1answer
51 views

Two pdf standalone pictures side by side in beamer slide

This is what I have done so far. I have used minipage here but beforehand I tried columns and the outcome was exactly the same. What am I doing wrong? \begin{frame}{Pratice Questions} \begin{minipage}...
0
votes
0answers
33 views

Using arguments for tikz style in standaloneframe not working

For creating TikZ images for beamer presentations I use the standalonepackage and standalone frame. Now I reallized that if I try to define tikz style with an argument (#1) locally at the tikz ...
3
votes
1answer
68 views

Tikz with Standalone: One PDF for each side

Writting my bachelor thesis (unfortunatelly we are told to use MS Word) I am using Tikz for creating my figures. As I have several tikz-files I am using the standalone package to create a .pdf for ...
2
votes
1answer
64 views

Using headers in external TikZ figures with \includestandalone

I am facing an issue using figures in standalone files. My problem is related to the one described here. As I use many similar styled figures I want to put the header into a separate file so I can ...
1
vote
1answer
95 views

Natbib undefined error while using standalone

I am working on a project that is going to be fairly big. I therefore decided to work with the standalone package. I work in overleaf and my project is structured as follows: ->Main.tex ->...
0
votes
1answer
64 views

Defining font size in standalone with xelatex

I want to produce svg images of tikz pictures in a standalone environment that match the main document. So far everything works just fine. However, I am struggeling with defining the fontsize of the ...
0
votes
1answer
90 views

Include folder with TikZ plots in the preamble

I'm writing my PhD thesis and I have just discovered the matlab2tikz script for MATLAB so I wanted to convert my plots and put them in the document using pgfplots. My thesis is already very big and ...
0
votes
1answer
95 views

TikZ standalone document not rendering colour (Overleaf)

I moved my perfectly fine tikzpicture into an external file on its own. But rendering it as a standalone document seems to disregard the xcolor package, even though I included that as well. I'm ...
0
votes
0answers
52 views

Error using standalone.sty - memory exceeded

I have the following in my preamble: \documentclass[12pt,PhD,wordcount,twoside,anon]{muthesis} \usepackage{graphicx,stackengine} \usepackage{url} \usepackage{tikz} \usepackage[...

1
2 3 4 5
11