MathGroup Archive 2005

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

Search the Archive

writing text and formula in mathematica

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

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: 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: http://www.wolfram.com/mathematica/newin52 As a special offer, you can save 50% on your upgrade by ordering Premier Service (http://www.wolfram.com/products/service) at the same time. Upgrade now at http://store.wolfram.com/upgrade 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 orders@wolfram.com In the UK and Ireland: Call us at +44-(0)1993-883400 or send email to orders@wolfram.co.uk Elsewhere, please contact your local reseller listed at: http://www.wolfram.com/international +++++++++++++++++++++++++++++++++++++++++++++
  • Next by thread: Re: writing text and formula in mathematica