The Last Day Of Summer

.NET技术 C# ASP.net ActiveReport SICP 代码生成 报表应用 RDLC
posts - 306, comments - 2047, trackbacks - 78, articles - 3
  博客园 :: 首页 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理
string water = "H" + "\x2082" + "O"; // You can split the string up if you want.

string ammonia = "NH\x2083"; // Or not split it.

string energy = "e=mc\x00B2"; // Most well-known, poorly understood equation.

string PythagoreanTheorem = "a\x00B2+b\x00B2=c\x00B2"; \\ Also well-known. 

3. Character reference.

Superscript:

0 : U+2070

1 : U+00B9

2 : U+00B2

3 : U+00B3

4-9 : U+2074-2079

+ : U+207A

- : U+207B

= : U+207C

( : U+207D

) : U+207E

n : U+207F

Subscript

0-9 : U+2080-2089

+ : U+208A

-: U+208B

=: U+208C

(: U+208D

): U+208E