aboutsummaryrefslogtreecommitdiff
path: root/src/input/tutchap1.input.pamphlet
blob: dab8ee0e96e081a87ba124d8d84ca035af2412b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
\documentclass{article}
\usepackage{axiom}
\begin{document}
\title{\$SPAD/src/input tutChap1.input}
\author{The Axiom Team}
\maketitle
\begin{abstract}
\end{abstract}
\eject
\tableofcontents
\eject
\section{License}
<<license>>=
--Copyright The Numerical Algorithms Group Limited 1996.
@
<<*>>=
<<license>>
1+1
123^45
2^(3+4)
4/3
2/2
a := 2
b := a
a := 3
b
i : Integer
i := 2/3
i := 4/2
c : PositiveInteger := 3
(j, k, l) : Integer
)display names
)clear properties c i
%%(1)
1 + %%(-3)
1 _
  +_
  2
7 * 8 -- In the next chapter we shall move beyond elementary arithmetic.
-- Commenting alone doesn't increment the command count.
@
\eject
\begin{thebibliography}{99}
\bibitem{1} nothing
\end{thebibliography}
\end{document}