FormulaText[<some object>, false] does not seem to work

Download0091 shared this problem 7 years ago
New

Hello,


The attached worksheet shows an example of the expression FormulaText[<some object>, false] not returning the definition of the object. This happens with a number of object types not just the one shown in the example.


John.


https://ggbm.at/2610965

Comments (6)

photo
1

Hi Noel,


Comma is defined as


[quote[

UnicodeToLetter[44]

[/co]


Isn't that what FormulaText is supposed to return ?

photo
1

Correction (Cannot edit)


    UnicodeToLetter[44]

photo
1

Hi Noel,


I see what you are saying but, even using a variable, it still doesn't work. Not even using a variable and a function as the attached worksheet shows.


John.


https://ggbm.at/2611391

photo
1

Hi

Hi Noel,


I see what you are saying but, even using a variable, it still doesn't work. Not even using a variable and a function as the attached worksheet shows.


John.


https://ggbm.at/2611391

No FormulaText in this file...

and all is ok...

photo
1

The documentation states:


FormulaText[ <Object>, <Boolean for Substitution of Variables> ]

Returns the formula for the object as LaTeX text. The Boolean variable determines if values are substituted for variables (true) or if variable names are shown in the text (false).


In the worksheets I posted, FormulaText is not returning the formula for the object.

photo
1

and IMHO don't work for any object text


That's fine but, the documentation of FormulaText does not place a restriction on which objects it can be used.


John.

© 2023 International GeoGebra Institute