diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/text1/cms_help_files/laf.helpmark |
Initial commit
Diffstat (limited to 'macros/text1/cms_help_files/laf.helpmark')
-rw-r--r-- | macros/text1/cms_help_files/laf.helpmark | 120 |
1 files changed, 120 insertions, 0 deletions
diff --git a/macros/text1/cms_help_files/laf.helpmark b/macros/text1/cms_help_files/laf.helpmark new file mode 100644 index 0000000000..748b10c7c7 --- /dev/null +++ b/macros/text1/cms_help_files/laf.helpmark @@ -0,0 +1,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. |