[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Axiom-developer] [Fraction] using begin{spad} ... to comment code
From: |
Bill Page |
Subject: |
[Axiom-developer] [Fraction] using begin{spad} ... to comment code |
Date: |
Mon, 06 Feb 2006 10:14:16 -0600 |
Changes http://wiki.axiom-developer.org/Fraction/diff
--
I don't see any problem using !\begin{spad}...\end{spad}. I think
it looks good, although as Martin says, Axiom Wiki does try to
compile the code. On most browsers the compile errors will be
hidden by the '+' folding. However the normal way to quote code
is by using '::' at the end of the line, leave a blank line and
then indent the code, like this::
set!: (%, 'num', M) -> M
set!: (%, 'den', S) -> S
If you want to also highlight the text with color you can use
HTML coding such as::
<pre style="background-color:pink">
set!: (%, 'num', M) -> M
set!: (%, 'den', S) -> S
</pre>
<pre style="background-color:pink">
set!: (%, 'num', M) -> M
set!: (%, 'den', S) -> S
</pre>
--
forwarded from http://wiki.axiom-developer.org/address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Axiom-developer] [Fraction] using begin{spad} ... to comment code,
Bill Page <=