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

Home » Public Forums » archive » Re: Source Code into latex
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Source Code into latex [message #25686] Tue, 10 July 2001 21:12
Chris Rennie is currently offline  Chris Rennie
Messages: 6
Registered: October 1999
Junior Member
Dominik Paul wrote:
>
> Hi there,
>
> does somebody know, how I can convert or create a latex-document out of my
> IDL Source Code?

The more elaborate alternative to \begin{verbatim} ... \end{verbatim}
is to use the `listings' package, which provides a lot of options:
comments in italics, key words in bold, line numbering etc.

\documentclass{article}
\usepackage{listings}
\begin{document}
\lstset{language=IDL, commentstyle=\it, basicstyle=\small,
labelstyle=\tiny, labelstep=1}

Blah blah blah, as in the following IDL code:
\lstinputlisting{IDLcode.pro}
\end{document}

Chris
Re: Source Code into latex [message #25707 is a reply to message #25686] Mon, 09 July 2001 09:31 Go to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
"Dominik Paul" <dpaul@ukl.uni-freiburg.de> writes:
>
> does somebody know, how I can convert or create a latex-document out of my
> IDL Source Code?

The following is a good start:

\begin{verbatim}
PRO FOOBAR
print, "Hello world"
END
\end{verbatim}

Craig

--
------------------------------------------------------------ --------------
Craig B. Markwardt, Ph.D. EMAIL: craigmnet@cow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
------------------------------------------------------------ --------------
Re: Source Code into latex [message #25708 is a reply to message #25707] Mon, 09 July 2001 09:38 Go to previous message
R.Bauer is currently offline  R.Bauer
Messages: 1424
Registered: November 1998
Senior Member
Dominik Paul wrote:
>
> Hi there,
>
> does somebody know, how I can convert or create a latex-document out of my
> IDL Source Code?
>
> Thanks
>
> Dom

Dear Dominik,

we have some tools in our library.


http://www.fz-juelich.de/icg/icg1/idl_icglib/idl_source/idl_ html/dbase/download/tex_begin.tar.gz
http://www.fz-juelich.de/icg/icg1/idl_icglib/idl_source/idl_ html/dbase/download/tex_end.tar.gz
http://www.fz-juelich.de/icg/icg1/idl_icglib/idl_source/idl_ html/dbase/download/tex_filter.tar.gz
http://www.fz-juelich.de/icg/icg1/idl_icglib/idl_source/idl_ html/dbase/download/tex_tabular.tar.gz
http://www.fz-juelich.de/icg/icg1/idl_icglib/idl_source/idl_ html/dbase/download/tex_text_format.tar.gz


For further routines and licensing please have a look at
http://www.fz-juelich.de/icg/icg1/idl_icglib/idl_lib_intro.h tml


regards

Reimar
--
Reimar Bauer

Institut fuer Stratosphaerische Chemie (ICG-1)
Forschungszentrum Juelich
email: R.Bauer@fz-juelich.de
http://www.fz-juelich.de/icg/icg1/
============================================================ ======
a IDL library at ForschungsZentrum Juelich
http://www.fz-juelich.de/icg/icg1/idl_icglib/idl_lib_intro.h tml

http://www.fz-juelich.de/zb/text/publikation/juel3786.html
============================================================ ======

read something about linux / windows
http://www.suse.de/de/news/hotnews/MS.html
Re: Source Code into latex [message #25709 is a reply to message #25707] Mon, 09 July 2001 09:36 Go to previous message
deja_jlin is currently offline  deja_jlin
Messages: 12
Registered: February 2001
Junior Member
hi Dom,

what level of sophistication in latex import are you looking for?
the easiest answer is of course to enclose the idl code in
\begin{verbatim} ... \end{verbatim}

best,
-Johnny

-------------------------------------------
Johnny Lin
CIRES, University of Colorado
Work Phone: (303) 735-1636
Web: http://cires.colorado.edu/~johnny/
-------------------------------------------


"Dominik Paul" <dpaul@ukl.uni-freiburg.de> wrote in message news:<9iccp9$80o$1@n.ruf.uni-freiburg.de>...
> Hi there,
>
> does somebody know, how I can convert or create a latex-document out of my
> IDL Source Code?
>
> Thanks
>
> Dom
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: angles from rotation matrix
Next Topic: about label_region

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

Current Time: Wed Oct 08 16:01:13 PDT 2025

Total time taken to generate the page: 0.00667 seconds