| Section: |
We can put in headlines:
in various sizes:
and center them if need be:
We can italicize and bold-face and typewriter-font our text. Soon, math mode will be available. In the meantime we have some limited math mode commands:
Inline: ; or in displays:
or:
To engage a typewriter font, as we often do for including sections of program code, we can use the "code" environment. It switches to a fixed-width font and produces HTML that respects the layout of the HtX file.
(define i-am-a-program-sample
(lambda (x y)
(cond
((= x y) 'now-i-stop)
((or (not (integer x)) (not (integer y)))
(display "This program works with two integers")
(newline))
((> x y) (display "x is too big")
(newline)
(i-am-a-program-sample x (+ 1 y)))
((< x y) (display "x is too small")
(newline)
(i-am-a-program-sample (+ 1 x) y)))))
You can also enter a similar environment "in-line" with (i-am-a-program-sample 2 8).
|
rms@cs.oberlin.edu