comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » colorcoded text in latex
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
colorcoded text in latex [message #38137] Sat, 21 February 2004 15:08
R.Bauer is currently offline  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
[Message index]
 
Read Message
Previous Topic: Re: Color table questions
Next Topic: Gridding-Interpolation of satellite data

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 18:12:34 PDT 2025

Total time taken to generate the page: 0.00237 seconds