{include} is about the \include command which makes LaTeX process the content of a given file, add page breaks before and after and open a new auxiliary file for the given file.

learn more… | top users | synonyms

1
vote
0answers
24 views

How can I automatically update section levels for included/input tex files? [duplicate]

I would like to automatically determine the current section (or subsection) where an input/included file is placed and use automatically updated sectioning commands so that a file can be included in ...
2
votes
1answer
35 views

Using standalone to combine multiple .tex into a single file

I have a number of latex files section1.tex, section2.tex, etc. Each of them should be able to be compiled individually to give a normal LaTeX document. I would like to write a file master.tex that ...
2
votes
1answer
20 views

Why does \includepdfmerge insert a blank page at the end?

How can I get rid of the blank pages inserted after the \includepdfmerge ? Code: \documentclass{article} \usepackage{pdfpages} \begin{document} \includepdfmerge[scale=0.5, delta=10pt 10pt, nup=2x2]{...
8
votes
2answers
197 views

Why do \include and \input handle extension name differently?

I have a file bar.tex that I include in other files. $ cat bar.tex hello, world $ cat foo.tex \documentclass{article} \begin{document} \include{bar.tex} \end{document} $ pdflatex foo.tex This ...
1
vote
1answer
26 views

Prevent recursive extraction with the `extract` package

I am trying out the extract package to save parts of my document that I later want to repeat as a summary at the end. I am hitting a recursion problem: If I include the output of the extraction in ...
15
votes
2answers
530 views

Why am I able to \include in preamble?

The answer at When should I use \input vs. \include? mentions: \include gets you the speed bonus, but it also can't be nested, can't appear in the preamble, and forces page breaks around the ...
1
vote
0answers
27 views

How to cut a figure/ break a figure to go over several pages

My aim is to cut pictures into two halves at the end of a page so that is would be continued on the next page and no space will be wasted. By document type is: \documentclass[12pt, twocolumn]{...
5
votes
1answer
79 views

How do I repeat an included .tex file multiple times?

I would like to repeat a file in a LaTeX document multiple times: \include{probenahme/sample} \include{probenahme/sample} \include{probenahme/sample} \include{probenahme/sample} \include{probenahme/...
7
votes
1answer
214 views

How do I get my integral-like symbol to align like the integral?

OK, so I've been tasked with creating this integral-like symbol in Latex, and the best way to create it from scratch seemed to be using the includegraphics command and giving it a /def/. Unfortunately ...
1
vote
1answer
23 views

Add existing PDF literally

I am new on LaTeX and I am struggling to take a pdf and just use it as is. I need the pages of a PDF to be placed there, no includegraphics or similars. Just take the 2 pages of the PDF and place ...
1
vote
1answer
31 views

\nomname undefined when list of symbols is in a external file

I want to create a list of symbols in an external file using the nomencl package. Here's what my file listOfSymbols.tex looks like: \renewcommand{\nomname}{List of Symbols} \nomenclature{$v$}{volume ...
0
votes
0answers
17 views

The difference between \input and \include [duplicate]

I would like to know what is the difference between the \input command and the \include command. Much thanks!
2
votes
1answer
25 views

use joint bibtex library in multiple files

My document is split into several smaller ones which are included in a joint document. Now how can I use one bibtex file for all subdocuments? I am using lyx, but all plain tex solutions are also ...
0
votes
1answer
37 views

Error in compiling \includepdf

My latex file is something like this: \usepackage{pdfpages} \begin{document} ... \bibliographystyle{abbrv} \bibliography{my_bib} \includepdf[pages=-]{my_file.pdf} \end{document} The ...
0
votes
0answers
27 views

Table of contents not created properly

I used \tableofcontents command but it only worked once. Then, it only included a single numbered chapter. Does that mean that the table won't include unnumbered chapters? How can I include them?
1
vote
2answers
43 views

Include a pdf page by page with descriptions after each page

I want to do the following: I want to generate a script from my lecture slides. My lecture slides are in pdf (generated via latex-beamer), but in beamer-size. Now I want to make a script from that, in ...
7
votes
1answer
104 views

How include a document with a documentclass in an another document

I write my thesis with the \documentclass{yathesis} and I must include my CV at the end of my thesis but my CV is in the \documentclass{CV}. How can I include this CV in my thesis without problems ...
0
votes
0answers
26 views

Auxiliary file in other directory - input fails

I'm using pdflatex to compile my files and BibTeX for bibliography stuff. Especially I use the -output-directory flag to keep the generated files in another folder and the -bibtex flag to compile the ...
0
votes
0answers
27 views

Including one document into another document with different packages, geometry, font, etc

How can I include a whole document as a subdocument starting with documentclass into another document? (for instance a titel page as a complete document) I put the subdoc in a separate .tex file and ...
0
votes
0answers
33 views

Underbracing an equation with tikz in a sub document, which is thereafter included in a main document

Notice, that for the following I have a master (.tex) document which includes the several parts/chapters (.tex). In one of the included chapters, I have an equation (with a square root) that I need ...
0
votes
1answer
94 views

How to include any .sty file in circuit_macros?

My circuit_macros M4 code .PS #\usepackage{steinmetz} #include(steinmetz) #s_init(steinmetz) scale=25.4 source(up_,AC);llabel(,120\angle 50{^{\circ}},) .PE output And that I want image, That ...
0
votes
1answer
58 views

\include not working in SageMath LaTeX

I'm using SageMathCloud's LaTeX. So I've got five .tex documents (all pretty long) with similar formatting. I want to add all five files into one large file that will respect the preambles of all ...
3
votes
0answers
58 views

Synchronization between source code and PDF viewer fails for \include{.} (go to source / go to PDF)

In my LaTeX document I am using the following structure: I have a main tex-file from which chapters are included via include(.). Thus, each chapter has its own tex-file. For some time now, I ...
2
votes
1answer
54 views

Include a functional 3D pdf file

I have a 3D pdf file (.pdf) I want to include in an appendix (image 5). When opening the file separately with Adobe Reader, one can zoom in on the object, rotate it etc. I would like to have the same ...
2
votes
1answer
30 views

using \include for unnumberred chapters and sections ->tableofcontent mess?

I want to have a document with the following preconditions: sections in separate files -> \include{} chapters and sections are unnumbered -> using \addchap{} and \addsec{} chapter headings should ...
3
votes
1answer
53 views

Syncing Two Files

I am creating two documents: 1 is a set of homeworks and the other is their solutions. Each homework and solution set is its own .tex file and there is a master .tex for the HW-booklet and another for ...
0
votes
0answers
35 views

Texmaker: display the structure of the whole document

I am working on a Latex document which includes several parts in separate documents. Is there a way to make Texmaker look into the included documents to display on the left hand sire panel all the ...
1
vote
1answer
31 views

\includepdf puts title section below top margin

I'm inserting an pdf file for a section with the command \includepdf[scale=0.9,pagecommand=\section*{\begin{center} ANEXO \end{center}}]{Oficio5S.pdf}, so the pdf is inserted in the page ...
2
votes
0answers
22 views

How to compile just one chapter, with bibliography of citations in that chapter?

I'd like to compile one chapter in a thesis, and include the bibliography, with only the citations found in that chapter. I am using \include and \includeonly to get just the chapter I want, but it ...
1
vote
0answers
114 views

merging some scrartcl-documents in one document [closed]

Hello StackExchangeCommunity, I'm writing some nice short stories with 20-40 sections in LaTeX with scrartcl. Every short stories has an titlepage, table of contents with all sections and after this ...
2
votes
0answers
20 views

commands / package for target-group-specific creation of documents

Is there a package that allows me to create target-group-specific documents. Basically I have two scenarios: There is an exercise document and each task is initially followed by a solution. In that ...
4
votes
1answer
42 views

Conditional input of a file depending on a keyword that its contains

I have several files containing each an exercise and to make a document I include a set of this files. Some of them need a special treatment so I need a to make a conditional input command that test a ...
1
vote
1answer
40 views

Figures in LaTeX from different directories

I've seen this sort of question on a lot of fora, but I haven't found an answer to my question. If the answer is already out there and I didn't find it, I apologize in advance. The situation is as ...
0
votes
0answers
17 views

Functionality of links when PDF pages are combined [duplicate]

pdfpages works really well for combining pages from several PDF documents into one document, but it does not retain the functionality of links on PDF pages. The functionality will be retained if you ...
8
votes
1answer
279 views

Inserted graphic - jagged edges to show that it is just part of the whole

I would like to make visibly clear, that an inserted graphic is just part of the whole. Since a straight cut just appears as inserted falsy, I was wondering if there are any tricks to show jags for ...
0
votes
0answers
20 views

Is there a version of \include and \input for bibtex? [duplicate]

I'd like to spread out my references between multiple bibtex files. I tried putting all my references into a file called etho.bib, then put \input{etho.bib} into my main bibtex file. This didn't word. ...
1
vote
0answers
98 views

How to avoid overfull and underfull boxes?

I can't solve my problem with overfull and underfull hboxes and vboxes. \usepackage{setspace} \usepackage{subfiles} \usepackage{nomencl} \makenomenclature \usepackage{color} \usepackage{tabularx} \...
0
votes
0answers
11 views

Using include-directory from inside the IDE

I changed my way of building documents by using the following command-line-argument: pdflatex.exe -include-directory="C:\myRepository" -synctex=1 -interaction=nonstopmode %.tex since I want to ...
0
votes
0answers
41 views

Using \include \input in document

Is there a way to include a document within another document and retain different format of the documents. For example, I am writing a proposal (which has a certain format) and will like to include ...
3
votes
1answer
45 views

combine documents of different classes

I need to add to an article another document, class exam. include and input don't work properly if the preamble is different. I must add some multiple choice and clozes as an appendix to the article I'...
2
votes
2answers
86 views

PDF inclusion error when using \input or \include

I have set up a LaTeX file for a book-type document with the following preamble: \documentclass{book} \usepackage[utf8]{inputenc} \usepackage[english]{babel} \usepackage{textgreek} ...
1
vote
1answer
117 views

Unwanted empty page in front of the document [SOLVED]

Solution below! i'm working on my master's thesis, and have this problem with an empty page at the start of the document. I'm using TexMaker and use a "headdocument" where i put the preamble with ...
0
votes
0answers
8 views

Using \addlines in large documents with \includeonly

I am finalizing an 800 page book. I want to work with \includeonly in order to prevent texing the whole document again and again. I have big problems with \addlines from the package addlines since \...
2
votes
1answer
54 views

Align three figures, Left, Centering, Right with appropriate Captions and Labels?

I am learning how to use Latex and currently I am trying to get an understanding of how to place 3 figures all in one line across the page. Here is my efforts which has sent one figure to the next ...
1
vote
1answer
30 views

siunitx custom file with subfiles

I recently decided to divide my thesis into several nested files as it follows: % Main.tex \documentclass{memoir} \usepackage{subfiles} \usepackage{siunitx} \include{units} \begin{document} \...
2
votes
0answers
83 views

Is newclude (still) a good package to use?

I came up with this very MWE while trying to organize my code into several section files to speed up compilation of a journal paper (sections, not chapters!): \documentclass{article} \usepackage{...
1
vote
1answer
68 views

appendix instead of chapter in table of contents

In the table of content, I want to have Appendix A instead of chapter A, Appendix B instead of chapter B, and show on. I can't show this when I use \include{appendix}. Following is my code: \...
6
votes
1answer
146 views

Included PDF pages mess up page numbering in PDF-reader

I have a report with a frontpage, abstract, preface and acknowledgement. These pages are not numbered. Then the remaining pages contain several chapters and all these pages are numbered. Today I added ...
2
votes
0answers
43 views

References undefinded when using \include{filename}

I am compiling my thesis where I have a rootfile and each chapter is read in with \include{chapterfolder/chaptername}. Everything works but the references, they are all undefinded. When I run BibTex ...
1
vote
1answer
46 views

Is it possible to \include .tex files from other directories?

I want to use the command \include to include a .tex file which is not in the same directory as the main .tex file. Is this possible? I have not found any information about it, and this: \include{...