Lecture overview
Keyboard shortcut: 'u'  Previous slide in this lecture
Keyboard shortcut: 'p'  Next slide in this lecture
Keyboard shortcut: 'n'  Lecture notes - all slides and notes together  Annotated slide
Keyboard shortcut: 't'  Alphabetic index  Help page about these notes  Course home    Slide 7 : 20

An LAML Document Example 

(load (string-append laml-dir "laml.scm"))

(laml-style "simple")

(generic-page-1
  "A simple page"
  (con-par 
     "This page demonstrates a few of the functions in the HTML library."

     (em (con-space "This paragraph has been emphasized by means of the" 
         (b "em") "function."))

     "Let us also show a simple table, which is one of the real convenient 
      elements in LAML:"

     (table-1
       2 ; border 
       (list 100 200 100)
       (list red green blue)
       (list
         (list "Here" "is" "some")
         (list "tabular" "text" "")))

     (b "This ends this simple page"))

     
  (make-color 255 255 191) black blue blue
)

(end-laml)