Stack Exchange Network

Stack Exchange network consists of 175 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

6
votes
3answers
154 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
18 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
33 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
99 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
83 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
32 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 ...
0
votes
0answers
23 views

Logic behind Standalone Precompiled graphics

I want to compile my expensive graphics to a PDF such that I can integrate the files in my main document. I am using pgfplots and groupplots for that purpose. So let's say I have two graphics looking ...
5
votes
1answer
184 views

Multiple subfiles in folders sharing the same root bibliography

I created a book project (multilingual XeLaTeX) following the modular approach from https://en.wikibooks.org/wiki/LaTeX/Modular_Documents and particularly @ paragraphs "Subfiles" (for the usage of the ...
0
votes
0answers
27 views

standalone + chapterbib + bibtex

My question is similar to this one, but is not covered in the answers. I am writing a document using subfiles as chapters, for which I use standalone. I work on each chapter separately, and each ...
1
vote
1answer
40 views

Cross referencing and standalone class

I have a cross referencing problem using the standalone class. Let me clarify. This is the Main.tex: %** Main.tex** \documentclass{article} \usepackage[italian]{babel} \usepackage{amsmath,...
1
vote
1answer
29 views

emergency stop when macro biblatex and standalone are used

I want to use a personal macro for citing with biblatex that comes from this example. But I have two issues with it. When I do not use the personal macro \defbibentrysetlabel, I get from biber the ...
0
votes
0answers
32 views

Modular projects: Compile parent and child documents using separate custom classes

I would like to compile a main.tex parent document using a custom class as well as child documents using different custom classes. I would like compilation of the parent document to automatically ...
3
votes
1answer
51 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
289 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
72 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
43 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
57 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
68 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
80 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
181 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
157 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
52 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
89 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
38 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
42 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
52 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
162 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
80 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
28 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
90 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
100 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
61 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
58 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
66 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
78 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
70 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
32 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
30 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
71 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
252 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
34 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
71 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
653 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
40 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
53 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
373 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
66 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
44 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
94 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, ...