CTAN
Comprehensive TeX Archive Network

Direc­tory tex-archive/macros/latex/contrib/zhnumber

README.md

zh­num­ber

The zhnumber pack­age pro­vides com­mands to type­set Chi­nese rep­re­sen­ta­tions of num­bers. The main dif­fer­ence be­tween this pack­age and CJKnumb is that com­mands pro­vided by this pack­age is ex­pand­able in the proper way. So, it seems that zh­num­ber is a good al­ter­na­tive to CJKnumb pack­age.

Ba­sic Usage

The pack­age pro­vides the fol­low­ing macros:

\zhnumber{<number>}

Con­vert <number> to a full Chi­nese rep­re­sen­ta­tion.

\zhnum{<counter>}

Sim­i­lar to \arabic{<counter>}, but rep­re­sen­ta­tion of <counter> as Chi­nese nu­mer­als.

\zhdigits{<number>}
\zhdigits*{<number>}

Han­dle <number> as a string of dig­its and con­vert each of them into the cor­re­spond­ing Chi­nese digit. The starred ver­sion uses the Chi­nese cir­cle glyph for digit zero; the un­starred ver­sion uses the tra­di­tional glyph.

You can read the pack­age man­ual (in Chi­nese) for more de­tailed ex­pla­na­tions.

Con­tribut­ing

This pack­age is a part of the ctex-kit project.

Is­sues and pull re­quests are wel­come.

Copy­right and Li­cence

Copyright (C) 2012, 2014-2016 by Qing Lee <sobenlee@gmail.com>
----------------------------------------------------------------------
This work may be distributed and/or modified under the
conditions of the LaTeX Project Public License, either
version 1.3c of this license or (at your option) any later
version. This version of this license is in
   http://www.latex-project.org/lppl/lppl-1-3c.txt
and the latest version of this license is in
   http://www.latex-project.org/lppl.txt
and version 1.3 or later is part of all distributions of
LaTeX version 2005/12/01 or later.
This work has the LPPL maintenance status `maintained'.
The Current Maintainer of this work is Qing Lee.
This package consists of the file  zhnumber.dtx,
             and the derived files zhnumber.pdf,
                                   zhnumber.sty,
                                   zhnumber-utf8.cfg,
                                   zhnumber-gbk.cfg,
                                   zhnumber-big5.cfg,
                                   zhnumber.ins and
                                   README.md (this file).

Files

Name Size Date Notes
README.md 2303 2016-05-14 13:37
zh­num­ber.dtx 63153 2016-05-14 11:18
zh­num­ber.ins 3337 2016-05-14 13:37
zh­num­ber.pdf 290451 2016-05-14 13:38

Down­load the con­tents of this pack­age in one zip archive (292.6k).

zh­num­ber – Type­set Chi­nese rep­re­sen­ta­tions of num­bers

The pack­age pro­vides com­mands to type­set Chi­nese rep­re­sen­ta­tions of num­bers. The main dif­fer­ence be­tween this pack­age and CJKnumb is that the com­mands pro­vided are ex­pand­able in the ‘proper’ way.

Pack­age De­tailszh­num­ber
Ver­sion2.4
Li­censeThe LaTeX Project Public Li­cense 1.3
Main­tainerQing Lee
TDS archivezhnumber.tds.zip
Con­tained inTeX Live as zh­num­ber
MiKTeX as zh­num­ber
Topics for­mat­ting num­bers, etc
sup­port for type­set­ting Chi­nese lan­guages
Guest Book Sitemap Contact Contact Author