CTAN package update: program

CTAN Announcements ctan-ann at dante.de
Tue Jul 17 20:16:28 CEST 2007


quoth the cam.ctan.org upload daemon:

> ======================================================================
> 
> The following information was provided by the package's contributor.
> 
> Name of contribution: program
> Author's name: Martin Ward
> Location on CTAN: /macros/latex/contrib/program/
> Summary description: Typesetting programs and algorithms.
> License type: gpl
> 
> Announcement text given by the package's contributor:
> ----------------------------------------------------------------------
> 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.
> 
> ----------------------------------------------------------------------
> 
> Users may view the package catalogue entry at
>   http://www.tex.ac.uk/tex-archive/help/Catalogue/entries/program.html
> or they may browse the package directory at
>   http://www.tex.ac.uk/tex-archive//macros/latex/contrib/program/

i've installed the new version as suggested, and have updated the
catalogue.

Robin Fairbairns

For the CTAN team



More information about the Ctan-ann mailing list