axiom-developer
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Axiom-developer] Pamphlet format discussion


From: daly
Subject: [Axiom-developer] Pamphlet format discussion
Date: Sat, 21 Jul 2007 10:34:57 -0500

Cliff, Andrey

It would be trivial to add another argument to the chunk to
allow your optional language argument.

See the silver file src/doc/axiom.sty.pamphlet, lines 16-63
In particular, see line 50.

To add the optional argument line 50, which now reads:

   \newenvironment{chunk}[1]{

would be changed to read:

   \newenvironment{chunk}[1][1]{


After that change you could write:


\begin{chunk}{chunkname}
\begin{chunk}{chunkname}{spad}
\begin{chunk}{chunkname}{makefile}
\begin{chunk}{chunkname}{lisp}

etc.

Tim




reply via email to

[Prev in Thread] Current Thread [Next in Thread]