HP Forums
Text formatting codes for Greek characters and other symbols - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html)
+--- Forum: General Forum (/forum-4.html)
+--- Thread: Text formatting codes for Greek characters and other symbols (/thread-7472.html)



Text formatting codes for Greek characters and other symbols - Namir - 12-26-2016 03:08 PM

Paul Dale sent me text, in other of the threads, that included a Greek character. I looked at the source code and was able to determine that it is related to information found in ShareLaTeX web site. The raw text code used in this web site is a variant of the codes listed in ShareLaTeX. Is there a document or web site that spells the exact character codes for Greek letters (lowercase and uppercase), math symbols and operators, and other symbols, that can be applied to messages in this web site?

For example:

Code:
\( \Phi\)

Generates the uppercase Greek Phi character \( \Phi\).

Likewise:

Code:
\( \phi\)

Generates the lowercase Greek Phi character \( \phi\).

Namir


RE: Text formatting codes for Greek characters and other symbols - Garth Wilson - 12-26-2016 07:00 PM

Do you specifically want LaTex? For mixing the Greek letters and other specials in with text, I copy and paste from a browser tab I keep open to my html sandbox file, and I got the characters from various html character pages like
http://www.whatsmyip.org/html-characters/
https://www.wired.com/2010/02/special_characters/
http://www.degraeve.com/reference/specialcharacters.php
https://www.w3.org/TR/REC-html40/sgml/entities.html
or sometimes from the character map I can pull down in my GUI. The html allows doing thing like the overline as well but I don't think we can get that in phpBB. I'd be delighted if someone would prove me wrong. For equations, I've used CodeCogs which someone here got me turned on to. I guess there's the same kind of thing in my LibreOffice Writer too, but I hadn't discovered it yet when I got started using CodeCogs.


RE: Text formatting codes for Greek characters and other symbols - Dieter - 12-26-2016 07:23 PM

(12-26-2016 03:08 PM)Namir Wrote:  Paul Dale sent me text, in other of the threads, that included a Greek character. I looked at the source code and was able to determine that it is related to information found in ShareLaTeX web site. The raw text code used in this web site is a variant of the codes listed in ShareLaTeX. Is there a document or web site that spells the exact character codes for Greek letters (lowercase and uppercase), math symbols and operators, and other symbols, that can be applied to messages in this web site?

First of all, his forum supports MathJax, with a syntax similar to Latex. This allows inserting complex formulas as well as single special characters. MathJax expressions start with backslash + open bracket and end with backslash + closing bracket. I am sure you will find a MathJax reference somewhere on the web. Most of the special characters on the site you linked to should also be possible in MathJax.

Second, this forum also supports Unicode. On a Windows system, simply execute "charmap", select "Unicode" and insert any character you like, for instance a greek Phi: uppercase Φ as well as lowercase φ. For a first impression of what can be done in Unicode take a look at this post.

Dieter