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

Format Type of new Output Cells to OutputForm

7 views
Skip to first unread message

magma

unread,
Oct 7, 2008, 7:03:26 AM10/7/08
to
I need to set the Format Type of new Output Cells to OutputForm.

This can be done with menu commands: Edit>Preferences...>Evaluation
and then select
Format type of new Output Cells to OutputForm

This is ok, but I would like to do it programmatically.
I guess I have to set some option in the notebook, but how?

Jens-Peer Kuska

unread,
Oct 8, 2008, 6:25:43 AM10/8/08
to
Hi,

SetOptions[EvaluationNotebook[],
CommonDefaultFormatTypes -> {"Input" -> StandardForm,
"InputInline" -> StandardForm, "Output" -> OutputForm,
"OutputInline" -> StandardForm, "Text" -> TextForm,
"TextInline" -> TraditionalForm}]

Regards
Jens

magma

unread,
Oct 9, 2008, 6:34:35 AM10/9/08
to
Thank you Jens-Peer, your suggestion should indeed work, but
inexplicably it does not! (at least in 6.0)

Besides CommonDefaultFormatTypes is not yet "official".

I just thought that I can achieve what I want simply with

$Post = OutputForm;

and go back to the default behaviour with

$Post =.


On Oct 8, 12:25 pm, Jens-Peer Kuska <ku...@informatik.uni-leipzig.de>
wrote:

Tugrul Temel

unread,
Nov 6, 2008, 4:07:07 AM11/6/08
to

Dear All,

I run a Mathematica code that uses a lot of symbolic expressions, which uses
up a lot of memory and finally results in "insufficient memory". Therefore,
I want to reduce all the symbolic expressions to approximate numbers to get
away the memory problem.

I need your advice on the conversion of symbolic expressions to approximate
numbers.

Regards,
Tugrul

Bill Rowe

unread,
Nov 7, 2008, 5:59:51 AM11/7/08
to

You can change exact numbers to machine precision (approximate)
numbers by using the built-in function N. But there is no way to
change a symbol to an approximate number until after a number
has been assigned to it.

I've no idea if the above is helpful to you or not. But it is
unlikely you are going to get any more helpful/meaningful
answers until you post details of the problem you are trying to
solve, preferably with Mathematica code.

0 new messages