* Context-like?
@ 2000-06-01 18:25 David Arnold
2000-06-01 23:23 ` Context-like? Hans Hagen
0 siblings, 1 reply; 2+ messages in thread
From: David Arnold @ 2000-06-01 18:25 UTC (permalink / raw)
Hello,
This works, it doesn't seem very Context-like. Any suggestions?
You are not limited to single characters in naming variables and
parameters. There are some naming conventions, but equations such
as
\midaligned{\type{fish' = growth_rate * fish * (1 - fish/6)}}
\noindenting and parameters such as
\midaligned{\type{growth_rate=0.20}}
\noindenting are equally valid.
-
David Arnold
College of the Redwoods
Mathematics Department
7351 Tompkins Hill Road
Eureka, CA 95501
(707) 476-4222
My Home Page
http://online.redwoods.cc.ca.us/instruct/darnold/index.htm
Ordinary Differential Equations Using Matlab
http://www.prenhall.com/books/esm_0130113816.html
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Context-like?
2000-06-01 18:25 Context-like? David Arnold
@ 2000-06-01 23:23 ` Hans Hagen
0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2000-06-01 23:23 UTC (permalink / raw)
Cc: ntg-context
At 11:25 AM 6/1/2000 -0700, David Arnold wrote:
>This works, it doesn't seem very Context-like. Any suggestions?
>
>You are not limited to single characters in naming variables and
>parameters. There are some naming conventions, but equations such
>as
>
>\midaligned{\type{fish' = growth_rate * fish * (1 - fish/6)}}
>
>\noindenting and parameters such as
>
>\midaligned{\type{growth_rate=0.20}}
>
>\noindenting are equally valid.
You want-it context, you got it:
\definetyping
[somecode]
[before={\startalignment[middle]},
after=\stopalignment,
indentnext=no]
\setupindenting
[medium]
test test
\startsomecode
test test
\stopsomecode
test test
\startsomecode
test test
\stopsomecode
test test
[maybe I should add align=middle as option]
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.nl
-----------------------------------------------------------------
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2000-06-01 23:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-06-01 18:25 Context-like? David Arnold
2000-06-01 23:23 ` Context-like? Hans Hagen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).