summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/program/README
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2008-11-13 01:36:32 +0000
committerKarl Berry <karl@freefriends.org>2008-11-13 01:36:32 +0000
commitec239becc730792dccf130c2730eacf65208f6a5 (patch)
tree5e381c89d24c9fcbc0f495ba4e89bd314e38fd59 /Master/texmf-dist/doc/latex/program/README
parentc07499000ddf2a3ab735e999cb969917816bcfc3 (diff)
program 3.3.1 (12nov08)
git-svn-id: svn://tug.org/texlive/trunk@11276 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/program/README')
-rw-r--r--Master/texmf-dist/doc/latex/program/README27
1 files changed, 27 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/program/README b/Master/texmf-dist/doc/latex/program/README
new file mode 100644
index 00000000000..3a231c3a275
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/program/README
@@ -0,0 +1,27 @@
+
+Here's a copy of my LaTeX2e style file for typesetting programs
+and algorithms in my favourite style without having to type
+in endless tabbing commands. Each line is set in math mode
+so all the indentation and spacing is done automatically.
+The notation |variable_name| can be used within normal text,
+maths expressions or programs to indicate a variable name.
+Use \origbar to get a normal | symbol in a program.
+The commands \A, \B, \R, \T and \Z typeset the corresponding bold
+letter with the next object as a substript (eg \S1 typesets {\bf
+S$_1$} etc). They now cope with primes as well, (eg $\S2'''$). The
+program.sty file can be easily edited to reflect your favoured style.
+Typesetting a program is as easy as:
+
+\(\IF x \ne 0 \THEN |long_name|_{123} = x^y \FI\)
+
+See the program-demo.tex file for examples.
+
+The file should work with or without AMSLaTeX.
+
+This work is released under the GPL version 3.
+
+ Martin Ward.
+
+martin@gkc.org.uk http://www.cse.dmu.ac.uk/~mward/ Erdos number: 4
+G.K.Chesterton web site: http://www.cse.dmu.ac.uk/~mward/gkc/
+