] > A document demonstrating section numbering and copy

This is an alternative title

1 Introduction

This is a test file with title "This is an alternative title". The first section is called "Introduction" and has number "1".

The body section of this text is as follows.

body {
h1 @id[doctitle][This is an alternative title]

section @id[sec1] {
title @id[introtitle] [Introduction]

p [This is a test file with title "[copy[doctitle]]".  The first
section is called "[copy[introtitle-title]]" and has number
"[copy[introtitle-number]]".]

p [The body section of this text is as follows.]

pre [ ...
]

}; section

section @id[newsec] {
title @id[newsectitle] [Theorems on conservation of mass-energy]

p [In this section we will consider the following theorem.]

theorem @id[einstein] @name[Einstein's theorem] math E = m c sup 2

p [This famous [copy[einstein-type]], [copy[einstein-name]], has
number [copy[einstein-number]].]

p [This principle of Einstein's replaced the older
[copy[cons-type]], [copy[cons-name]], which I have called
number [copy[cons-number]].]

theorem @id[cons] @name[The Conservation of Energy and Mass] @number[0]
  p [[math E = E] and [math m = m].]

}; section

}; body

2 Theorems on conservation of mass-energy

In this section we will consider the following theorem.

Theorem 2.1 (Einstein's theorem)

E=mc2

This famous Theorem, Einstein's theorem, has number 2.1.

This principle of Einstein's replaced the older Theorem, The Conservation of Energy and Mass, which I have called number 0.

Theorem 0 (The Conservation of Energy and Mass)

E=E and m=m.

This page is copyright. Web page design and creation by GLOSS.