1
%%%%% The File tx.tex contains equivalences of old macros definitions
3
\def\symbol{This is just the symbol}
4
\def\Symbol{\_\symbol\_}
7
%\input{archive:[db.doc]iue.doc}
9
%%%%%%%%%%%%%%%%%%%%%%--------- 1 ------------------------------------
11
%%%%%%%%%%%%%%%%%%%%%%--------- 1 ------------------------------------
17
\frametext{{\bf W E L C O M E}}
22
%%%%%%%%%%%%%%%%%%%%%%--------- 1 ------------------------------------
23
This first example is a simple text, which
24
should be left and right justified.
25
Note the possibility of comments written
26
with the \% sign%-----------------------------------------
27
which destroys the end-of-line.
28
Escape characters may be written as \{\b\_\^\$\~\#\&\}.
29
The `\~' character is used for non-breakable~blanks.
31
As in {\bf TeX}, you may use different `fonts':
32
here is an example of a {\sl slanted~text} or
34
and an {\em emphasized~text}; however,
35
{\Vb blinking~text} cannot be used on a sheet of paper!
37
Also, it is possible to superpose the `fonts',
38
e.g. {\sl\em Emphasized Slanted}.
39
Also, use the \b bell \bell \bell and
40
\b fbox for \fbox{very~important~things}...
42
%%%%%%%%%%%%%%%% Issuing Blanks %%%%%%%%%%%%%%%%%%%%%%%%
43
\centerline{\bf Issuing Blanks}
45
Several macros cans be used to insert blanks:
47
\LeftLine{A \b quad\quad is inserted}
49
\LeftLine{A \b qquad\qquad is inserted}
52
and any amount of spaces with the \b Hspace\{{\sl n}\} macro.
53
For instance, the next paragraph starts with an indentation.
55
\indent Doesn't it look better if paragraphs are indented ?
56
But spaces\Hspace{3}inserted\Hspace{3}in\Hspace{3}the\Hspace{3}text\Hspace{3}
57
look\Hspace{3}strange...
59
{\obeylines It's possible to force
61
as they are in the input ...}
73
%%%%%%%%%%%%%%%% vfill %%%%%%%%%%%%%%%%%%%%%%%%
74
\centerline{\bf Vertical Fill}
76
Some stretchability in lines is available with the \ul{\b vfill} macro.
77
Let's assume that the text is made of 2 paragraphs, like:
79
This could be the first paragraph, well separated from the rest.
81
This could be the second paragraph.
84
%%%%%%%%%%%%%%%% Indent %%%%%%%%%%%%%%%%%%%%%%%%
85
\centerline{\bf Indent Environment}
87
It's possible, anywhere in a text, to indent
88
the text, with use of the {\em BeginIndent}
92
The text is now indented, but still with justification;
93
the left margin is pushed by 1/10 of the window width.
94
You may get more indentation with a repetition of the
95
{\sl \b begin\{indent\}}.
97
The text is now indented, but still with justification;
98
the left margin is pushed by 1/10 of the window width.
99
You may get more indentation with a repetition of the
100
{\sl \b begin\{indent\}}.
102
The text is now indented, but still with justification;
103
the left margin is pushed by 1/10 of the window width.
104
You may get more indentation with a repetition of the
105
{\sl \b begin\{indent\}}.
107
\end{indent}\end{indent}\end{indent}
109
%%%%%%%%%%%%%%%% Quote %%%%%%%%%%%%%%%%%%%%%%%%
110
\centerline{\bf Quoting Environment}
113
It's possible, in order to emphasize some portion of
114
a text, to use the {\em Quoting} Environment.
117
This is a text in a quoted environment (left and right
118
margins pushed 1/10 of the window width)
120
This is a text in a quoted environment (left and right
121
margins pushed 1/10 of the window width)
123
This is a text in a quoted environment (left and right
124
margins pushed 1/10 of the window width)
129
%%%%%%%%%%%%%%%% Itemize %%%%%%%%%%%%%%%%%%%%%%%%
130
\centerline{\bf Items Environment}
133
It's possible to edit a list in the
134
{\em Items} Environment. Each item is preceded
138
\item This is the {\bf first} item of the list.
139
\item This is the {\bf second} item of the list.
140
It includes subitems like:
142
\item This subitem could be named {\bf 2a},
143
and should be indented to the
145
\item This subitem could be named {\bf 2b}.
146
Is not interesting...
150
%%%%%%%%%%%%%%%% Enumerate %%%%%%%%%%%%%%%%%%%%%%%%
151
\centerline{\bf Enumerate Environment}
154
It's possible to edit an enumerated list, either with
157
\begin{Alphaenumerate}
158
\item {\bf A} item of the list.
160
\item This is the {\bf A.1.} item of the list.
161
\item This is the {\bf A.2.} item of the list.
162
\begin{alphaenumerate}
167
\item {\bf B} item of the list.
170
%%%%%%%%%%%%%%%%% Table Environment %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
171
\centerline{\bf Table Environment}
174
\begin{table}{|l|r|c|p{12em}|}{5,6,9,}
176
left & right & centre & \Centre{\bf Explanation} \\
178
-1-& -2-& -3- & The last column is justified, and may
179
lay over several lines
180
until the end is reached. It's nice to finish
181
with graphic lines.\\
185
\begin{table}{|c|l|}{5}
187
X & In this example, the last column is only left justified.\\
191
%%%%%%%%%%%%%%%%% Table Environment %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
192
\centerline{{\bf Table Environment} (continued)}
195
The following table should be centered:
197
\begin{table}{|r|c|}{5,22}
201
1 & \Left{\ Left } \\
203
3 & \Right{Right\ } \\
209
%%%%%%%%%%%%%%%%% Table Environment %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
210
\centerline{{\bf Table Environment} (Keypad)}
213
\centerline{{\em \ KeyPad\ }}
215
\begin{table}{|c|c|c|c|}{5,5,5,5}
217
PF1 & PF2 & PF3 & PF4 \\
225
\CentreColumns{2}{0} & . & {\bf E} \\
231
%%%%%%%%%%%%%%%%% Table Environment %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
232
\centerline{{\bf Table Environment} (Keypad)}
234
\centerline{{\em\ More Sophisticated Keypad\ }}
236
\begin{table}{|c|c|c|c|}{8,8,8,8}
238
& Help & Next & Del L \\
239
{\bf Gold} & {\bf Help} & {\bf Find} & {\bf Und L} \\
241
Page & Section & Append & Del W \\
242
{\bf Command} & {\bf Fill} & {\bf Replace} & {\bf Und W} \\
244
Forw & Backw & Cut & Del C \\
245
{\bf Bottom} & {\bf Top} & {\bf Paste} & {\bf Und C} \\
247
Word & EOL & Char & \\
248
{\bf Chg Case} & {\bf Del EOL} & {\bf Specins} & Enter \\
250
\CentreColumns{2}{Line} & Select & {\bf Subst} \\
251
\CentreColumns{2}{{\bf Open Line}} & {\bf Reset}& \\
256
%%%%%%%%%%%%%%%%% Table Environment %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
257
\centerline{{\bf Table Environment} (columns)}
260
\begin{table}{|c|c|c|c|c|}{5,5,5,5,5} \Rule
261
00 & 01 & 02 & 03 & 04 \\
262
10 & 11 & 12 & 13 & 14 \\
263
20 & 21 & 22 & 23 & 24 \\
264
30 & 31 & 32 & 33 & 34 \\
265
40 & 41 & 42 & 43 & 44 \\ \Rule
266
\columns{|c|c|c|c|}{5,5,5,5}
270
\begin{table}{|c|c|c|c|}{5,5,5,5}\Rule
272
60 & 61 & 62 & 63 \\ \Rule
273
\columns{|c|c|c|c|c|}{5,5,5,5,5}
274
00 & 01 & 02 & 03 & 04 \\
275
10 & 11 & 12 & 13 & 14 \\
276
20 & 21 & 22 & 23 & 24 \\
277
30 & 31 & 32 & 33 & 34 \\
278
40 & 41 & 42 & 43 & 44 \\ \Rule
282
%%%%%%%%%%%%%%%%% Table Environment %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
283
\centerline{{\bf Enumerate in Table Environment}}
286
The following table should be centered:
288
\begin{table}{|r |p|}{3,}
290
\# & \Centre{Comment} \\
294
\item This is the first alternative
295
\item This is the second alternative
299
B & \Right{Right\ } \\
304
%%%%%%%%%%%%%%%%% Table Environment %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
305
\centerline{{\bf Table within Table}}
308
The following table should be centered:
310
\begin{table}{|r | c |}{5,}
315
& \begin{table}{|c|p|}{3,} \Rule
321
2 & \Right{Right\ } \\
326
%%%%%%%%%%%%%%%%% Table Environment %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
327
\centerline{{\bf Table within Table}}
330
The following table should be centered:
332
\begin{table}{| c | l |}{17,}
336
\begin{table}{|r|l|}{3,} \Rule
337
a1 & In First Column \\
338
a2 & Also In First Column \\ \Rule
340
\begin{table}{|c|p|}{3,} \Rule
346
===> & \Right{Right\ } \\
352
\centerline{\bf Table 2}
353
\begin{table}{cc}{20,20}
354
\begin{table}{|c|c|}{8,8} % Left Part (L keys)
358
{\em COMMAND} & {\em FIND}\\
362
{\em BOTTOM} & {\em TOP} \\
364
RIGHT P & CREA COL \\
366
{\em LEFT P} & {\em DEL COL} \\
370
{\em SHOW} & {\em SORT} \\
374
{\em SCREEN} & {\em STATUS} \\
376
\end{table} % End of Left Part
377
& % Right Column (Function Keys)
378
\begin{table}{|c|c|}{8,8}
384
\end{table} \\ % End of Right Part
385
\end{table} % End of Table
389
\centerline{{\bf Table within Table}}
392
The following table should be centered:
394
\begin{table}{| c | l |}{17,}
398
\begin{table}{|r|l|}{3,} \Rule
399
a1 & In First Column \\
400
a2 & Also In First Column \\ \Rule
402
\begin{table}{|c|p|}{3,} \Rule
408
===> & \Right{Right\ } \\
415
%%%%%%%%%%%%%%%%% Alignement %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
416
\centerline{{\bf Alignement }}
419
It is possible to align items (at 4 characters) with the use of the \b tab
423
First\_Item \tab Second \tab Third \tab 4 \tab 5 \tab 6 \tab 7 \tab 8
424
\tab 9 \tab 10 \tab 11
428
%%%%%%%%%%%%%%%%% Alignement %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
429
\centerline{{\bf Alignement }}
432
It is possible to align items at the {\bf right} of tabs with the use of the
436
\tabright{First\_Item} \tabright{Second} \tabright{Third}
437
\tabright{1233} \tabright{5} \tabright{66666} \tabright{7777777} \tabright{8}
438
\tabright{999999999} \tabright{10} \tabright{333}
442
%%%%%%%%%%%%%%%%% Marking Fields %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
443
\centerline{{\bf \b Field}}
446
This macro may be used to easily define {\sl Forms}.
447
Use it as {\bf \b Field\{\Field{Name}{Name}\}%
448
\{\Field{Text}{{\em...~Text~...}}}\}.
451
Such marked fields may be retrieved from the calling program,
452
for modifications, edition, etc....
455
Reserving 20 blanks is as easy to write as \b Field\{Here\}%
456
\{\{\b sl\b Hspace\{20\}\}\}:
459
Here : \Field{Here}{{\sl\Hspace{20}}}
463
%%%%%%%%%%%%%%%%% Marking Fields %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
464
\centerline{{\bf \b Field as Several Lines}}
467
Here is an example of a multiline fields:
469
\begin{table}{| c | p |}{5,20}
471
Item & Explanation \\
473
\Field{item}{{\sl ~~~~~}} &
474
\Field{sol}{{\em\Hspace{80}}} \\
476
\multicolumn{2}{c}{%---------- Another way
477
\Field{item_2}{{\em Text over the 2 columns}}
484
%%%%%%%%%%%%%%%%% More %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
486
\centerline{{\bf \b More environment}}
489
It's possible to associate any piece of text to a window, without
490
having to display it. The {\bf Ccode} is an example, which is
491
used in {\sl \word} to derive computed fields.
493
The macros substitutions is performed...
497
/* Just a Ccode ............. */