Re: Correcting a typing blunder

*To*: mathgroup at smc.vnet.net*Subject*: [mg99475] Re: Correcting a typing blunder*From*: David Bailey <dave at removedbailey.co.uk>*Date*: Wed, 6 May 2009 05:26:33 -0400 (EDT)*References*: <gtp2p1$l5q$1@smc.vnet.net>

Hugh Goyder wrote: > Every so often I am typing some notes into a text cell and I hit the > wrong combination of keys and the text cell unravels. Pressing control- > z is no help. I give an example below. I think I was going for Control- > i to make the next symbol italics and messed up by typing Control- > Shift-i. How do I convert this back into text which has an equation in > it? This I can easily retype but it is annoying when you have a long > paragraph with several nicely typeset equations. > > If you copy the text below into a notebook highlight the cell bracket > and press Alt-7 followed by Control-Shift-I you will have the messed > up version that I have in the notebook. > > Many thanks > Hugh Goyder > > > Gas*Law*spring . We*have > P*(A*(Subscript[x, 2] - Subscript[x, 1]))^\[Gamma] = Subscript[P, 0]* > (A*L)^\[Gamma] > whrere*P*is*the*pressure*A*the*cross - sectional*area*and*Subscript[x, > 1]*and*Subscript[x, 2]*the*current* > position*of*two*planes*in*the*gas*that*have*reference*separation > Control-Shift-i Converts to InputForm (look at the Cell>Convert menu). To convert the cell back to StandardForm, press Control-Shift-n. David Bailey http://www.dbaileyconsultancy.co.uk