Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #8107

Re: log-like symbols?

From Murray Eisenberg <murray@math.umass.edu>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: log-like symbols?
Date 2012-01-22 12:35 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <jfgvqb$pnp$1@smc.vnet.net> (permalink)
References <201201181102.GAA16692@smc.vnet.net> <jf8qn5$3qf$1@smc.vnet.net> <201201211016.FAA10123@smc.vnet.net>

Show all headers | View raw


A simple(-minded?) explanation: try instead just creating a Text cell

   This is a test

with _no_ in-line math there. Copy it as LaTeX and look at the result in 
a text editor. You'll see that the text is inside a LaTeX \text{} function.

I presume the purpose is to protect the user from inadvertently pasting 
what should really be text into a LaTeX math expression or display-math 
environment and having it interpreted as a long product of symbols.

And I suppose the underlying reason for having that protection was the 
expectation that users would ordinarily just be copying into LaTeX math.

On 1/21/12 5:16 AM, Alan wrote:
> In answer to Murray's question, some LaTeX symbols are called "log-like":
> http://omega.albany.edu:8008/Symbols.html
> This affects how they are typeset.
>
> Bill's answer gave me a good clue:
> if I am entering math in StandardForm,
> then such log-like symbols are recognized by Mathematica,
> although it does not display them differently.
> E.g., if I enter ln(x) in a math cell and then
> change to StandardForm I get Log[x] displayed.
>
> But now I am puzzled by the meaning of cell styles.
> Suppose I enter the following in a cell given a "Text" style:
>
>    Test: ctrl-( ln(x) ctrl-)
>
> and then copy it as LaTeX.  What I expect to get is
>
>    Test: $\ln(x)$
>
> What I get instead is:
>
>    \text{Test: }
>
>    \ln (x)
>
> Why is Mathematica treating a "Text" cell as a math environment?
>
> Thanks,
> Alan Isaac
>
>
>

-- 
Murray Eisenberg                     murray@math.umass.edu
Mathematics & Statistics Dept.
Lederle Graduate Research Tower      phone 413 549-1020 (H)
University of Massachusetts                413 545-2859 (W)
710 North Pleasant Street            fax   413 545-1801
Amherst, MA 01003-9305

Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Re: log-like symbols? Murray Eisenberg <murray@math.umass.edu> - 2012-01-19 10:19 +0000
  Re: log-like symbols? Alan <alan.isaac@gmail.com> - 2012-01-21 10:19 +0000
  Re: log-like symbols? Murray Eisenberg <murray@math.umass.edu> - 2012-01-22 12:35 +0000

csiph-web