Behaviour of Output Cells

*To*: mathgroup at smc.vnet.net*Subject*: [mg31285] Behaviour of Output Cells*From*: Adalbert Hanssen <hanssen at zeiss.de>*Date*: Fri, 26 Oct 2001 04:28:34 -0400 (EDT)*Sender*: owner-wri-mathgroup at wolfram.com

Hi, MathGroup, How can I influence the behavoiur of generated output? I am using Mathematica "4.0 for Microsoft Windows (July 26, 1999)" I would like to have: 1.) generated output grouped together with the input cell, which made it. 2.) on re-evaluation of the cell: first delete the old output grouped with it. 3.) Print output appearing, when it is made (to be able to see the progress of lengthy computations by printing something, from time to time) 4.) being able to cut and paste from the output. 5.) being able to have the output formatted as InputForm (to more easily cut from it to paste elsewhere) 6.) I want any Out[..]-Labels appearing left to the beginning of the corresponding cell, not left to an empty cell below it. If I have DefaultInputStyle -> InputForm, DefaultOutputStyle -> OutputForm I get the desired grouping, but I can not cut from the output. If I have DefaultInputStyle -> InputForm, DefaultOutputStyle -> StandardForm I get the desired grouping, I can cut from the output, but I can not paste what I have cut into a new Input cell (it says: Syntax::sntxi, Incomplete expression...). The same holds for DefaultOutputStyle-> TraditionalForm. If I have DefaultInputStyle -> InputForm, DefaultOutputStyle -> InputForm I get the output from two statements mangled together and the cell label attached to an empty extra cell below the output. The mangling is nasty, e.g. In[20] Expand[(1 + x)^3] Expand[(1 + x)^4] gives 1 + 3*x + 3*x^2 + x^31 + 4*x + 6*x^2 + 4*x^3 + x^4 Out[21]( new empty cell ) If this happens, I frequently encounter cases, when the cell brackets are mixed up. Output gets placed below other cells, If I delete output then, it is time for another crash :-( If I remember right, once I had the desired behaviour, probably one other of the many OptionInspector Settings or something else was inadvertently changed. Of course, I have already tried to delete everything below C:\users\default\Mathematica\4.0\FrontEnd, which sometimes helps, but not in this case. kind regards Dipl.-Math. Adalbert Hanszen