The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum
 Origin Forum
 Prime symbol in superscript
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

b-1

10 Posts

Posted - 05/23/2014 :  07:35:28 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hi everybody,

For the real part of a third-order susceptibility I need some formula like: \g(c)\=(3,')

My problem is that the prime(') symbol gets too small and too high in my example, because of the superscript.

In other words, is there a possibility to write \g(c)' with index 3?

Thanks very much in advance!

snowli

USA
1387 Posts

Posted - 05/23/2014 :  10:44:05 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
\g(c)'\-(3) will work.

BTW, if you are trying to add text object in Origin, in the in-place edit mode, you can use the Greek, Superscript, Subscript, etc. buttons on Format toolbar to easily type what you want instead of using the syntax you mentioned.

E.g. in inplace edit mode, press Greek button down, then enter c, it will show as greek letter. Then click Greek button again to release it, etc.

Thanks, Snow

Go to Top of Page

b-1

10 Posts

Posted - 05/23/2014 :  11:55:21 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
The index in \g(c)'\-(3) is too far to the right. This gets even more obvious in the imaginary part \g(c)''\-(3). What I am searching for is a prime symbol directly above the subscript index.

In LaTeX, i.e., after some research I could express this with $\chi_3^{\prime\prime}$ (which is not the same as $\chi_3^{''}$ ). But I could not find a comparable solution in Origin code yet.

This sounds pretty pedantic, but I hope it's possible. I'm already thinking of putting two text boxes on top of each other (one with \g(c)\-3 and one with ' or ''), but it makes me feel filthy .
Go to Top of Page

snowli

USA
1387 Posts

Posted - 05/23/2014 :  12:41:36 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
How about
\g(c)\=(3,\-('))

You can use \g(c)\=(3,\-(\p201('))) to make the ' bigger.

imaginary part will be as follows
\g(c)\=(3,\-(''))


In inplace edit mode, when i was at the superscript part, I clicked subscribe button again to split the original suerperscript into two parts again.

BTW, If you can use Tools toolbar. There is Insert Equation like MathType.



Thanks, Snow

Edited by - snowli on 05/23/2014 12:42:12 PM
Go to Top of Page

b-1

10 Posts

Posted - 05/23/2014 :  1:45:07 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
In MathType it is possible to get primes directly above the index, but all letters are italic type. Also, it's a kludge to implement MathType into the caption of my graph. An additional text box is easier.

\g(c)\=(3,\-(\p201('))) is a good idea, but the prime is still too high. A double subscript in the superscript could perhaps work if that is possible?

Is there any other Origin code that would do the job?
Or is there a LaTeX-like "\prime" symbol that can simply be put into the exponent? (unfortunately I couldn't find any symbol that looks alike)
Go to Top of Page

snowli

USA
1387 Posts

Posted - 05/23/2014 :  2:54:41 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Will this work
\g(c)\-(3)'

Thanks, Snow
Go to Top of Page

b-1

10 Posts

Posted - 05/26/2014 :  05:17:24 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
No, unfortunately like \g(c)'\-(3) this is too blocky.

Looking at the imaginary part: \g(c)''\-(3) and \g(c)\-(3)'' really don't look good in a publication.
Go to Top of Page

Echo_Chu

China
Posts

Posted - 05/26/2014 :  10:24:33 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi, Anton,

If you are fine with \g(c)\=(3,\-(\p201('))) but only feel the prime is too high, you can change the superscript setting to make it lower.

1. Select menu Tools: Options
2. Choose Text Fonts tab



Please note that you should refresh the graph to make your setting works for existing symbols

Echo
OriginLab Technical Service
Go to Top of Page

Castiel

343 Posts

Posted - 05/26/2014 :  11:28:49 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
quote:
Originally posted by b-1

The index in \g(c)'\-(3) is too far to the right. This gets even more obvious in the imaginary part \g(c)''\-(3). What I am searching for is a prime symbol directly above the subscript index.

In LaTeX, i.e., after some research I could express this with $\chi_3^{\prime\prime}$ (which is not the same as $\chi_3^{''}$ ). But I could not find a comparable solution in Origin code yet.

This sounds pretty pedantic, but I hope it's possible. I'm already thinking of putting two text boxes on top of each other (one with \g(c)\-3 and one with ' or ''), but it makes me feel filthy .



Doubtlessly, LaTeX is the one you should choose, professionally. My solution in Origin is Aurora by elevatorlady.ca, as OLE.

妾+   午旦  妹罕妾  妾伊    用仇  妾/     岫ㄞ
 妾京用 仍巨  件 侈   件戶' 甘岫平   /欠  白岫妹
   併             艮          岫  奈 白   岫
                              岫
Go to Top of Page

b-1

10 Posts

Posted - 05/27/2014 :  06:53:36 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Echo, hi Castiel,

thank you for these interesting solutions I haven't heard from before.

To change the superscript offset to minimum looks ok for \g(c)\=(3,\-(\p250('))). Unfortunately all other superscripts, including the axes labeling, are changed as well so this does not work.

As this problem is more difficult than I hoped, this time I will "cheat" with two overlapping textboxes . But I will keep Aurora in mind for the future ...

Still, I have a dream that in Origin 10, perhaps, there will be a matching prime symbol hidden somewhere

Thank you

Anton
Go to Top of Page

snowli

USA
1387 Posts

Posted - 05/27/2014 :  09:52:45 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Anton,

Sorry that this dragged on. I will bring this up in next TS meeting to see how to improve this.

Since prime in Superscript shows too high, I am thinking another possibility is using Comma instead of prime symbol in superscript since in some fonts, comma looks like prime symbol. E.g.

\g(c)\=(3,\f:Corbel(,))
\g(c)\=(3,\f:Corbel(,,))

Thanks, Snow
Go to Top of Page

Castiel

343 Posts

Posted - 05/27/2014 :  11:05:34 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
quote:
Originally posted by b-1

Hi Echo, hi Castiel,

thank you for these interesting solutions I haven't heard from before.

To change the superscript offset to minimum looks ok for \g(c)\=(3,\-(\p250('))). Unfortunately all other superscripts, including the axes labeling, are changed as well so this does not work.

As this problem is more difficult than I hoped, this time I will "cheat" with two overlapping textboxes . But I will keep Aurora in mind for the future ...

Still, I have a dream that in Origin 10, perhaps, there will be a matching prime symbol hidden somewhere

Thank you

Anton





妾+   午旦  妹罕妾  妾伊    用仇  妾/     岫ㄞ
 妾京用 仍巨  件 侈   件戶' 甘岫平   /欠  白岫妹
   併             艮          岫  奈 白   岫
                              岫
Go to Top of Page

rdremov

USA
28 Posts

Posted - 05/28/2014 :  6:29:42 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
You may try using Unicode node for prime, e.g.
\g(c)\=(3,\i(\f:Arial(\(x03B9))))

There are multiple glyphs available, I found \(x399), \(x131) in addition to \(x3b9). I am sure you could find even better one in Symbol Map dialog with Unicode checked.
Go to Top of Page

b-1

10 Posts

Posted - 05/29/2014 :  08:24:43 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thank you so much for all the answers! I did not know how to use unicode in Origin and the commas don't look bad neither.

Edited by - b-1 on 05/29/2014 08:26:16 AM
Go to Top of Page

cdrozdowski111

USA
247 Posts

Posted - 05/30/2014 :  06:32:17 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hey,

I have a little trick to add regarding Unicode and math symbols (in case someone finds this in the future). It may or may not always work!!!

Wikipedia has a nice page on math symbols: http://en.wikipedia.org/wiki/List_of_mathematical_symbols

I was able to easily place some Unicode math symbols in Origin text (in Origin 9.1 at least) by doing the following:

1) In Chrome browser on the Wikipedia page, highlight the symbol in the "Symbol in HTML" column and copy it.
2) Add a Text object to your Origin graph.
3) Using WYSIWYG mode, paste the symbol.
4) Open the Properties dialog and you should see the code for the symbol.

You might have to change the font to "Arial Unicode MS" and not all symbols are supported or are exactly what you need!!!

With regards to the prime (and double, triple, quadruple) Unicode symbol, Wikipedia has a page on that symbol: http://en.wikipedia.org/wiki/Prime_(symbol)

Note- "_(symbol)" is part of the above URL!

You can copy/paste from that page or get the 4-digit unicode number (w/o the U+) to put in your "\x(####)" Origin Unicode escape sequence.
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000