Vector arrow

Vector arrow - Vector arrows over variables - Сообщения

#1 Опубликовано: 14.02.2021 13:02:15
Georg Gläser

Georg Gläser

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

Группа: 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 Опубликовано: 14.02.2021 16:27:24
Ruben Sidranski

Ruben Sidranski

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

Группа: User

Please post a sheet to expedite and understand the question
#3 Опубликовано: 14.02.2021 16:53:53
Alvaro Diaz Falconi

Alvaro Diaz Falconi

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

Группа: 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 пользователям понравился этот пост
sergio 15.02.2021 05:47:00
#4 Опубликовано: 15.02.2021 06:01:03
NDTM Amarasekera

NDTM Amarasekera

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

Группа: 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 Опубликовано: 15.02.2021 10:38:38
Martin Kraska

Martin Kraska

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

Группа: 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 Опубликовано: 15.02.2021 11:52:03
Georg Gläser

Georg Gläser

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

Группа: 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).
Файл не найден.Файл не найден.
#7 Опубликовано: 15.02.2021 13:45:45
sergio

sergio

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

Группа: 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 Опубликовано: 15.02.2021 14:00:02
Вячеслав Мезенцев

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

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

Группа: 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 Опубликовано: 16.02.2021 07:19:45
Martin Kraska

Martin Kraska

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

Группа: 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 Опубликовано: 16.02.2021 14:27:28
Alvaro Diaz Falconi

Alvaro Diaz Falconi

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

Группа: 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 пользователям понравился этот пост
sergio 16.02.2021 16:21:00
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений