cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X

Complex number variable

HH_10027531
2-Guest

Complex number variable

Is it possible for me to mark a variable with a bar on top (see picture below) to indicate it’s a complex number?

 

This is how I normally do it in WordMat:

HH_10027531_0-1661368994144.png

I understand that the bar is used for conjugation in Mathcad but it is how we are taught a complex numbers variable is displayed.

ACCEPTED SOLUTION

Accepted Solutions
Werner_E
25-Diamond I
(To:HH_10027531)

As Luc already said there is no way out of the box.

Nonetheless it can be done, but its quite uncomfortable.

 

1) Start the Windows program "character map" (in the screenshot below you see the German name "Zeichentabelle")

 

2) chose an appropriate font (I had chosen TimesNewRoman), set grouping to unicode sub-group, select "combined diacritic characters"i the small window you see at the upper right and then select the sixth character in the first row (U+=305, over bar) and press "Select". You will see the bar in the selection box "Characters to copy".  Now press "Copy" to copy the bar character to the clipboard.

 

3) Switch over to Prime and press the quotation marks as if to create a string. Press Ctrl-V to copy the bar character and then type the variable name, in the example an A.

 

4) Press the delete button to delete the quotation marks and - voilà - you have created a variable name with a bar over it.

 

Looks a bit strange if you apply conjugation 😉

Werner_E_1-1661375534111.png

Actually I am used to the convention that variables which are underlined are complex valued.

 

Werner_E_0-1661375503044.png

 

 

View solution in original post

3 REPLIES 3
LucMeekes
23-Emerald III
(To:HH_10027531)

It's not supported out of the box. There are two things you can do:

 

1. Choose a font that contains overbar characters. (I did not find one yet.)

2. Choose overbar characters from the extended set in the font (if they exist).

 

In either case:

- when you take the complex conjugate of your variable, you may get a double overbar, or a single if they overlap. Careful, as it may lead to confusion.

- It will take a lot of work and discipline to stick to your formatting.

 

Success!
Luc

Werner_E
25-Diamond I
(To:HH_10027531)

As Luc already said there is no way out of the box.

Nonetheless it can be done, but its quite uncomfortable.

 

1) Start the Windows program "character map" (in the screenshot below you see the German name "Zeichentabelle")

 

2) chose an appropriate font (I had chosen TimesNewRoman), set grouping to unicode sub-group, select "combined diacritic characters"i the small window you see at the upper right and then select the sixth character in the first row (U+=305, over bar) and press "Select". You will see the bar in the selection box "Characters to copy".  Now press "Copy" to copy the bar character to the clipboard.

 

3) Switch over to Prime and press the quotation marks as if to create a string. Press Ctrl-V to copy the bar character and then type the variable name, in the example an A.

 

4) Press the delete button to delete the quotation marks and - voilà - you have created a variable name with a bar over it.

 

Looks a bit strange if you apply conjugation 😉

Werner_E_1-1661375534111.png

Actually I am used to the convention that variables which are underlined are complex valued.

 

Werner_E_0-1661375503044.png

 

 

This will work. Its a bit of work but it will do 🙂

 

Thank you Werner and Luc for the help.

Announcements

Top Tags