MathGroup Archive 2005

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

Search the Archive

writing text and formula in mathematica

  • To: mathgroup at
  • Subject: [mg58836] writing text and formula in mathematica
  • From: "symbio" <symbio at>
  • Date: Wed, 20 Jul 2005 00:29:36 -0400 (EDT)
  • Reply-to: "symbio" <symbio at>
  • Sender: owner-wri-mathgroup at

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:

RowBox[{This is text, then formula: , " ", "a"}], "+",
"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: Symbolic Constrained Maximization
  • Next by Date: Re: Extract Coefficients of Fourier Series
  • Previous by thread: Mathematica 5.2: The 64-bit and multicore release Dear Mathematica User, Mathematica 5.2--the 64-bit computing and multicore release--is now available! Mathematica 5.2 brings 64-bit technology to all supported platforms--an industry first. In addition, 5.2 enables threading of numerical linear algebra over multiple CPUs or multicore computers, making Mathematica an ideal environment for large computations and simulations. We know you will also appreciate this version's many other improvements. Upgrading will get you: * 64-bit-enhanced arbitrary-precision numerics * Vector-based performance enhancements * Automatic binary installation selection * Bundled notebook indexing for desktop search * SSH support for secure remote kernels * vCard and RSS import/export * New algorithms for symbolic differential equations * Enhanced performance for linear Diophantine systems * Enhanced quadratic quantifier elimination * Singular-case support for high-level special functions * Enhanced statistics charts * MathematicaMark 5.2 benchmark now covering grids and clusters See examples, explanations, and details at: As a special offer, you can save 50% on your upgrade by ordering Premier Service ( at the same time. Upgrade now at or contact Customer Service using the information that follows this message. Use our download option and you could be up and running within an hour. Enjoy Mathematica 5.2! Sincerely, The Mathematica Product Team Wolfram Research +++++++++++++++++++++++++++++++++++++++++++++ Wolfram Research Customer Service In the U.S. and Canada: Call us at +1-800-WOLFRAM (965-3726) or send email to In the UK and Ireland: Call us at +44-(0)1993-883400 or send email to Elsewhere, please contact your local reseller listed at: +++++++++++++++++++++++++++++++++++++++++++++
  • Next by thread: Re: writing text and formula in mathematica