W3C home > Mailing lists > Public > www-math@w3.org > February 2011

Re: Where can I find numerical codes for all LATEX Mathematical symbols

From: Richard Ishida <ishida@w3.org>
Date: Wed, 23 Feb 2011 07:20:17 +0000
Message-ID: <4D64B531.4050405@w3.org>
To: Will Robertson <wspr81@gmail.com>
CC: saf sied <saf_itpro@yahoo.com>, David Carlisle <davidc@nag.co.uk>, "www-math@w3.org" <www-math@w3.org>
Ah, if you want to work with the unicode-math-table.tex file, copy the 
code into the green box, check Convert \x just above and then click on 
the Hex code points box above the green box.  Then look below for your 
results.

eg.

\UnicodeMathSymbol{"1D661}{\mbfitsansl 
}{\mathalpha}{mathematical sans-serif bold italic small l}%
\UnicodeMathSymbol{"1D662}{\mbfitsansm 
}{\mathalpha}{mathematical sans-serif bold italic small m}%
\UnicodeMathSymbol{"1D663}{\mbfitsansn 
}{\mathalpha}{mathematical sans-serif bold italic small n}%
\UnicodeMathSymbol{"1D664}{\mbfitsanso 
}{\mathalpha}{mathematical sans-serif bold italic small o}%
\UnicodeMathSymbol{"1D665}{\mbfitsansp 
}{\mathalpha}{mathematical sans-serif bold italic small p}%
\UnicodeMathSymbol{"1D666}{\mbfitsansq 
}{\mathalpha}{mathematical sans-serif bold italic small q}%
\UnicodeMathSymbol{"1D667}{\mbfitsansr 
}{\mathalpha}{mathematical sans-serif bold italic small r}%
\UnicodeMathSymbol{"1D668}{\mbfitsanss 
}{\mathalpha}{mathematical sans-serif bold italic small s}%
\UnicodeMathSymbol{"1D669}{\mbfitsanst 
}{\mathalpha}{mathematical sans-serif bold italic small t}%

gives

\UnicodeMathSymbol{"𝙡}{\mbfitsansl 
}{\mathalpha}{mathematical sans-serif bold italic small l}%
\UnicodeMathSymbol{"𝙢}{\mbfitsansm 
}{\mathalpha}{mathematical sans-serif bold italic small m}%
\UnicodeMathSymbol{"𝙣}{\mbfitsansn 
}{\mathalpha}{mathematical sans-serif bold italic small n}%
\UnicodeMathSymbol{"𝙤}{\mbfitsanso 
}{\mathalpha}{mathematical sans-serif bold italic small o}%
\UnicodeMathSymbol{"𝙥}{\mbfitsansp 
}{\mathalpha}{mathematical sans-serif bold italic small p}%
\UnicodeMathSymbol{"𝙦}{\mbfitsansq 
}{\mathalpha}{mathematical sans-serif bold italic small q}%
\UnicodeMathSymbol{"𝙧}{\mbfitsansr 
}{\mathalpha}{mathematical sans-serif bold italic small r}%
\UnicodeMathSymbol{"𝙨}{\mbfitsanss 
}{\mathalpha}{mathematical sans-serif bold italic small s}%
\UnicodeMathSymbol{"𝙩}{\mbfitsanst 
}{\mathalpha}{mathematical sans-serif bold italic small t}%

or

\UnicodeMathSymbol{"&#120417;}{\mbfitsansl 
}{\mathalpha}{mathematical sans-serif bold italic small l}%
\UnicodeMathSymbol{"&#120418;}{\mbfitsansm 
}{\mathalpha}{mathematical sans-serif bold italic small m}%
\UnicodeMathSymbol{"&#120419;}{\mbfitsansn 
}{\mathalpha}{mathematical sans-serif bold italic small n}%
\UnicodeMathSymbol{"&#120420;}{\mbfitsanso 
}{\mathalpha}{mathematical sans-serif bold italic small o}%
\UnicodeMathSymbol{"&#120421;}{\mbfitsansp 
}{\mathalpha}{mathematical sans-serif bold italic small p}%
\UnicodeMathSymbol{"&#120422;}{\mbfitsansq 
}{\mathalpha}{mathematical sans-serif bold italic small q}%
\UnicodeMathSymbol{"&#120423;}{\mbfitsansr 
}{\mathalpha}{mathematical sans-serif bold italic small r}%
\UnicodeMathSymbol{"&#120424;}{\mbfitsanss 
}{\mathalpha}{mathematical sans-serif bold italic small s}%
\UnicodeMathSymbol{"&#120425;}{\mbfitsanst 
}{\mathalpha}{mathematical sans-serif bold italic small t}%

etc.

Hint: for converting larger amounts of data at one time, Safari or 
Chrome browsers are useful, since they allow you to stretch any output 
field to see more results at a time.

RI



Richard Ishida
Internationalization Activity Lead
W3C (World Wide Web Consortium)

http://www.w3.org/International/
http://rishida.net/

On 23/02/2011 06:39, Richard Ishida wrote:
> I'm not sure why you need a decimal version for HTML. In the i18n WG we
> recommend the use of hex codes (since it's easier to pair them with
> tables such as this).
>
> Even better would be to use utf-8 for your HTML character encoding, and
> use actual characters.
>
> If you do still need to convert them, you can use
> http://rishida.net/tools/conversion/ Just copy the column, drop it on
> the green box, hit Convert and look for the result in the NCR boxes.
> Problem is, I wasn't able to copy from the document - seems to be using
> the private-use area of Unicode for encoding even the ascii characters.
>
> RI
>
>
> Richard Ishida
> Internationalization Activity Lead
> W3C (World Wide Web Consortium)
>
> http://www.w3.org/International/
> http://rishida.net/
>
> On 22/02/2011 22:41, Will Robertson wrote:
>> (Sent quickly. Please excuse brevity.)
>>
>> On 23/02/2011, at 8:51 AM, saf sied <saf_itpro@yahoo.com
>> <mailto:saf_itpro@yahoo.com>> wrote:
>>
>>> I would like to thank David Carlisle for pointing out to the list
>>> http://www.tex.ac.uk/tex-archive/macros/latex/contrib/unicode-math/unimath-symbols.pdf
>>>
>>>
>>> I’ll need to convert the usv’s to decimal for HTML usage.
>>>
>>
>> If you take a look in the parallel source file unicode-math-table.tex
>> you should be able to write some sort of script that can do this without
>> too much trouble.
>>
>> Keep half an eye on this file over time; it's still subject to (small)
>> change as entries are added/corrected.
>>
>> Will
Received on Wednesday, 23 February 2011 07:20:51 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 23 February 2011 07:20:52 GMT