MathGroup Archive 2012

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

Search the Archive

Re: log-like symbols?

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":
> 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 at
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

  • Prev by Date: Re: FindRoot and parameters in NIntegrate
  • Next by Date: Re: FindRoot and parameters in NIntegrate
  • Previous by thread: Re: log-like symbols?
  • Next by thread: Re: log-like symbols?