colorcoded text in latex [message #38137] |
Sat, 21 February 2004 15:08 |
R.Bauer
Messages: 1424 Registered: November 1998
|
Senior Member |
|
|
Hi all
does someone have an environment for latex which does a color highlightning
of some IDL sample code?
This is such an example:
pi={name:'P.Mustermann',organisation:'FZ Jᅵlich'}
platform={name:'Cessna',type:'AIRCRAFT'}
dataset={campaign:'OTTO1999',DATA_CATEGORY:'EXPERIMENT',$
experiment:'GHOST',title:'validation',$
type_of_data:'MEASUREMENTS'}
global=CREATE_STRUCT('pi',pi,'platform',platform,$
'dataset',dataset)
time={param:DINDGEN(100), $
units:'seconds since 2000-01-01 00:00:00 UTC',$
long_name:'time',short_name:'time',flag:'NONE'}
time=CREATE_STRUCT(time,valid_param(time))
n2o={param:FINDGEN(100),units:'ppm',$
sample_interval:1.0,$
long_name:'N2O',short_name:'N2O',$
flag:'STDEV',stdev:sin(dindgen(100))}
n2o=CREATE_STRUCT(n2o,valid_param(n2o))
struct=CREATE_STRUCT('!global',global,'time',time,'n2o',n2o)
struct_tree,struct
regards
Reimar
|
|
|