Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2005
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2005

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

Search the Archive

Re: writing text and formula in mathematica

  • To: mathgroup at smc.vnet.net
  • Subject: [mg58847] Re: [mg58836] writing text and formula in mathematica
  • From: yehuda ben-shimol <bsyehuda at gmail.com>
  • Date: Thu, 21 Jul 2005 03:07:54 -0400 (EDT)
  • References: <200507200429.AAA28565@smc.vnet.net>
  • Reply-to: yehuda ben-shimol <bsyehuda at gmail.com>
  • Sender: owner-wri-mathgroup at wolfram.com

This is rather tedious but possible
start a text cell
type 
as we know a=a=5 and b=b=7 so a+b=a+b
now select the part a=5 and press CTRL-SHIFT-ENTER (evaluate in place)
and then repeat this for b=7 and then for the right handside of a+b
(without the equal sign)
you will get the wanted phrase
yehuda

On 7/20/05, symbio <symbio at has.com> wrote:
> A basic question, but I can't seem to get it based on mathematica's
> instructions for writing "inline text".  I'm trying to type text and formula
> in the same line, but it doesn't come out right, please help, see below:
> 
> In[2]:=
> \!\(\*
> RowBox[{
> RowBox[{This is text, then formula: , " ", "a"}], "+",
> RowBox[{
> "b", " ",
> and text again, but after shift-enter, it loses order, why?}]}]\)
> 
> I get errors after executing above.  I just wanna be able to write text and
> formula in same paragraph, then execute and get the text in order originally
> typed along with executed formula like below:
> 
> Example scenario:
> 
> Input: We know a=5, and b=2, then we know sum of two is: a+b
> 
> Output: We know a=5, and b=2, then we know sum of two is: 7
> 
> that simple, but can't get it to work.
> 
>


  • Prev by Date: Re: Getting crude approximation to a function
  • Next by Date: Re: How to create a new Form
  • Previous by thread: writing text and formula in mathematica
  • Next by thread: Visualization site - updates