Vector arrow

Vector arrow - Vector arrows over variables - Messages

#1 Posted: 2/14/2021 1:02:15 PM
Georg Gläser

Georg Gläser

0 likes in 9 posts.

Group: User

Hello everybody
how can i make a vector recognizable ?
Bold font does not work. Putting arrows
over it does not make sense because they
are not connected and because they then shift.

Thanks for your help
Georg
#2 Posted: 2/14/2021 4:27:24 PM
Ruben Sidranski

Ruben Sidranski

17 likes in 463 posts.

Group: User

Please post a sheet to expedite and understand the question
#3 Posted: 2/14/2021 4:53:53 PM
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 likes in 1674 posts.

Group: User

Hi. You can use unicode decorations. From the charmap app try to select them like in the image. There are not arrow but an overline and other useful like overdots.

Clipboard01.jpg

For use in SMath copy from charmap and in SMath write a letter and paste the decoration for get things like this:

Clipboard02.jpg

Best regards.
Alvaro.
1 users liked this post
sergio 2/15/2021 5:47:00 AM
#4 Posted: 2/15/2021 6:01:03 AM
NDTM Amarasekera

NDTM Amarasekera

130 likes in 352 posts.

Group: User

Wrote

Hello everybody
how can i make a vector recognizable ?
Bold font does not work. Putting arrows
over it does not make sense because they
are not connected and because they then shift.

Thanks for your help
Georg



If you are referring to the vectorize function, please see attached image.
It is available in SMath side panel as shown.

Vectorize.png
Look within!... The secret is inside you. Best Regards Eng. NDTM Amarasekera - Sri Lanka
#5 Posted: 2/15/2021 10:38:38 AM
Martin Kraska

Martin Kraska

1222 likes in 2150 posts.

Group: Moderator

Wrote

Hello everybody
how can i make a vector recognizable ?
Bold font does not work. Putting arrows
over it does not make sense because they
are not connected and because they then shift.

Thanks for your help
Georg



To my knowledge there is no way in SMath Studio to use some type of vector markup similar to what is used in handcalc or typeset documents. Both boldface variables (absolute variables) and the vectorize function have side effects. On top of this you can't assign to expressions (which vectorize(xxx) would be).

Perhaps it would be worth having some buttons and some associated keyboard shortcuts (like Ctrl-G for greek) in the side panels for character modifications just like dot, double dot, hat, overbar, underbar, double underbar.
In principle, it should be possible also to define characters with overarrow.
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
#6 Posted: 2/15/2021 11:52:03 AM
Georg Gläser

Georg Gläser

0 likes in 9 posts.

Group: User

Hello all,
thank you very much for the detailed answers, which helped me a lot. For
teaching purposes, I urgently need the vector arrow. The suggestions have to
used for another search and I have found a solution, hopefully without any
side effects:
from drawingAPP: Segoe UI symbol 20D7 , copy
paste into SMath with CTRL+V and then immediately
Give vector name and then :=.
The arrow in the SMath sidebar represents a calculation operation and is not
useful.
Many greetings
Georg
PS.: Mr. Kraska many thanks for the phantastic manual (09.2018).
File not found.File not found.
#7 Posted: 2/15/2021 1:45:45 PM
sergio

sergio

115 likes in 329 posts.

Group: User

the behavior is not constant (with some letters it works with others not). Also from the image posted by Georg it is evident that the arrows in the first row (centered and higher) appear different from those in the second row (moved to the left and lower).
sergio
#8 Posted: 2/15/2021 2:00:02 PM
Вячеслав Мезенцев

Вячеслав Мезенцев

1402 likes in 1708 posts.

Group: Moderator

I think it is possible to create a plugin with a function that replaces the identifier with a LaTeX expression. The code can be taken from here.

You write something like that latex( ex,"e^x" ) and the editor shows e^x but the real identifier will be ex. As with Maxima.
Russia ☭ forever, Viacheslav N. Mezentsev
#9 Posted: 2/16/2021 7:19:45 AM
Martin Kraska

Martin Kraska

1222 likes in 2150 posts.

Group: Moderator

Wrote

I think it is possible to create a plugin with a function that replaces the identifier with a LaTeX expression. The code can be taken from here.

You write something like that latex( ex,"e^x" ) and the editor shows e^x but the real identifier will be ex. As with Maxima.



I like the idea to support latex input. LyX (which I use for editing of my SMath Studio Handbuch) has an editor, which allows you to type \dot a in order to get a dotted a. Also word nowadays supports things like this.

In general a combination of menu+shortcuts for various types of decorations would be good, say Ctrl-D + some mnemonic key, like

- overbar
_ underbar
= double underbar
. dot
: ddot
> arrow
b boldface
^ hat

It would be important to have a unique serialization as a valid identifier.

As a first step, one could start from the Ctrl-K mechanism and display identifiers starting with the abovementioned keys in an appropriate way.

Note that currently you can't start a math region by typing Ctrl-K. Therefore, to enter :x for a x with two dots, you have to type:

x Ctrl-K : Ctrl-K

instead of Ctrl-D : x
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
#10 Posted: 2/16/2021 2:27:28 PM
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 likes in 1674 posts.

Group: User

Hi. Since it seems to be a major improvement, which would require a good programming effort, it might be a good idea to think about the decorations in all possible positions, which are 8, surrounding the variable name. For subscripts you already have the notation ".", Inherited from Mathcad. Perhaps something like "a..1..x" can be used to represent the subscripts a.x (without abandoning a.x) and "a..2..x" up to "a..8..x" the other positions in the counterclockwise direction, being able to have one variable more than one decoration.

Finally, since it is a question of asking for improvements, for script, bold and change of the color of the variable, some other variation of the double point can be adopted to indicate those characteristics.

These would be some examples:

Clipboard01.jpg

Best regards.
Alvaro.
1 users liked this post
sergio 2/16/2021 4:21:00 PM
  • New Posts New Posts
  • No New Posts No New Posts