Introduction
The pre
command can be used to specify
pre-formatted text.
This uses a
uniformly spaced font
and columns in the input correspond directly to
columns in the output.
pre_example.omh
Use an editor of your choice to
create the file pre_example.omh
in the
test directory
with the following contents:
$begin
pre_example$$
$section Example Pre-Formatted Text$$
$head A Paragraph Without Heading or Subheading$$
This paragraph has the heading
"A Paragraph Without Heading or Subheading"
directly above it.
$pre
$$
This paragraph does not have a heading or subheading
directly above it.
$head Indenting Text$$
$pre $$
The first line of the text of this paragraph is indented
using the pre command and a tab character.
The other lines of text are not indented.
$head A Pre-Formatted Paragraph$$
$pre
minimize f(x) with respect to x
subject to g(x) <= 0
$$
$end
Note that you can copy and paste the commands above
to your editor window.
You may just copy the file with the same name from the
getting started directory
.