Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline thin  
#1 Posted : 21 March 2022 22:36:14(UTC)
thin

Rank: Newbie

Groups: Registered
Joined: 19/01/2021(UTC)
Posts: 2
United States
Location: San Diego

SMath does not recognize the 'micro' sign when it is typed in directly. Could this be changed?

The traditional keyboard shortcut for entering the lower case greek letter mu in SMath is m,ALT+G (type the lower case letter 'm', then turn it into greek).

This produces the letter μ who's code is "U+03BC" and is formally known as "GREEK SMALL LETTER MU"

I am used to typing mu directly in other applications (such as MS Excel or gmail) by using the ALT code. I hold the alt key, type "230" on the number pad, then release the alt key. I learned I could also use ALT+0181 to get the same thing.

Today I was trying to enter the units of microseconds into SMath. As much as I tried typing "ALT+230,s" into SMath it did not work. It looked correct on the screen, but it was not correctly understood to be the actual 'microsecond' unit. Some research shows that there are two characters for mu; one used for 'micro' (as would be typically used in SMath) and another for use as the lower case greek letter. https://en.wikipedia.org/wiki/Micro-

SMath only accepts the lower case greek letter. This would make sense for variables (such as using the coeficient of friction, μ).

I believe SMath should be upgraded to accept the 'micro sign' (µ = alt 230 = alt 0181 = U+00B5 : MICRO SIGN) for use as the micro sign in units.

I found this site helpful in troubleshooting: https://www.babelstone.co.uk/Unicode/whatisit.html Try copy pasting these two characters in to see the difference: µμ

Smath is a great program!

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline mkraska  
#2 Posted : 22 March 2022 00:36:45(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 1,980
Germany

Was thanked: 1120 time(s) in 718 post(s)
On my german keyboard, AltGr+m (or Ctrl+Alt+m) also produces a µ which is different from the one produced by m Ctrl+g.
So it is very easy to produce unusable µ in SMath this way as well.
Martin Kraska

Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
Offline Jean Giraud  
#3 Posted : 22 March 2022 02:31:40(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,868
Canada

Was thanked: 980 time(s) in 808 post(s)
Originally Posted by: thin Go to Quoted Post
I believe SMath should be upgraded to accept the 'micro sign' (µ = alt 230 = alt 0181 = U 00B5 : MICRO SIGN) for use as the micro sign in units.

Just use the unit built-in system μs
Offline Razonar  
#4 Posted : 22 March 2022 04:43:47(UTC)
Razonar


Rank: Advanced Member

Groups: Registered
Joined: 28/08/2014(UTC)
Posts: 1,356
Uruguay

Was thanked: 815 time(s) in 516 post(s)
Originally Posted by: thin Go to Quoted Post
SMath does not recognize the 'micro' sign when it is typed in directly. Could this be changed?
...


Hi. You're right, SMath can't recognize the difference. But MS Excel neither, or at least I cannot define in excel one that is different from the one called 'micro' in the windows' character map.

Mu-Micro.xlsx (9kb) downloaded 4 time(s).

IMG.jpg

Best regards.
Alvaro.

Offline Jean Giraud  
#5 Posted : 22 March 2022 13:23:30(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,868
Canada

Was thanked: 980 time(s) in 808 post(s)
Originally Posted by: thin Go to Quoted Post
I believe SMath should be upgraded to accept the 'micro sign' (µ = alt 230 = alt 0181 = U 00B5 : MICRO SIGN) for use as the micro sign in units.

My US keyboard alt230, alt0181 = µ
Bold to highlight
Offline Jean Giraud  
#6 Posted : 22 March 2022 13:27:21(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,868
Canada

Was thanked: 980 time(s) in 808 post(s)
Originally Posted by: Jean Giraud Go to Quoted Post
My US keyboard alt230, alt0181 = µ
Bold to highlight

... size/color as you wish in Smath µ

Offline Davide Carpi  
#7 Posted : 22 March 2022 15:45:34(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,639
Man
Italy
Location: Italy

Was thanked: 1323 time(s) in 873 post(s)
These are called "Duplicated characters" by the Unicode consrtium (see https://www.unicode.org/reports/tr25/)
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.