Printing code formatted with spaces and tabs
- To: mathgroup at smc.vnet.net
- Subject: [mg18615] Printing code formatted with spaces and tabs
- From: Georg Melamed <geomel at cs.tu-berlin.de>
- Date: Tue, 13 Jul 1999 01:01:35 -0400
- Organization: Freie Universitaet Berlin
- Sender: owner-wri-mathgroup at wolfram.com
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