Questions tagged [include]

{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.

Filter by
Sorted by
Tagged with
0
votes
1answer
37 views

Ordering and aligning graphics and text in tables

I have a very urgent matter and I've read so many threads and tried to combine the answers but nothing works or it gets much uglier... I just want to show up my figure and the text in a table in a ...
1
vote
0answers
18 views

Beamer - generate some slides separately, include them in the main file

I have a few slides that have \animategraphics in them (as a way to embed GIFs consisting of hundreds of frames). Generating those particular slides takes a long time, and it's not really necessary if ...
0
votes
1answer
31 views

Forward search from Emacs (AUCTeX) to Okular with \include not working

OS: Debian bullseye (testing) Emacs: 26.3 Okular: 1.11.1 AUCTeX: 12.2.4 .emacs (Emacs settings): (custom-set-variables ...
0
votes
1answer
39 views

Make inline questions that are later printed again as flashcards

I am working on a handout in the tufte-book document class but wanted to make flashcards inline that are both printed within the text in one format (front and back side-by-side to show what you are ...
0
votes
0answers
14 views

Path dependency of template

I created a template (myclass.cls), which includes another file (mystyle.sty) using the input command. Then I used the template in a document (mydocument.tex). The directories are as follow: mypath/...
0
votes
0answers
16 views

Specify additional include directories within a tex file [duplicate]

I want my document to use class files, style files or bibliography style files located in some subdirectory of my TeX document's directory. Sometimes I can sorta-kinda- use, say, \documentclass{...
1
vote
0answers
21 views

TexStudio adding custom include command

When TexStudio sees \include command in the source file it will add the included file to the document structure pane. I am using leadsheet package which defines \includeleadsheet command. Is it ...
0
votes
1answer
47 views

\include & graphicx

I use \include and I have the following folder-structure: main.tex Images/ Subfiles/ Subfile-1.tex Subfile-2.tex Where and how should I put my images, because the code doesn’t compile. I’ve ...
2
votes
1answer
59 views

Reftex and \include*{sections/sec} - how to get it to work?

I have a multi-file LaTeX project with statements like \include*{sections/sec1}. Reftex does not find the labels defined in the included files. When switching to the unstarred variant \include{...
0
votes
0answers
28 views

Incorporate .html plots

I am attempting to incorporate some .html plots into a LaTeX or LuaTeX document on overleaf. How should I do it? Do I upload, say, data.html file onto overleaf then just \includegraphics{data.html?
0
votes
1answer
27 views

How to make an included PDF page linked to an url?

I have a PDF title page included in the main document, using the pdfpages package, as shown in the MWE code below. I know that all the hyper links included in that page are lost in the process. But ...
1
vote
2answers
36 views

How to total item counts in multiple enumerate environments, respecting \include

I'm writing a book in which each chapter ends with a list of numbered exercises. I would like to persuade LaTeX to count the total number of exercises in the book, to be referred to with \ref or ...
1
vote
0answers
18 views

URL links not working from included PDF title page

I included a separate PDF page as my main front page for a large LaTeX document. That PDF page was made with LaTeX using the hyperref package, and contains several linked URL elements (source of ...
0
votes
0answers
18 views

Figure not showing in multi-file latex project

I am trying to include a figure in a large document. It works fine directly. But when I call it in another file using \include or \input, the figure does not show. It is a simple code as below. \begin{...
0
votes
0answers
29 views

\include chapter issue

I am compiling a manuscript and have been told to create a RootFile which compiles all the Chapters. However when I click Typeset only the 1st chapter shows - even if I rearrange the order, only the ...
0
votes
1answer
41 views

Using TikZDevice and APA 7 class: Including a figure note for a plot (including the plot by include())

I am using TikZDevice for including a R-Plot in Latex, using the APA7-Documentclass. The documentary of the APA7-Class lists \figurenote{} as "Formats figure note when placed after \...
0
votes
0answers
36 views

LaTeX citation with included chapters

this is my first time asking a question at StackExchange and my first time using Latex to write something so pls excuse some form mistakes. I already invested a lot of time to find my mistake while ...
1
vote
1answer
36 views

Why \include doesn't include a file with space in the path name?

What is wrong with \include{"./folder/another\space folder/lastfolder/file"} that the file is not included while \input would include it?
0
votes
0answers
20 views

\usepackage{pdfpages} ruins my TOC

I have a bunch of sections and subsections all in my TOC but when I use \usepackage{pdfpages} to include some files in the appendix section it removes all the subsections. Screenshots:
0
votes
0answers
13 views

Continuous \inputlineno for documents with \include and \input

The \inputlineno counter represents the current line of code in the .tex file. \the\inputlineno returns said number. If, however, I have a document which \includes or \inputs other .tex files, \...
0
votes
0answers
29 views

How to Create My OWN LaTeX Template Document? [duplicate]

For almost every document that I type in LaTeX, I start by opening one of the most recent documents that I made, copying all of the packages and pre-set commands, and pasting them in the new document. ...
0
votes
0answers
14 views

How to include multiples tables sequentially in the same page

I'm struggling on how can I include a lot of tables sequentially. I'm using \foreach \i in {1,...,23}{ \include{filename\i} } but using the code above, I got one table per page and I would like ...
0
votes
0answers
27 views

How to include a tex file with strange characters in the path

I am trying to let pdflatex run and include a file that has several spaces in this. Somhow this fails to work. The code I have down here. The file to include is a seperate tex file. \begin{document} \...
0
votes
0answers
22 views

Problem with enotez and \includeonly

Compiling a latex document using \includeonly and the package enotez may result on a document with uncorrect end notes. For instance, if my document (main.tex) includes chap1.tex and chap2.tex, each ...
0
votes
1answer
327 views

Bibtex with included files

A couple weeks ago I didn't have any issue when using Bibtex on a document where the different parts were included with \include commands, but today I updated Miktex, and now it seems not to work ...
0
votes
1answer
101 views

How to prevent figures from appearing at the top of a page?

Why is it that, when I insert my figure with \begin{figure}, it is placed at the beginning of the paper ?
2
votes
1answer
58 views

How can I use wildcards with \includegraphics?

I would like to use \includegraphics{folder/*.pdf} in this simple way, I've got a folder inside which I have different files and I want to pick only the pdf one. Is this possible ?
0
votes
0answers
45 views

Multiple bibliography with Revtex 4.2

Using Revtex 4.2, how can we write a main.tex such that the bibliography does not duplicate, when we include a paper and we include a supplementary information section? My current code is as follows: ...
0
votes
0answers
33 views

envelope icon disappeared after using \includepdf

I am using \inludepdf to attach a pdf file, which has an envelope icon, into a new document. After attaching this pdf file, this envelope icon disappeared in the new document. How can I fix this ...
1
vote
1answer
24 views

How to use different definitions and packages in each of the included papers?

I writing my PhD thesis (using Overleaf, compile with XeLaTeX), such that each paper I wrote is a chapter of the thesis. My problem is that the definitions and packages of the different papers clash. ...
0
votes
1answer
43 views

how to include a sub tex file in include file of latex

I already include file in main.tex like this: \documentclass{book} \begin{document} \include{chapter1} \end{document} how to include a subfile in chapter1.tex like this(or recursive include): \...
0
votes
2answers
36 views

How do I merge a tex file with the main one?

So the simplified problem is : I have a directory called Main inside which there is my main.tex file. Then there is another folder called Supplement in which there are another file file1.tex and a ...
0
votes
0answers
41 views

Use latin1 and utf8 at the same time

In the same article, I am including several section by the function \include{}, but they are encoding with latin1 and utf8. I was using \usepackage[latin1]{inputenc}, but when I try to include (...
0
votes
0answers
17 views

! Undefined control sequence. \Ginclude@graphics …\Ginput@path \set@curr@file {#1}\edef \uq@curr@file {\ [duplicate]

what mean this error and what should i do to solve it please help me (! Undefined control sequence. \Ginclude@graphics ...\Ginput@path \set@curr@file {#1}\edef \uq@curr@file {...)
0
votes
0answers
40 views

Subfile “\include” only loads first chapter

I am writing a thesis with each of my chapters located in a separate .tex file (located in folder 'chapters'). I am trying to load these chapters using the \include function, but only the first ...
1
vote
0answers
57 views

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

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 ...
0
votes
0answers
55 views

How to include tex files from different folders?

I have a problem in creating the math homework sheets here. What I did was creating a single folder for the math homework each day. And there are so many folder under one big folder as you can see ...
0
votes
0answers
31 views

Skipping some lines when using `input` or `include`

I would like to know if it is possible to use input or include skipping some lines in the imported source.
0
votes
0answers
40 views

Removing Spaces Between Documents

How can I remove spaces inserted between different documents. \include{project/Chapters/doc1} \include{project/Chapters/doc2} I want these two documents glued together with no spaces. Thank you!
0
votes
0answers
13 views

Include template files in up folder

I want to use the same template for multiple courses. Now my course is structured as: Course Name/ |-- lecture1.tex |-- lecture2.tex `-- template/ `-- template_layout_lecture.tex and I include ...
0
votes
0answers
24 views

\include file causes extra white space [duplicate]

In the code below, I included this .tex file into my document (with the relevant lines commented out, like \begin and \end{document}), but, for some reason, the plot appears on a page by itself. I ...
0
votes
0answers
32 views

Include subitem from a file into master file

I am currently working on my resume and I am trying to make it modular. I have a content folder which has different .tex file for each section in resume such as education.tex, experience.tex, and ...
0
votes
0answers
31 views

INCLUDE Code on Web?

One can include another code as follows. \documentclass{article} \begin{document} \include{code1} \include{code2} \include{code3} \end{document} Can I let this code to include another code in GitHub?...
0
votes
0answers
23 views

Finding .pdf location from associated `included` .tex file

I am running TeXShop on a Mac and frequently find the corresponding portion of a typeset page by using an ⌘-Click in the .tex source file, as described here. Conversely, I can ⌘-Click in the pdf ...
0
votes
1answer
116 views

Trying to build a latex document with latexmk and additional tex files in subdirectory

I am trying to build a complex latex document (at least it's complex for me). The directory structure looks like this: - bat.tex - packages.tex - {other tex files}.tex - content -- {chapter folders} -...
0
votes
1answer
24 views

Using \include(only) to produce 2 pdf-s: text and references

This is what I want to do: you keep the references in the same document, but in a file included with \include. Then you can use \includeonly to produce separate PDFs, one without references and ...
0
votes
1answer
419 views

Pandoc: not using LaTeX packages

I am using pandoc to convert my .tex-file into a PDF, but my definitions are not being used. Example: \documentclass[12pt,letterpaper]{article} \usepackage[a4paper,margin=1in]{geometry} \usepackage[...
3
votes
1answer
176 views

How to import a tikZ figure which has images as dependencies?

I came up with a tikZ figure, which I have written in a file, lets call it A.tex. This figure uses image files (.jpg, ...), which are included as nodes using \includegraphics. Now obvisously, I'd like ...
0
votes
1answer
55 views

How to keep figure index number/style and \hyperref after included into another tex?

The document(supp.tex) to be included into another (main.tex) has a indexing style that start with "S": \renewcommand{\thefigure}{S\arabic{figure}} How to keep this naming style after included to ...
11
votes
1answer
1k views

Dealing with strict rules for paper submission using LaTeX

My dear LaTeX users, I'm quite new to Latex and as PhD student in Chemistry at want to prepare all my manuscripts in LaTeX even though my groups is not a big LaTeX user (I'm tired of Word). ...

1
2 3 4 5
11