summaryrefslogtreecommitdiff
path: root/macros/text1/cms_help_files/laf.helpmark
blob: 748b10c7c75e92f69aafb692cfb5a42b30401b69 (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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
+-----------------------------------------------------------------------------+
|                                 labelformat                                 |
+-----------------------------------------------------------------------------+
 
\labelformat{\skipbefore{1\bl}
             \labelwidth{72pt}
             \gutter{1em}
             \everylabel{\rm}
             }
 
Abbreviation:  ã|\lafã%
 
Parameters:    ã|submarkupã%
 
Submarkup:     ã|\skipbefore, \labelwidth, \gutter,
\everylabelã%
 
    ã|Description:ã%
The \labelformat markup controls the appearance of labelled paragraphs.
 
\skipbefore   indicates how much  space is to  be skipped  before printing a
block.  This amount is in addition to any paragraph skips.
 
\labelwidth  sets  the amount of space  to contain the label  to the left of
the paragraph.   The  shaded portion illustrated  here is  the "label width"
area:
 
+-----------------------------------------------------------------------------+
|                                                                             |
| SCALE,                                                                      |
| nmin, nmax fornhalfwordxdata.)nteSince pixeledifferences5can(rangeabetween  |
|            -255 and +255 (-511 and  . . .                                   |
|                                                                             |
+-----------------------------------------------------------------------------+
 
The default label width is 72 points (one inch).  To change to a label width
of 1 2 inch you would enter,
 
\labelformat{\labelwidth{.5in}}
 
\gutter  keeps a small amount  of space between the label and the paragraph.
The shaded portion illustrated on the next page is the "label gutter" area.
 
+-----------------------------------------------------------------------------+
|                                                                             |
| SCALE,                                                                      |
| nmin, nmax fornhalfwordxdata.)nteSince pixeledifferences5can(rangeabetween  |
|            -255 and +255 (-511 and  . . .                                   |
|                                                                             |
+-----------------------------------------------------------------------------+
 
The default amount is  1 em space.  To change to  a label gutter of 5 points
you would enter,
 
\labelformat{\gutter{5pt}}
 
\everylabel   determines the type  face and size of  the label itself.   The
default is roman face and right ragged.
 
    ã|Example:ã%
The sample  markup reduces the  skipbefore amount,  increases the labelwidth
(to suit a larger format), and  changes the font for labels to 9 point bold.
Note the use of displayed math mode.
 
\selectfontset{cm9}{ninepoint}{default}
\labelformat{\skipbefore{6pt}
             \labelwidth{108pt}
             \gutter{1em}
             \everylabel{\ninepoint\bd}}
\label{HALF}
specifies that both input datasets are halfword
(maximum 511 DN) (default is byte data).
\la{ADD} specifies that the sum of the two input
datasets is to be computed (default is the
computation of the difference image).
 
\la{SCALE, nmin, nmax}
nmin and nmax are integers between -255 and 510
(-511 and 1022 for halfword data.) Since  . . .
\la{}
If N(I,J) is less than nmin, the OUTPUT=0.\lbr
If N(I,J) is greater than nmax, the OUTPUT=K.\lbr
If N(I,J) is between or equal to nmin and nmax then
@@OUTPUT = K*{N(I,J)-nmin\over nmax-nmin}@@
where N(I,J) = IN1(I,J) - IN2(I,J) or if "ADD" has
been specified, N(I,J) = IN1(I,J) + IN2(I,J)
and K = 255 (511 for halfword data).
\la{TRANS\lbr sl1, ss1, sl2, ss2}sl1 and ss1 are
line and sample
coordinates for a point in IN1, and sl2 and ss2 are the
corresponding coordinates for the point in IN2. If HALF
has been specified, ss1 and ss2 refer to {\it bytes}
(not sample) in IN1 and In2, respectively.
 
+-----------------------------------------------------------------------------+
|                                                                             |
| HALF            specifies that  both input datasets  are halfword (maximum  |
|                 511 DN) (default is byte data).                             |
| ADD             specifies that  the sum  of the two  input datasets  is to  |
|                 be computed (default is  the computation of the difference  |
|                 image).                                                     |
|                                                                             |
| SCALE,  nmin,                                                               |
| nmax            1022 for halfword data.)rsSincewe.n.-.55 and 510 (-511 and  |
|                 If N(I,J) is less than nmin, the OUTPUT=0.                  |
|                 If N(I,J) is greater than nmax, the OUTPUT=K.               |
|                 If  N(I,J) is  between  or  equal to  nmin  and  nmax then  |
|                 OUTPUT = K*N(I,J)-nmin nmax-nmin where N(I,J) = IN1(I,J) -  |
|                 IN2(I,J) or if "ADD" has been specified, N(I,J) = IN1(I,J)  |
|                 + IN2(I,J) and K = 255 (511 for halfword data).             |
|                                                                             |
| TRANS                                                                       |
| sl1, ss1,  sl2,IN1, and  sl2 and ss2 are the corresponding coordinates for  |
| ss2             the pointsinaIN2.inIfaHALFahasebeenrspecified,rss1pandtss2  |
|                 refer to bytes (not sample) in IN1 and In2, respectively.   |
|                                                                             |
+-----------------------------------------------------------------------------+
 
    ã|Notes:ã%
none.