[Cjk] ***SPAM*** Let the \today command to give the chinese format of the data.

Werner LEMBERG wl at gnu.org
Tue Nov 25 09:36:00 CET 2008


> I want to use the \date{} or \today command in the title page of my
> Chinese beamer presentation, so the date format should be better in
> Chinese.  In detail, I want the following data format something like
> the following are given:
> 
> 二零零八年十一月二十四日 星期一

Use CJKnumb.sty which provides a \CJKnumber macro for any Chinese
number; this can replace \zhnum.  For a representation with Chinese
digits, use \CJKdigits.  However, the latter uses ○ instead of 零.
Right now I've added a new command \CJKdigits* to the git repository
which uses 零.

  \CJKnumber{2008}  ->  二千零八
  \CJKdigits{2008}  ->  二○○八
  \CJKdigits*{2008} ->  二零零八


     Werner


More information about the Cjk mailing list