Vector Variable

Vector Variable - Display a vector variable - Messages

#1 Posted: 5/4/2023 7:45:43 PM
Basile

Basile

8 likes in 172 posts.

Group: User

Hello,

Can I have a variable be displayed as boldface or with an arrow above, to display a vector variable v (scalar) v (vector), or phasor, etc. ?

Thank you,
Basile
#2 Posted: 5/4/2023 10:14:58 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Explore Charmap for more or otherwise.

Basile.PNG
#3 Posted: 5/5/2023 10:54:21 AM
⚜ Kenny Lemens, P.E. ᵂᴵ

⚜ Kenny Lemens, P.E. ᵂᴵ

74 likes in 164 posts.

Group: User

Greetings,

Bold face:
  • Can take advantage of 'Absolute Definitions,' they behave like a variable, but are evaluated an order before a standard variable.
    To use, type the 「~」 character, and then your variable name. You can copy and paste the following:
    ~v:#[/code][/list]
    
    [u]Arrows 'above':[/u]
    [list][*]If you want an arrow above, you can copy/paste the following:
    [list][*][code=markup]v⃑:#
  • v⃗:#

  • Related forums:
    • https://en.smath.com/forum/yaf_postst23318_Arrows-bei-Vectors.aspx
    • https://en.smath.com/forum/yaf_postst23323_-ready-Vector-arrow.aspx

    [/list]


    May this be of Good Help;
    -Kenny Lemens, P.E. ᵂᴵ
  • "No matter where you go, there you are." -Buckaroo BanzaiHotkeys: https://en.smath.com/forum/resource.ashx?a=45771&b=2
    #4 Posted: 5/5/2023 10:12:54 PM
    Basile

    Basile

    8 likes in 172 posts.

    Group: User

    Hello Kenny,

    1. Is there an easy way to enter the arrow above the letter?
    2. How I can enter a hat (unit vector) above a letter?

    Thanks,
    Basile
    #5 Posted: 5/8/2023 10:30:33 AM
    ⚜ Kenny Lemens, P.E. ᵂᴵ

    ⚜ Kenny Lemens, P.E. ᵂᴵ

    74 likes in 164 posts.

    Group: User

    Greetings,

    Wrote

    1. Is there an easy way to enter the arrow above the letter?


    Not that I am aware of; I did write code to accomplish this (reference forum: https://en.smath.com/forum/yaf_postsm79999_SMath-Keyboard-Shortcuts.aspx#post79999), but I didn't deploy it as an plugin.

    As for a native solution, I have a txt file with these special characters that I just copy/paste (apparently copy/paste from a browser isn't reliable for these special characters, hence the standalone txt file):
    SpecialChar_Combine.txt (74 B) downloaded 38 time(s).

    Another solution is to utilize EnableHexNumpad on your keyboard and enter the hex code manually for these characters (but you could easily download a 3rd party application that allows you to assigns hotkeys to insert these special characters as well.


    Wrote

    2. How I can enter a hat (unit vector) above a letter?


    See the attached txt file above (or the url link; the keyboard shortcut list will provide you the hex code under Formatting Math Region (top of page 3).




    May this be of Good Help;
    -Kenny Lemens, P.E. ᵂᴵ
    "No matter where you go, there you are." -Buckaroo BanzaiHotkeys: https://en.smath.com/forum/resource.ashx?a=45771&b=2
    #6 Posted: 5/10/2023 10:41:57 AM
    Basile

    Basile

    8 likes in 172 posts.

    Group: User

    Thank you, Kenny!
    Basile
    • New Posts New Posts
    • No New Posts No New Posts