Skip to main content

Questions tagged [input]

{input} is about the \input command which makes LaTeX process the content of a given file basically the same way as if it would be written instead of \input.

1561 votes
7 answers
1.0m views

There are two different commands to incorporate another file into the source of some document, \input and \include. When should I use one or the other? What are the differences between them? Are there ...
Phil Miller's user avatar
  • 21.2k
47 votes
4 answers
37k views

I'm currently using doxygen to generate some documentation for a project, and doxygen generate some LaTeX code that then can be used to generate a nice pdf. But let's say I would like to write ...
Johan's user avatar
  • 2,274
118 votes
11 answers
28k views

Suppose I have a document with multiple include or input statements \input{fileA} \input{fileB} etc. Is there an easy way to generate a single .tex file where \input{fileA} is replaced by the ...
student's user avatar
  • 30.1k
65 votes
4 answers
21k views

I would like to include part of the contents of a .tex file into a different .tex file. I don't have the option of modifying the file to include. The file to include may change so simply copying and ...
astrofrog's user avatar
  • 1,117
65 votes
2 answers
21k views

For the graphicx package, we can use \graphicspath{...} so that we can directly use filenames in the argument of \includegraphics{...}. Can a similar thing be done for directly using filenames in \...
Rovin Bhandari's user avatar
45 votes
6 answers
14k views

Is there an easy way to create a list of all external files (complete path) which are used by a LaTeX document (and its "sub-documents") by \input \include \includegraphics ? (may I have forgotten ...
MostlyHarmless's user avatar
23 votes
1 answer
2k views

I'm trying out pgfplots with gnuplot to generate the data. This works by having pgfplots write some stuff to an external file, run gnuplot on the file, and then use the generated data to plot the ...
Andrew Stacey's user avatar
8 votes
1 answer
1k views

With the 2020 fall update, the behaviour of \input{} changed. Before, I would have a main latex document (main.tex) and then the table contents in another file (table.tex) . Importantly, the file ...
Max's user avatar
  • 83
13 votes
1 answer
16k views

I'm going crazy... I have a file I want to include which path is C:\Users\Matthieu\Documents\Folder withOneSpace\myFile.tex. (As you can see with the \, I'm on windows actually) I tried the ...
Matthieu.P's user avatar
64 votes
3 answers
133k views

I am using a finite element program that outputs data in .txt files. And I want to input these data in my LaTeX code. Is there a way to input the data files so that they appear as the program output ...
Malthe Eisum's user avatar
  • 3,169
5 votes
2 answers
9k views

I am using .pdf_tex files to insert and label figures in LaTeX: \begin{figure} \centering \graphicspath{{Graphics/FiltersCa/}} \input{Graphics/FiltersCa/COMB_filter_activeZ2b.pdf_tex }...
Markus's user avatar
  • 73
50 votes
4 answers
56k views

Problem I usually load a helping TeX file that contains my customizations, e.g., usual packages, corporate standard colors, and macros for abbreviations. I want my helping file to also load another ...
Ali Mehrizi's user avatar
  • 2,691
40 votes
3 answers
31k views

Why is it recommended to split a large document into several parts and include them with \include? Is it only a relic of the past times when computers and LaTeX compilers were slower, or is it still ...
Federico Poloni's user avatar
18 votes
2 answers
4k views

Since updating to the 2020 Fall release (MikTeX on Windows but also tested with TeXLive), I can no longer compile files where tables are imported from an external file using \input and followed by \...
Christophe Gouel's user avatar
18 votes
1 answer
2k views

In latex.ltx I found \def\input{\@ifnextchar\bgroup\@iinput\@@input} where \@@inputis expandable. I would like to know if there is an expandable version of \input. The problem comes from an example ...
Alain Matthes's user avatar

15 30 50 per page
1
2 3 4 5
16