Math Decorations

Math Decorations - combining characters, diacritical marks, etc... - Messages

#1 Posted: 5/30/2016 2:33:50 AM
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 likes in 1674 posts.

Group: User

Hi. How to write math decorations? Like Overdot (m_dot), Overvector, unit vector ^ ...
Question is for SMath formulas and Write plugin too

Thanks in advance.

Alvaro.
#2 Posted: 5/30/2016 12:45:09 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

Hi. How to write math decorations? Like Overdot (m_dot),
Overvector, unit vector ^ ...
Question is for SMath formulas and Write plugin too

Thanks in advance.

Alvaro.



AFAIK, In Smath there is 0 possibility to decorate maths.
Even if there would be, you would have to define the decoration.
What you mean is decorate the left hand side of the formula to
define the right hand side otherwise decorated again.
The Mathcad Cntrl+Shift+K was great to instruct about the units
in the formula, but not carried in the program.
I noticed from Mike that Smath supports sinα²
in the work sheet: "Geographical distance" .

Cheers Alvaro, Jean

#3 Posted: 5/30/2016 7:25:06 PM
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 likes in 1674 posts.

Group: User

Wrote


I noticed from Mike that Smath supports sinα²
in the work sheet: "Geographical distance" .

Cheers Alvaro, Jean



Well, that's something. Regards.

Alvaro.
#4 Posted: 5/31/2016 12:06:39 AM
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 likes in 1674 posts.

Group: User

Hacking xml? Overbar in html: https://en.wikipedia.org/wiki/Overline#HTML_with_CSS . I don't know if SMath support Unicode. Also, don't know much about typeseting (I want the program do that for me, I refuse to take courses about that).
XML typeseting: http://asa.aip.org/phonsymbol.pdf . Can modify the xml of an archive once an then copy and paste overdot, vector, and the others?

Regards.

Alvaro.
#5 Posted: 5/31/2016 1:07:28 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

Hacking xml? Overbar in html: https://en.wikipedia.org...i/Overline#HTML_with_CSS . I don't know if SMath support Unicode. Also, don't know much about typeseting (I want the program do that for me, I refuse to take courses about that).
XML typeseting: http://asa.aip.org/phonsymbol.pdf . Can modify the xml of an archive once an then copy and paste overdot, vector, and the others?

Regards.

Alvaro.



I don't think you can do directly in Smath text, purely keyboard [Courier].
Whatever "decoration" from whatever source producer, Smath won't interpret the
code as math code ... just like Matlab, Maple. In Mathcad 11, the decoration is
simply ignored. I'm not familiar with Mathematica decoration [too old version].

Cheers, Jean
#6 Posted: 5/31/2016 3:14:47 AM
Mike Kaganski

Mike Kaganski

184 likes in 434 posts.

Group: User

Wrote

Hi. How to write math decorations? Like Overdot (m_dot), Overvector, unit vector ^ ...
Question is for SMath formulas and Write plugin too



I use charmap to copy-paste.
SMath supports Unicode in a sense that it allows you to use all the available font repertoire, but its font rendering is only limited to simple output, i.e. combining characters are not applied to preceeding characters.

You may wish to file an enhancement request at BTS.
С уважением, Михаил Каганский
#7 Posted: 5/31/2016 3:57:17 AM
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 likes in 1674 posts.

Group: User

Hi Mike. I don't know if is the right time for ask for it. SMath is an excellent software, and don't know enough about the develop stage, and maybe there are other priorities where apply that effort. So, just looking for a workaround in the meantime.

Regards.

Alvaro.
#8 Posted: 5/31/2016 4:43:49 AM
Davide Carpi

Davide Carpi

1415 likes in 2872 posts.

Group: Moderator

In math regions you can use a wide range of characters, but not combining characters/diacritical marks. In character map (charmap) you may found some character with overdot to use (ẋẍẏẗż). Is possible to develop functions that renders like you want (f.e. the built-in diff(1), or those in Custom Glyphs plugin).
You may ask in BTS however, maybe one day Andrey will enable combining characters or he may found a smart alternative (combining are ok for single characters, but you can't apply them to a whole word)

BTW if you need an overbar you can override the Conjugate function in Custom Functions plugin)
conjugate_override.jpg


In Writer Region you should be able to use almost any character for the text, result is affected by the font family.
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
1 users liked this post
Alvaro Diaz Falconi 5/31/2016 12:10:00 PM
#9 Posted: 5/31/2016 10:58:14 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Very interesting. XP Home does not have CharMap anymore.

Forum Smath Decoration.gif
#10 Posted: 5/31/2016 11:53:05 AM
Davide Carpi

Davide Carpi

1415 likes in 2872 posts.

Group: Moderator

very strange... you can try:
- Start > All Programs > Accessories > System Tools > Character Map
- Run... > charmap
- %SystemRoot%\system32\charmap.exe
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#11 Posted: 5/31/2016 11:42:44 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

very strange... you can try:
- Start



CharMap does not exist anymore XP Home. For sure I had it, even in task bar.
But, I have no clue why and by whom it has been removed from "System Tools".
Maybe by Windows itself during the last visit to XP [Jan 16, 2016].

It is still there from Excel => Insert => Symbol.

Forum Smath Decoration [Integral].gif

Integral Curve.sm (10 KiB) downloaded 37 time(s).







#12 Posted: 6/1/2016 10:59:48 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

There is decoration and decoration, i.e: dead decoration and working decoration.

Dead decoration Edu. style to introduce units an ZAP units from Smath projects
... strictly Hanbook style and go !

Mathcad Decoration.bmp


Active decoration as function definition on the LHS.
Not exactly this one contour integral, I had it working in Mathcad 11
I pinched the symbol from Mathematica 4.0 ... working as well Mathcad 11

Forum Smath Decoration [Contour Integral].gif


Get more info for the source code :

http://math.stackexchange.com/questions/242514/using-contour-integration

Good thing I didn't abuse decoration Mathcad 11 Millenium,
In the swicth to XP ,,,, decorations have changes to zombies

Present the project in Handbook style, constants/parameters wrt unit system,
plug in program unitless ... visible to all, universal comprehension
easy to QA [Quality Assurance], tracable => end of it.

Jean
#13 Posted: 8/15/2016 5:14:39 PM
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 likes in 1674 posts.

Group: User

Wrote

In math regions you can use a wide range of characters, but not combining characters/diacritical marks.



Hi Davide. Yes, we can. But for some few.

Best regards.

Alvaro.

overbar.sm (4 KiB) downloaded 60 time(s).
2 users liked this post
Davide Carpi 8/15/2016 7:17:00 PM, frapuano 8/16/2016 2:28:00 AM
#14 Posted: 8/16/2016 11:47:13 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Thanks Alvaro,

Needs large size style, just so...so !
I remember, Tom managed the X overbar
it could just be copied/pasted.

Ã, Ä, Å, Ø, ñ, 

[Alt+0]+key start @ 33 ...255

Jean
#15 Posted: 8/17/2016 12:08:53 AM
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 likes in 1674 posts.

Group: User

Hi Jean.

Actually, this file is named overbar because was the Tom answer long time ago, when I ask for overdot and other math decorations for mathcad. If you check it don't have an overbar because the diacritical mark don't works, I guess that it is for the courier user font, but that's the file name where I store those characters.

Best regards.

Alvaro.


#16 Posted: 8/17/2016 10:59:34 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Saludad Alvaro,

∫(Φ):= .... very nice in work sheet. I got it from Maple .
Contour integral => no symbol found.

Jean

Maths Symbols.sm (59 KiB) downloaded 62 time(s).
#17 Posted: 8/17/2016 11:28:02 AM
Davide Carpi

Davide Carpi

1415 likes in 2872 posts.

Group: Moderator

Wrote

Contour integral => no symbol found.


Here it is:

You can find a list of math symbols on wikipedia (here and here), or also in Unicode Consortium's "Mathematical Operators" code tables.
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
1 users liked this post
frapuano 8/17/2016 4:50:00 PM
#18 Posted: 8/17/2016 6:35:37 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Thanks Davide for the updated links.
If C is a Jordan curve about 0, then ∮C 1/zdz = 2πi

Those symbols are glyphes, dead drawings for dead maths
No use in Smath. Only [Shift+key] & [Shift+0key] can
be used as variable names, for those compatible.
This one, integral symbol, is unique ∫(Φ):{2*x}/{1+x^2}
---------------------DO NOT--------------------------
copy/paste in Smath: it crashes Smath and the entire PC !!!

Jean
  • New Posts New Posts
  • No New Posts No New Posts