Create greek symbol

I recently got the question on how to represent greek symbols on a table.

Here is an example on how to diplay your unicode as part of the table.
Note: that the unicode representation comes in hexadecimal, but Chr function takes a decimal value.

for example for alpha:
α is represented in unicode as 03B1 (hex) or 945 (dec).
Answers 7
HP
HP 2010-03-06
Hi Pedro

Thanks for the useful info!

I've been trying this when producing a pdf report, and I find that the Greek characters render in HTML and Word report viewers, but not in a PDF report viewer... any ideas why this should be, and how to render Greek characters in a PDF report?

Cheers
Hassan
CS
CS 2010-03-08
Hi Hassan,

You can use greek symbols in PDF by setting the Font to Symbol (in the Format parameter dialog) on the reporting component that generates your text.

I've attached a simple protocol that demonstrates this.

Cheers,
Craig
comment imagecomment image
HP
HP 2010-03-08
Is there a way to display a Greek symbol as a subscript to "normal" text e.g., Kinase_alpha, where alpha would appear as a subscripted "alpha"?

Regards,
Jim Metz

Abbott Laboratories
CS
CS 2010-03-08
Hi bassplayer,

Unfortunately, I can't think of a way to do this for PDF output without combining several text components and emulating the subscript by making the font on the symbol text small.

This is possible in HTML output, however. Expand the Text parameter group on the Text component, set "Allow HTML Tags" to True, then add HTML markup using the and tags for subscript and superscript, respectively.

I've attached a small sample protocol.
comment imagecomment image
PG
PG 2010-03-09
Hi Hassan,

I know it's not a perfect solution but could you generate a word file or HTML and use a pdf printer afterwards for conversion. In that way you keep the greek characters on your pdf report.
HP
HP 2010-03-09
Hi Jim,

One option might be to use the Latex stuff discussed on another thread on the forum - then you can create any complexity in your equation.

Noj
HP
HP 2010-03-09
Hi Craig

Thanks for the example. The problem is that by changing the font, as your example demonstrates, I would end up with all the text in Greek. I was looking for something more along the lines of what Jim was describing where Greek and English characters are mixed - I'm trying to write a table header containing the units micro mol, with micro as a Greek mu, which is why Pedro's original post using unicode markers was so useful. Sadly it doesn't seem to translate to PDF.

I'll have a go with the LaTeX tip I got earlier from Noj and report back.

Thanks
Hassan