• No results found

The program package

N/A
N/A
Protected

Academic year: 2021

Share "The program package"

Copied!
1
0
0

Bezig met laden.... (Bekijk nu de volledige tekst)

Hele tekst

(1)

The program package

Martin Ward

May 5, 2017

This is the “program” style option which sets up the program and programbox ments, keywords for programs and a few goodies. Note: Within the program environ-ment:

(1) Newlines are significant.

(2) Each line is in math mode, so for example spaces in the input file are not significant. (3) \\ within a line causes a linebreak in the output.

We also define a “programbox” environment which typesets a program in a box. Useful for keeping a pice of code on one page or for typesetting small programs in running text. We also redefine \( and \) as \begin{programbox} and \end{programbox}. The \tab and \untab commands are defined to have no effect while outside a program environ-ment, hence a single-line program can be typeset in maths mode without the overhead associated with programbox.

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 S1etc). 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 AMS-LATEX.

This work is released under the GPL version 3.

This manual corresponds to program.sty v3.3.14, dated May 5, 2017. †

martin@gkc.org.uk, Martin.Ward@smltd.com http://www.gkc.org.uk/

Referenties

GERELATEERDE DOCUMENTEN

To test the hypotheses, I chose to use the UK based Nectar Business (NB) loyalty program for empirical analysis. NB is a coalition loyalty program and therefore it has a

Findings of note are that agreements reached before the opening of formal insolvency proceedings may be shielded from recovery on the basis of fraudulent conveyance (actio

Although I have significant "equivalency" due to a senior level administrative career in federal government prior to working in a municipal environment, the requirements

skil tussen die line~re en die intrinsieke vertakkingsprogram. Crowder se program doen mcer as bloat kcnnisver- werwing. Crowder sien die leerproses dieper en wyer

Ageing in yeast can be described as chronological ageing (the capability of cells to maintain viability over time) or replicative life span (the number of times a cell can

When it is not we check if #1 is present in the list of files to be processed. If not we add it and initialize list of output files for that input and list of output files that

Indien ten behoeve van de beleidsvoorbereiding van de regeling en het bestuur van de gemeente commissies worden ingesteld, dan dient er naar te worden gestreefd zoveel mogelijk

oor sociaal en cultureel belang der burgerij zegenrijk werkzaam waren, s en tot administratieve verlengstukken van het Rijk gemaakt, zonder nigs eigen initiatief,