SM
Edition 2.2.1, August 1992
by Robert Lupton and Patricia Monger
Introduction
Description of SM
A simple plot
Facilities within the Command Interpreter
String Variables
Command History
Changing Key-Bindings
Talking to the Operating System
Macros
DO and FOREACH loops, and IF statements
The Help Command
Saving and Restoring a Session
Vectors and Arithmetic
Drawing Labels and SM's TeX Emulation
An Introduction to TeX
Available Fonts
SM's TeX Control Sequences
SM's Extensions to TeX
Caveats and Cautions when using TeX
How to Stop the Device using its Fonts
Old-style Labels
Getting Hardcopies of Plots
Overloading Keywords
Examples of Useful Macros
More Examples of Macros
What Quotes What When
Reserved Keywords
Glossary of Terms used in this Manual
Command Reference
The Command Interpreter
Token Generation
Peculiarities of the Grammar
The Macro Processor
The DO, FOREACH, and IF commands
Examples
The Stdgraph Graphics Kernel
The Graphcap File
Stdgraph's Binary Encoder
Examples of Graphcap Entries
Using Cursors with Graphcap
Using Colours with Graphcap
Writing a New Graphcap Entry
Support for Raster Devices
Compiling Graphcap
Index to Graphcap Capabilities
Calling SM from Programmes
The SM Grammar
Two-Dimensional Graphics
Filecap
Termcap -- A Terminal Database
New Devices and New Machines
Adding New Devices
Porting to New Machines
The System Macro Libraries
Tips for Mongo Users
Differences from Mongo
The READ OLD command
The compatibility macro
SM's Fonts
General Index
Command Index