MathGroup Archive 1999

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

Search the Archive

RE: getting rid of TraditionalForm

  • To: mathgroup at
  • Subject: [mg19466] RE: [mg19451] getting rid of TraditionalForm
  • From: "Ersek, Ted R" <ErsekTR at>
  • Date: Sat, 28 Aug 1999 15:53:00 -0400
  • Sender: owner-wri-mathgroup at

Henrik Weimer wrote:

A while back I changed the default cell type for inline expressions to
TraditionalForm. Now, I regret that choice and would like to convert all
inline expressions in a lot of text that I typed in the meantime to

I figured that I can do this automatically - most of the time.

In mathematica I use the following:

n = << "notebook.nb"
nn = n/.{FormBox[a_,TraditionalForm]->a}
nn >> "convertedNotebook.nb"

The problem is that this only works on some but not all notebook. In
particular, for some of the notebooks this seems to screw up the file
syntax and the front end gets stuck reading the converted notebook.

Does anybody out there know a reliable and simple way to get rid of the
TraditionalForm stuff for all inline expression cells in a notebook?
Alternatively, how can the hack above be fixed so it works?


Try using the following to change your old notebooks.  
It might work better.

n = << "notebook.nb"
nn = n/.{FormBox[a_,TraditionalForm]:>FormBox[a,StandardForm]}
nn >> "convertedNotebook.nb"

Do the following to make Inline cells use StandardForm in the future:

- Bring up the Option Inspector with the menu selection
    (Format) -> (Option Inspector)

- Near the top of the window select 
  Show option values for (Global).

- Use "Lookup" to locate  CommonDefaultFormatTypes.

- Change the setting of "TextInline" to StandardForm

For a hyperlink to documentation for this setting paste the code below in a




Ted Ersek

For Mathematica tips, tricks see

  • Prev by Date: Re: how long is a long evaluation?
  • Next by Date: Re: ReplaceAll in If Statement
  • Previous by thread: getting rid of TraditionalForm
  • Next by thread: Re: getting rid of TraditionalForm