Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Automatic Indent: How can I change the size?

1 view
Skip to first unread message

DongGook Park

unread,
Jun 24, 1999, 3:00:00 AM6/24/99
to
Hi,

I am just a beginner in using Mathematica. While entering a new line of
Mathematica program codes in the FrontEnd window, the new line is automatically
indented in exactly "two spaces". How can I change the default indent size, for
example, from "2 space" to "5 spaces"?

I wonder if I might look spending effort to too small things, but I found
that in some downloaded notebook files, the automatic indenting size is
stangely just "one space" even though the system (Mathematica) default is good "two
spaces". Hence, in some codes with structured multiple indents it is quite
difficult to discern the different hierarchy in the codes.

Thanks in advance.
DongGook Park

----------------------------------------------------
Example:

... From this:

myFunc[n_]:= Switch[
n,
_Integer, N[n],
_Rational,N[n],
_List,N[n[[1]]]
]

... To this:

myFunc[n_]:= Switch[
n,
_Integer, N[n],
_Rational,N[n],
_List,N[n[[1]]]
]

0 new messages