LyX-Code works nicely for this. 
I did student hand outs for a class that way. 
Mail me if you need an example, but it is actually really simple.

Regards
Roland

On 13-Apr-99 Alexander Wollmann wrote:
> Hi everybody.
> 
> As part of my exam-paper I wrote a C - program and now I have to write a
> documentation about this. So I need to include a lot of examples of the
> c-source-code to my paper. I thought the algorithm - float would do this, but
> I
> it doesn�t seem so. Can somebody tell me the way to get this to work? I need
> the source-code to look like in emacs, i.e typewriter font, and indents. For
> example this one:
> 
> struct draw_data
> {
>   int num_elements;
>   int num_vertices;
>   REAL xmin,xmax,ymin,ymax,zmin,zmax;
>   int *dof_numbers[3];
> };
> 
> Thanks for any help!!
> 
> Alex.
> 
> -----------------------------------------------------------
> Alexander Wollmann
> Universit�t Freiburg,
> Abteilung Elementar-Mathematik und Didaktik der Mathematik
> 
> E-Mail: Alexander Wollmann <[EMAIL PROTECTED]>
> Date: 13-Apr-99
> Time: 16:21:17
> 
> This message was sent by XFMail
> -----------------------------------------------------------

Roland Krause
Visiting Research Associate - Center for Computational Mechanics
Washington University, Saint Louis
Roland Krause <[EMAIL PROTECTED]>

Reply via email to