Stack Exchange Network

Stack Exchange network consists of 174 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
35 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
250 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
62 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
30 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
50 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
38 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
65 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
175 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
138 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
37 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
81 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
31 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
31 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
45 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
156 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
55 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
22 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
81 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
86 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 ...
1
vote
1answer
38 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
38 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 ...
1
vote
1answer
59 views

Reuse external file with user commands in both main file and standalone files

This is a problem I encounter frequently, and for which I don't have a good (i.e., scalable and automatic) solution. Suppose I have a main document MWE.tex, a macro file with custom commands macros....
1
vote
2answers
48 views

Error with algorithm package occurred when using standalone subfile

I am trying to create a standalone subfile in which I want to add some algorithms. The document is compiled right when I am using the \documentclass[9pt]{article} in the preamble. But the following ...
1
vote
1answer
50 views

Resizing a standalone pdf-file with \geometry results not in the correct size or content is shifted

I want to externalize my tikz-picture in a standalone class. Because I am using relative measures as \textwidth I need my standalone-file to match excatly the dimensions as my main.tex is. Looking ...
0
votes
0answers
30 views

Picture created with standalone looks quite different than the original one

As the external package from tikz did not work (I don't know why) I switched just using the standalone documentclass for making my plots and pictures. However, I receiving serious issues compiling ...
0
votes
0answers
24 views

Using \input{standalone_file.tex} and ignore some lines or commands in it

I want to draw my tikz-pictures inside a standalone class. However, for referencing and bib purposes and to make sure all font setting etc. are correct, I then want to compile the picture from the ...
0
votes
1answer
70 views

Compilation error when standalone is used together with scrlayer-scrpage

Major edit to clarify my intentions (Original question at the bottom) I have three documents: (1) The custom class: %myclass.cls \NeedsTeXFormat{LaTeX2e} \ProvidesClass{myclass} % myclass is ...
0
votes
0answers
187 views

gnuplot cairolatex standalone - how to change font size?

I use gnuplot with the cairolatex standalone terminal to produce PDF graphics of my plots which I later use to include in my other documents. This is how I make the plots: set terminal cairolatex ...
0
votes
0answers
32 views

When using \input{document_with_tikz.tex} the paths inside document_with_tikz.tex getting wrong

I have some main document and want to insert another .tex file which contains a tikz-picture (standalone documentclass). In my project I have a folder for some shared preambles like commands of ...
3
votes
1answer
56 views

Tikz-Picture: Insert pure tikz-code via \input[file_with_tikzcode.tex] or use \input combined with standalone package?

I am wondering if there is any kind of difference mentiones in the approaches above? Situation1: I have my main.tex with just normal text. When drawing a picture, I create another .tex file with just ...
3
votes
1answer
69 views

Possible ways to split up and then recombine lecture notes

I'm teaching Math Methods of Physics this fall, and want to provide written notes after class for the students to use. I'd like for them to be individual lectures, but combinable into one document ...
10
votes
1answer
641 views

Is my current workflow worth using or idiotic?

I am currently writting my thesis and use several graphics which I make using tikz. For now on my workflow/document looks as the following: In the latex project folder I have a seperate folder where ...
1
vote
0answers
36 views

pgfplots/standalone: setting new layer trims pgfplot output when called by \includestandalone[mode=tex]

For the main file \documentclass{article} \usepackage{pgfplots} \usepackage[subpreambles=true]{standalone} \pgfplotsset{compat=newest, layers/my layer set/.define layer set={ background,...
1
vote
1answer
50 views

standalone: Outsourcing TikZ while relaxing predefined lengths

I have one main document and two standalone files of tikz pics as given in this answer. I need to have \newlength in the main document and all the standalone files in order to be able to run any ...
1
vote
0answers
320 views

Install Standalone Package Without Internet Connection, No GUI, Windows 10

I have MikTex 2.9 installed from the basic-miktex-2.9.6520-x64.exe file. I need to install the Standalone package automatically without using the internet whatsoever as well as without any GUI ...
1
vote
1answer
63 views

Standalone build command does not capture all length

I am working with standalone sub-file in build mode. I would like to pass lengths from the main file to the sub-file. To do so, according to this answer , I put it in the command used by standalone to ...
2
votes
1answer
42 views

Standalone in build mode forget command

I would like to know if it is possible to give a command that includestandalone would remember when building the pdf. To explain a bit more, I like to put all my extra data like my standalone ...
2
votes
0answers
70 views

how do I display very large proof trees (bussproofs, ebproofs, tikz's tree library)

I am looking at different options to typeset proof trees. I have asked a more general question and run into some issues. In particular I am trying to understand how to display very large proof trees, ...
2
votes
1answer
43 views

tikzexternalize and includegraphics that containning a standalone file

Because I have to include a lot of plots I want to externalize my tikz figures. But also because I like to work with standalone when I create the tikz figures, I would like to combine both. But I get ...
2
votes
2answers
111 views

How to fix arbitrary whitespace issues?

Okay, brand new to LaTeX. Starting with a super simple example. What's up with the arbitrary whitespace placement, and what can be done to fix it? \documentclass[border=10mm]{standalone} \begin{...
2
votes
3answers
151 views

Insert grid on tikz picture with standalone

I'd like to insert a grid to fill the whole picture. I'm trying to mimic a blueprint paper. So, I have two questions: Why the use of colored rectangle change the border around picture? Why the grid ...
1
vote
2answers
99 views

Using \includestandalone for TikZ figure which uses \includegraphics

I have a main document which imports a TikZ figure contained in a standalone document. The TikZ figure uses \includegraphics inside one of the nodes, to add a PNG figure in the same folder. It ...
0
votes
1answer
144 views

How to get rid of left and right margins with standalone images

When using the standalone package to move my images outside of the main document an annoying side effect shows up. The standalone tex file will always have a left margin of about 0.75cm. I can ...
0
votes
0answers
53 views

“standalone” doesn´t find magick.exe

I would like to use the standalone package for getting formulas as png. This is my approach: \documentclass[crop=true, border={1pt 1pt 1pt 1pt}, convert={convertexe={magick.exe}}, convert=true]{...
1
vote
1answer
49 views

Troubles using `standalone` class with subfig

I would like to generate a figure which I want to embed in another document as PDF. For this I would like to use the standalone class, which I've used before. But now I run into great troubles. The ...
0
votes
1answer
39 views

Embed two {Standalone} in {article} with /minipage

I have to embed four documents{standalone} in another document{article}. \includestandalone is not working for me. (I have the data in the same folder, therefore the /./) I tried to include with this ...
5
votes
1answer
95 views

Using standalone package to reduce tikz compile time

I am using standalone package by Martin Scharrer in a report. I read in this answer by Martin that if the document loads with a [mode=buildnew]{standalone} package, then for each picture that is ...
3
votes
1answer
56 views

Standalone doesn't place properly the content

I'm trying to create many small pdf graphics such as this one: \RequirePackage{luatex85} \documentclass[11pt,a4paper]{article} \usepackage[margin=0cm]{geometry} \usepackage[dvipsnames]{xcolor} \...
0
votes
0answers
458 views

Standalone error after moving from Overleaf v2 to v1

I've moved a project from Overleaf v2 to v1 by downloading all files and reuploading them to a blank v1 project. This has worked fine but I've now started getting the following error about 80% of the ...
2
votes
1answer
52 views

Options \includestandalone + rotate

I use \includestandalone for manipulating as an image a TikZ code and I want to be capable to rotate this TikZ code without modifying it, e.g.: \documentclass{report} \usepackage{standalone} \...