[pdftex] pdfstringdef

Victor Ivrii vivrii at gmail.com
Fri May 12 01:23:46 CEST 2006


On 5/11/06, Joel Salomon <joelcsalomon at gmail.com> wrote:
> On 5/10/06, Victor Ivrii <vivrii at gmail.com> wrote:
> > I cannot find the unicode for raised - .
>
> If the email systems don't eat them, the Unicode superscripts are:
>
> U+2070 superscript zero: ⁰
> U+00B9 superscript one: ¹
> U+00B2 superscript two: ²


Looking at
/usr/local/teTeX/share/texmf.tetex/tex/latex/hyperref/puenc or  pdqenc

one can see that

\DeclareTextCommand{\texttwosuperior}{PD1}{\262}
\DeclareTextCommand{\texttwosuperior}{PU}{\80\262}

Thanks. Now I got it: while PDF uses octal numbers, unicode uses hex so ...
Not sure however if PDF would be happy with \20164 which should be supersript 4



> U+00B3 superscript three: ³
> U+2074 superscript four: ⁴
> U+2075 superscript five: ⁵
> U+2076 superscript six: ⁶
> U+2077 superscript seven: ⁷
> U+2078 superscript eight: ⁸
> U+2079 superscript nine: ⁹
> U+207A superscript plus: ⁺
> U+207B superscript minus: ⁻
> U+207C superscript equals: ⁼
> U+207D superscript left parenthesis: ⁽
> U+207E superscript right parenthesis: ⁾
> U+207F superscript latin small n: ⁿ
>
> while U+2080--U+208E are subscripted 0--9, +, -, =, (, ); ₀₁₂₃₄₅₆₇₈₉₊₋₌₍₎
>
> --Joel
>


-- 
========================
Victor Ivrii, Department of Mathematics, University of Toronto


More information about the pdftex mailing list