How to render an equation on viewer?

How to render an equation on viewer? - Сообщения

#1 Опубликовано: 01.07.2021 10:38:09
Oscar Campo

Oscar Campo

124 сообщений из 298 понравились пользователям.

Группа: Moderator

Hi,
I'm working on a simple app for training on Slide Rule use (for my personal purposes), and I can generate problems for practicing that involves multiply, division, pi, x^2, sqrt(x), and so on. But when I run the generated app, the equations are not shown in that fancy style as in SMath.

Please take a Look:

SRTspeed.gif

So, maybe anybody has an idea how to render these equations in the viewer?

Oscar

#2 Опубликовано: 01.07.2021 16:31:42
Martin Kraska

Martin Kraska

1222 сообщений из 2150 понравились пользователям.

Группа: Moderator

Wrote

Hi,
I'm working on a simple app for training on Slide Rule use (for my personal purposes), and I can generate problems for practicing that involves multiply, division, pi, x^2, sqrt(x), and so on. But when I run the generated app, the equations are not shown in that fancy style as in SMath.

Please take a Look:

SRTspeed.gif

So, maybe anybody has an idea how to render these equations in the viewer?

Oscar



You can use a snapshot region, but it has decorations in the viewer which you might not want.

2021-07-01 21_30_20-SMath Studio 0.99.7822 - [Worksheet4_].png
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
1 пользователям понравился этот пост
Oscar Campo 01.07.2021 17:15:00
#3 Опубликовано: 01.07.2021 17:28:51
Oscar Campo

Oscar Campo

124 сообщений из 298 понравились пользователям.

Группа: Moderator

Цитата

You can use a snapshot region, but it has decorations in the viewer, which you might not want.




Thanks for the suggestion, but this technique evaluates any operation/number included in the equation, and I have equations with numbers that I don't need to be evaluated.

captura.png
#4 Опубликовано: 02.07.2021 10:33:24
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 сообщений из 1674 понравились пользователям.

Группа: User

Hola Oscar. It is not The solution, but maybe a half of it: the radio button list accept "Symbolic" as an option for view (but not "None", which I guess that it is what you need). BTW maybe some expressions could be showed as you want.

Clipboard01.jpg

Best regards.
Alvaro.
1 пользователям понравился этот пост
Oscar Campo 03.07.2021 17:38:00
#5 Опубликовано: 03.07.2021 12:41:03
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Similarly to X_Y plot, the background color of snapshot
is the active background color [any of 16777216 ... !]

SnapShot.PNG
#6 Опубликовано: 03.07.2021 19:57:39
Oscar Campo

Oscar Campo

124 сообщений из 298 понравились пользователям.

Группа: Moderator

Wrote

Hola Oscar. It is not The solution, but maybe a half of it: the radio button list accept "Symbolic" as an option for view (but not "None", which I guess that it is what you need). BTW maybe some expressions could be showed as you want.
Best regards.
Alvaro.



Thank you for your idea!.
By the way, I'm trying a fancier solution, by using ScriptRegion and a DOS app to render equations to plain text, as you can view:


Screenshot 2021-07-03 173432.png
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений