{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

7
votes
1answer
200 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 ...
2
votes
1answer
45 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 ...
1
vote
1answer
24 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!
0
votes
1answer
33 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 ...
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
0answers
25 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
1answer
966 views

pdf_tex files and \import: PDF file not found

I am currently working on my PhD thesis, and I am having trouble including a pdf_tex and pdf file created using Inkscape. I am using TeXStudio and PDFLaTeX. The relevant files are: phd_thesis_all/...
1
vote
2answers
32 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 ...
2
votes
1answer
59 views

Usage of include (graphics, section's and only)

I'm working on my master thesis in LaTex (using TexMaker). I'm a bit new but getting the hang of it. At the moment i'm making my sections in different tex documents. For example, i have an abstract, ...
7
votes
1answer
103 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
23 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
23 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
1answer
82 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 ...
21
votes
2answers
4k views

Speed up compilation by (pre-)compiling chapters separately?

I am writing a long document with many chapters. They are all included from a root document using \input{chapterX.tex} etc. Compiling everything takes pretty long. As a workaround to make compilation ...
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
48 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
51 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 ...
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 ...
2
votes
1answer
28 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 ...
1
vote
1answer
103 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
1answer
63 views

\include not working. Folder structure too deep?

I wrote \include{{"Folder_A/B/C/D/M"}}. LaTeX reported that it could not write the 'Folder_A/B/C/D/M.aux' file. Is it because my file is too deep? Any idea? THX! OK. Someone told me this short ...
2
votes
1answer
39 views

Include a tex file that contains the bibliography section

I found when I tried to keep the spaces in my file name by using \include{{""}}, then the file could still be included, but the references would be question marks. This is my MWE \documentclass{...
9
votes
4answers
2k views

How to make “\input” in a “\include”-d file use the correct current path?

I'm having a master file let's say test.tex and also some folders sub1/ and sub2/. There is also a TeX file in each of them: sub1/sub1.tex and sub2/sub2.tex. In the sub1/ and sub2/ are also some ...
0
votes
0answers
31 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
29 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
20 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
113 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 ...
4
votes
5answers
2k views

TexMaker - working with multiple tex files, autocomplete is not working

Background: The document that I am currently writing is getting pretty big, so I decided to split it. I've tried \include and \input commands, but the problem still remains to be solved. I have ...
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
40 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
38 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 ...
15
votes
3answers
33k views

\graphicspath and \include

I am trying to define a central graphics path for my thesis, however, the chapters are included with the \include command and by using \include with \graphicspath, pdflatex complains about it can not ...
3
votes
1answer
43 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'...
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
14 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 ...
1
vote
0answers
76 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 ...
9
votes
3answers
1k views

Does LaTeX have to reprocess included files that haven't changed?

I have included several .tex files (they do not contain the header code like documentclass, begin and end document, etc). When I include the file using \include everything works. But if I recompile ...
0
votes
0answers
39 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 ...
2
votes
2answers
76 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
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} \...
5
votes
4answers
10k views

Combine several chapters (separate files) in to one report

I am writing my final year thesis. I was asked to write my report part by part. First I wrote the Introduction chapter. No I have completed the Literature Survey. Both these were written as two ...
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
52 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 ...
2
votes
0answers
76 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
50 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
124 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 ...
6
votes
1answer
81 views

distribute contents of two input-files to left and right pages

Is it possible to import two tex files with \input and to have the content of the one file be always on the left page facing the content of the other file being always on the right? The page numbers ...