home *** CD-ROM | disk | FTP | other *** search
- \title Set Up Commands and what they do
- \fgcolor 1
- \bgcolor 3
- \format
- \bold \\FONT <fontname> <size> : \bold
- \indent 8
- This command will set the font for this window.
- Each window may have its own font. Proportional
- fonts may or may not work well. If the font
- cannot be found, the default system font (Topaz) will be used.
- It is also worthwhile to note that while using large
- fonts (point size > 20) is possible, the results may
- not be what you intended (this could be called a bug).
-
- \freeformat
- \ital Example: \ital
- 1.) \\font times 15 /* use a 15 point Times font */
- 2.) \\font helvetica 26 /* use a 26 point Helvetica font */
-
-
-
- \format
- \bold \\TITLE <Some Title> : \bold
- \indent 8
- Set the window Title for this document. This is
- what will be displayed in the window title bar.
- Any text from \underline after\underline the TITLE keyword to
- the end of line will be used as the window title.
-
- \freeformat
- \ital Example: \ital
- 1.) \\title FlowerText
- 2.) \\title Joes' really cool HyperText Document
-
-
-
- \format
- \bold \\BGCOLOR <number> : \bold
- \indent 8
- Set the Background color for the window border. The
- number given is the pen number to use. If your
- choice here is the same as the FGCOLOR option,
- the FGCOLOR will be complemented. This keeps
- silly things like invisible window borders from
- happening.
-
- \freeformat
- \ital Example: \ital
- 1.) \\bgcolor 3 /* set window background color to pen 3 */
- 2.) \\bgcolor 2 /* set window background color to pen 2 */
-
-
-
- \format
- \bold \\FGCOLOR <number> : \bold
- \indent 8
- Set the Foreground color for the window border.
- Watch out for unusable color combinations. Some
- can be *really* tough on the eyes (even if it
- is only the border). This command and the one
- above are useful for using the windows to color
- code the different the levels within in your
- hypertext document(s) heirarchy.
-
- \freeformat
- \ital Example: \ital
- 1.) \\fgcolor 1 /* foreground color for window is pen 1 */
- 2.) \\fgcolor 4 /* color in foreground of window is pen 4 */
-
-
-
- \format
- \bold \\LOCATION <xmin> <ymin> <width> <height> : \bold
- \indent 8
- This command will set up the window to appear at
- your given coordinates if at all possible. If you
- specify something too large, or off screen, it will
- put in suitable defaults. The sanity checking
- is good, so don't worry about being off a few
- pixels here or there.
-
- \freeformat
- \ital Example: \ital
- /* open a window at 42x25 which is 400x100 */
- 1.) \\location 42 25 400 100
-
- 2.) \\location 10 175 700 80 /* no good, but will work */
-
-
-
- \format
- \bold \\TEXTCOLOR <num> : \bold
- \indent 8
- This command will set the text in the window to be printed in <num> color.
- On a 4 color workbench screen, you specify the number between 0-3. Larger
- numbers will simply wrap around. Be careful of using unreadable
- combinations of text, some can very difficult to read. Remember, this is
- only a setup command and cannot be used to change colors in the rest of a
- document (currently).
-
- \freeformat
- \ital Example: \ital
- 1.) \\textcolor 3 /* use pen number 3 to draw text */
- 2.) \\textcolor 4 /* use pen number 4 to draw text */
-
-
-
- \format
- \bold \\HELP <filename> :\bold
- \indent 8
- This command makes use of the help key on the Amiga keyboard. The file name
- you give will be taken as the file to load and display whenver the \bold
- HELP \bold key is pressed. This provides a convienent and easy method to
- give help for your documents. Each window may have its own seperate help
- file. This is a very important command and \bold every \bold Hypertext
- author should make use of this in \ital each and every document. \ital The
- Amiga keyboard is one of the few that actually has a HELP key, don't let it
- go to waste.
-
- \freeformat
- \ital Example: \ital
- 1.) \\help my_help.doc
- This example will open and display the file my_help.doc
- (in the current directory) \italic whenever \italic the
- help key is pressed.
-
- 2.) \\help df1:help/quick_help.doc
- In this example, when the user presses the help key,
- the file df1:quick_help.doc will be displayed.
-
-
-