summaryrefslogtreecommitdiff
path: root/macros/text1/cms_help_files/incl.helpmark
blob: 3b2f58acbf63206452e337a4dce031fb054af545 (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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
+-----------------------------------------------------------------------------+
|                                   include                                   |
+-----------------------------------------------------------------------------+
 
Abbreviation:  ã|\inclã%
 
Parameters:    ã|page segment nameã%
 
    ã|Description:ã%
The \include markup  will include external page segment  files, into a TEXT1
document.   Page  segments come  from graphics  generating programs  such as
those produced  by GDDM, SAS  and MEGACALC. Refer  to the  GDDM Page Segment
Generation for the IBM 3820 User Note, U-419, for details on how to create a
page segment.
 
    The format for the \include markup is:
 
\include{fn}
 
    Where  fn is  the filename  of the  file to  be  included into  the text
document.   It must  have a filetype  of "PSEG3820".   You  must leave space
after the page segment to  prevent the image from overprinting the following
text of the document.
 
    ã|Example:ã%
A file called "GRAPH1  PSEG3820 A" contains a SAS/GRAPH image.   It is 2 1 2
inches high, so you would enter:
 
. . .   in the graph illustrated below:
\par
\include{graph1}
\vs{3.5in}
\noindent
Notice the values on the Y axis, they  . . .
 
In the document you would get:
 
+-----------------------------------------------------------------------------+
|                                                                             |
|  . . .    in the graph illustrated below:                                   |
|                                                                             |
|                                                                             |
|          WWW     W     WWW    SSSSSS   UUU      UUU                         |
|            WWW  WWW  WWW    SSSSS      UUU      UUU                         |
|               WWWWWWW         SSSSSS   UUU      UUU                         |
|                WWWWW        SSSSSSSS    UUUUUUUUUU                          |
|                                                                             |
|                                                                             |
| Notice the values on the Y axis, they  . . .                                |
|                                                                             |
+-----------------------------------------------------------------------------+
 
    ã|Example:ã%
Sometimes you  may want to  center the graph  on the page.   To  do this you
would subtract the width of the graph from the galleywidth(1) and divide the
difference by 2;  then you would do a horizontal  skip of that amount (after
entering \null.  For the above graph, the galleywidth is 25 picas, the width
of the  "graph1" is 19  picas, so  the indent is  to be 3  picas ( 25pc-19pc
2=3pc ):
 
| . .   in the graph illustrated below:                                       |
\par
\noindent\hs{3pc}
\include{graph1}
\vs{3.5in}
\noindent
Notice the values on the Y axis, they  . . .
+-----------------------------------------------------------------------------+
  1.  galleywidth=page width - left margin - right margin
 
In the document you would get the same graph as above, centered on the page.
Refer to the example below:
 
+-----------------------------------------------------------------------------+
|                                                                             |
|  . . .    in the graph illustrated below:                                   |
|                                                                             |
|          WWW     W     WWW    SSSSSS   UUU      UUU                         |
|            WWW  WWW  WWW    SSSSS      UUU      UUU                         |
|               WWWWWWW         SSSSSS   UUU      UUU                         |
|                WWWWW        SSSSSSSS    UUUUUUUUUU                          |
|                                                                             |
|                                                                             |
| Notice the values on the Y axis, they  . . .                                |
|                                                                             |
+-----------------------------------------------------------------------------+
 
    ã|Notes:ã%
none.