2008年9月13日星期六

Latex: CJK字体与Word对应的字号

CJK中字义与Word中相应的字号

\newcommand\zihao[1]{
   \ifthenelse{\equal{#1}{0}}{\CJKfontsize{42bp}{50.4pt}{.5pt}{.3pt}}{}
   \ifthenelse{\equal{#1}{-0}}{\CJKfontsize{36bp}{43.2pt}{.5pt}{.3pt}}{}
   \ifthenelse{\equal{#1}{1}}{\CJKfontsize{26bp}{31.2pt}{.5pt}{.3pt}}{}
   \ifthenelse{\equal{#1}{-1}}{\CJKfontsize{24bp}{28.8pt}{.5pt}{.3pt}}{}
   \ifthenelse{\equal{#1}{2}}{\CJKfontsize{22bp}{26.4pt}{.5pt}{.3pt}}{}
   \ifthenelse{\equal{#1}{-2}}{\CJKfontsize{18bp}{21.6pt}{.3pt}{.2pt}}{}
   \ifthenelse{\equal{#1}{3}}{\CJKfontsize{16bp}{19.3pt}{.3pt}{.2pt}}{}
   \ifthenelse{\equal{#1}{-3}}{\CJKfontsize{15bp}{18pt}{.3pt}{.2pt}}{}
   \ifthenelse{\equal{#1}{4}}{\CJKfontsize{14bp}{16.8pt}{.3pt}{.2pt}}{}
   \ifthenelse{\equal{#1}{-4}}{\CJKfontsize{12bp}{14.4pt}{.3pt}{.2pt}}{}
   \ifthenelse{\equal{#1}{5}}{\CJKfontsize{10.5bp}{12.6pt}{.3pt}{.2pt}}{}
   \ifthenelse{\equal{#1}{-5}}{\CJKfontsize{9bp}{10.8pt}{.2pt}{.1pt}}{}
   \ifthenelse{\equal{#1}{6}}{\CJKfontsize{7.5bp}{9pt}{.2pt}{.1pt}}{}
   \ifthenelse{\equal{#1}{-6}}{\CJKfontsize{6.5bp}{7.8pt}{.2pt}{.1pt}}{}
   \ifthenelse{\equal{#1}{7}}{\CJKfontsize{5.5bp}{6.6pt}{.1pt}{.1pt}}{}
   \ifthenelse{\equal{#1}{8}}{\CJKfontsize{5bp}{6pt}{.1pt}{.1pt}}{}
}


--

拥抱真是很奇妙,虽然两颗心靠得很近,却看不见对方的脸。

没有评论: