MathGroup Archive 1999

[Date Index] [Thread Index] [Author Index]

Search the Archive

Printing code formatted with spaces and tabs


I need to make hardcopies of my Mathematica 3.0 notebooks. I use to
indent code in the following way with tabs and spaces:

For[j=5,j<=m,j*=2,
  For[i=0,i<=n,i++,
    Print[i];
    i--;
    Print[i];
    i++;
    Print[i^2]
   ];
  Print[j]
 ]

But the outprints have all lines aligned to the left. How can I change
this?

Georg


  • Prev by Date: reliable, easy TeX+Mathematica
  • Next by Date: Re: Re: LaTex on a Mac
  • Previous by thread: reliable, easy TeX+Mathematica
  • Next by thread: HOW BEST for figs: Mathematica -> Textures -> PDF ? (long)