CTAN update: program version 3.3.11
Date: November 12, 2008 1:34:50 PM CET
This package has been updated on tug.ctan.org and should soon be at your
local mirror.
Thank you,
Jim Hefferon
Saint Michael's College
.........................................................................
The following information was provided by our fellow contributor:
Name of contribution: program.sty version 3.3.11
Author's name: Martin Ward
Location on CTAN: /macros/latex/contrib/program
Summary description: A style file for typesetting programs in maths mode
with indentation
License type: gpl
Announcement text:
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 package is located at http://tug.ctan.org/tex-archive/macros/latex/contrib/program . More information is at http://tug.ctan.org/pkg/program (if the package is new it may take a day for that information to appear). We are supported by the TeX Users Group http://www.tug.org . Please join a users group; see http://www.tug.org/usergroups.html .
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 package is located at http://tug.ctan.org/tex-archive/macros/latex/contrib/program . More information is at http://tug.ctan.org/pkg/program (if the package is new it may take a day for that information to appear). We are supported by the TeX Users Group http://www.tug.org . Please join a users group; see http://www.tug.org/usergroups.html .
program – Typesetting programs and algorithms
The main offering is a program environment; a programbox environment is available for fragments that must not break with the pages.
Package | program |
Version | 3.3.14 2017-05-05 |
Copyright | 1991, 2007 Martin Ward |
Maintainer | Martin Ward |