blob: 4ab3365aa42ad7e467793bb29e12c69b34ddbc1f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
+-----------------------------------------------------------------------------+
| input |
+-----------------------------------------------------------------------------+
Abbreviation: ã|noneã%
Parameters: ã|filenameã%
ã|Description:ã%
The \input markup indicates a file to be included in the source. The
parameter, a CMS file name with a filetype of TEX, follows \input and a
separator space; no curly braces are used.
Usually the \input markup is used in a "driver" file, which calls parts,
chapters, etc. to create (or drive) the entire document, such as a thesis.
At the top of such a driver file is where you would put modifications to
default format blocks, additional font specifications, and your own markup
definitions.
ã|Example:ã%
In this example, the file is to have a filename of "DRIVER". It calls all of
the various parts of a 2 chapter document. When formatting, specify DRIVER
as the filename.
\chapterformat{\numberingstyle{1}
\titleformat{\newpage
\cl{\bd \chaptertitle}
\vs{1\bl}}
\incontents{yes}}
\selectfontset{cm9}{ninepoint}{default}
\input preface
\input abstract
\input chapter1
\input chapter2
\input bibliog
\input append-a
\input append-b
\input index
ã|Notes:ã%
If you want to input a file with a filetype other than TEX, you can do so by
adding the filetype after the filename and placing a period between the two.
For example, to input a filename of DATA and a filetype of LISTING, enter
\input data.listing
Refer to The TEXbook for more on this markup.
|