Quantcast
Browsing latest articles
Browse All 147 View Live

Use listing for Matlab code from another file directory

I used the listingcode example from here What can I use to typeset MATLAB code in my document?to load a matlab code file directly into LaTeX, but I use different file directories as...

View Article


Global and chapter level compilation for graphics, bibliography and subfiles

I am assembling my final dissertation from some articles I have written over the past years. I am using subfile and a main.tex file to collect all the preambles in one place and just plug in all the...

View Article


--- Article Not Found! ---

*** *** *** RSSing Note: Article is missing! We don't know where we put it!!. *** ***

View Article

Overleaf - Compiling multiple .tex files into multiple outputs...

Clarification: I am looking for a way to automatically run pdflatex on multiple .tex files to produce multiple separate .pdf files when I click the Recompile button in Overleaf.I have multiple .tex...

View Article

Add separate \maketitle to subfile which only executes when the subfile is...

I'm writing a document with multiple files, and I hope to add titles to them like so:%%% main.tex\documentclass{article}\usepackage{subfiles}\title{Main}\begin{document}\maketitleSome...

View Article


Image may be NSFW.
Clik here to view.

How to make bibliography to work in subfiles of a subfile?

I am writing a long report that needs the help of the subfiles package to break it into individual sections. It works like a charm until I further split one of the subfiles into two. Previously, the...

View Article

Subfile compilation fails bibliography

I am working on overleaf, and I am trying to set up a large project. When I compile main.tex the citation appears, but when I do the local compile of content/mini.tex they do not.Any suggestions?My...

View Article

latexmkrc and subfiles

I have a LaTeX-Project that is split into multiple files using the package subfiles. The project has the following...

View Article


Image may be NSFW.
Clik here to view.

using subfiles package and input at the same time

I want to call some files in folders.So I have 3 files :1. main.tex (in the root)2. commands.tex (in ./chapters)3. control1.tex (in ./chapters)These files contains below...

View Article


What is best practice to set up Multi-file tex documents?

I have researched the topic how to split my big book project into several files. Basically there are two main packages I found one should work with which are the “standalone” and the “subFile” package....

View Article

Image may be NSFW.
Clik here to view.

Referencing ExPex example from a different subfile?

Is there any way I can get subfiles to correctly reference ExPex example numbers? Say I had a main file which contained two subfiles. One subfile contains an ExPex example, and the other contains a...

View Article

Demoting unnumbered section using newenvironment not working for subfile

I am trying to export a tex using subfile into a main tex file. The file structure is the same for both the main file and subfile. The importing of the subfile is an addendum.The leveldown of the...

View Article

Use tex subfile as appendix with separate TOC and frontpage

I have two files that are very similar; their preambles are very similar. They are also both full documents with their own chapters, front pages and tables of content. I want to use one of those files,...

View Article


Different definitions of commands in different chapters with subfiles

I have a LaTeX project which I've created using subfiles which contains several nested directories. Each of the directories other than the bottom-most one in the hierarchy contains a main.tex file...

View Article

Bibliography with subfiles package in Texmaker

I've been trying to use a template I developed in Overleaf in Texmaker for my thesis. I would like to use the subfiles package so I can compile parts of my (eventually) large document separately, where...

View Article


Compile glossary files individually for testing

Is there a setup that allows importing glossary definitions from another file, while at the same time being able to compile this file in a standalone manner (for testing...

View Article

subfiles — compile \printindex separately

subfiles is designed to both work as \input, but also allow to compile a subfile individually in order to save compile time.I have a big multi-file project and I want to test my index style while...

View Article


pdfpages Error with subfiles and XeLaTeX

I have a project with the following structure:./sections/appendices/appendices.tex./sections/appendices/my_file.pdfmain.texHere's a...

View Article

Path problem with subfiles, and fontspec

I have the project with the following structure:fonts/ times.ttf timesbd.ttf timesbi.ttf timesi.ttfsections/ section1.texmain.texMy main.tex...

View Article

Find and replace in a document consisting of many 'included' files using...

I have parent(main) document which includes (through \include command) many (more then 100) small files. I want to use find and replace in all these latex files once (as it will take lots of time to go...

View Article

"Undefined control sequence. \begin{document}" in subfile when compiling in...

"Undefined control sequence. \begin{document}" is printed when I compile a subfile in TeXstudio. (I.e., when I hit F5 when in the subfile. F7 does not work either.)In one special case, in the preamble...

View Article


Including standalone tikz in beamer

I have a stand.tex that contains the following latex code:\documentclass[tikz,border=10pt]{standalone}\begin{document}\begin{tikzpicture} % Draw horizontal line \draw[->] (0.5,0) --...

View Article


Subfiles with special packages in each

Recently I learned that I can add special commands for my subfiles, which will be invisible to others.But I am wondering, how to do that if my commands are located in special packages.The question is...

View Article

Subfiles with a special command in each

I have a document with, for example, 3 subfiles. I want to define a new command that works only in one of my subfiles and will be unknown in other subfiles.Can you please help me, how to do it?My...

View Article

The standalone package and custom sty files

I wanted to use the standalone package to speed up the compilation of my large project, I landed on this files structure:.├── main.tex├── Includes.sty├── Language.sty├── assets│  └── img│  └── pdf└──...

View Article


Consistent biblatex citation numbering when using subfiles

I am using subfiles to split my project in individual parts. For the bibliography I am using biblatex. I only want a single bibliography for the whole document. But would like the citation references...

View Article

Interplay of fontspec and subfiles poisons luaLaTeX font cache

I'm using luaLaTeX to compile a document using subfiles and a TrueType font I'm shipping in the repository with the document itself, similar to this question. Somehow, this reproducibly poisons the...

View Article

Exporting a command from a subfile to the main file

So I am setting up a rather large project with multiple parts (Chapter1,...) and those contain multiple subparts (graphs, set with tikz) and I want to edit (and compile) the graphs separately (without...

View Article

pgfplots luacontour files in different prefix

im trying to plot a graph that uses luaconour lines, they build some auxiliary files .dat``.lua and .table to draw the line but, i use a build dir on the latexmk and everytime i compile i get the error...

View Article



How to make xr references work with subfiles and a separate build folder

I started experimenting with LaTeX about half a year ago and so far I've been able to solve all problems I encountered by looking at other people's questions and answers on here. This one however has...

View Article
Browsing latest articles
Browse All 147 View Live