
Here is a table of all commands of CJK.


\begin{CJK}{encoding}{shape}
...
\end{CJK}

        This starts a CJK environment.
        Possible values for `encoding' are:
            `Bg5', `GB', `GBt', `JIS', `KS', `UTF8';
            `pmC-Bg5', `pmC-GB', `pmC-GBt', `pmC-JIS', `pmC-KS'.
        Possible values for `shape' are defined in the .fd files which must be
        configured to the available fonts.

        Newlines and spaces after a CJK character will be retained. If you
        want to suppress a newline, finish the line with `%'.


\begin{CJK*}{encoding}{shape}
...
\end{CJK*}

        The same as the CJK environment except that newlines and spaces after
        a CJK character are swallowed. If you want a space after a CJK
        character you must protect it (e.g. use `\ ').


Text containing CJK characters should start with a fresh line because TeX has
already read in the last line with non-active characters.

You can stack CJK environments (i.e. saying \begin{CJK}...\end{CJK} inside of
a CJK environment) but it is possible that TeX's `save size' will overflow.
Use \CJKenc and \CJKshape instead.

To have two different encodings/shapes on the same line you must use \CJKenc
and \CJKshape respectively.


==============================================================================


The following commands are defined only inside of a CJK environment.


\CJKchar{byte1}{byte2}  Insert a CJK character literally.
                        `byte1' and `byte2' are the first and second byte
                        of the CJK character (in the selected encoding).
                        You can use decimal, hexadecimal or octal notation.

        Example:

                \CJKchar{"0A3}{"0A5}


\CJKenc{encoding}
\CJKshape{shape}        Change encoding and shape.
                        `encoding' selects the U+`shape'.fd font definition
                        file; the possible values of `shape' are then defined
                        in this .fd file.
                        Contrary to \begin{CJK}{...}{...} it's not necessary
                        to start a new line after \CJKenc (except changing
                        from/to UTF 8).

        Example:

            \begin{CJK*}{Bg5}{song}                %    UBg5.fd used
            ... Text in Bg5 song ...    \CJKenc{GB}%
            ... Text in GB  song ... \CJKshape{kai}%    UGB.fd used
            ... Text in GB kai ...
            \end{CJK*}


\CJKkern                To prevent a line break before a CJK character (e.g.
                        between an opening (non-CJK) parenthesis and a CJK
                        character), say \CJKkern. This command prevents the
                        insertion of \CJKglue before the CJK character.


\CJKglue                If you get overfull hboxes caused by CJK characters,
                        try to increase \CJKglue. It defines the glue between
                        CJK characters; the default definition is

                \newcommand{\CJKglue}{\hskip 0pt plus 0.08\baselineskip}  .

                        \CJKglue will be inserted by CJK before each Chinese
                        character (except punctuation characters as defined in
                        the punctuation tables; see CJK.enc), and none after.
                        You should separate non-Chinese text from CJK
                        characters with spaces to enable hyphenation.


\CJKhanja
\CJKhangul              \CJKhanja deactivates the use of Uhangul.fd for Hangul
                        characters, all fonts are taken from Uhanja.fd;
                        \CJKhangul is the opposite command. The default state
                        is Uhanja.fd active.
                        Archaic hangul elements (KS 0xA4D5-0xA4FE) and the
                        character KS 0xA4D4 are only accessible if \CJKhanja
                        is active.


\CJKtolerance           If you get overfull hboxes caused by Hangul syllables,
                        try to increase \CJKtolerance. The default definition
                        is

                \newcommand{\CJKtolerance}{400}  .


\CJKuppercase           In Big 5 environments the TeX command \uppercase is
                        disabled, otherwise wrong CJK characters would be
                        selected. In the unlikely case that you really need
                        \uppercase, use \CJKuppercase instead.
                        This restriction does not exist for preprocessed CJK
                        files, i.e. files processed with Bg5conv (or CEFconv),
                        thus \CJKuppercase will not be defined in these cases.


==============================================================================


The following commands are defined only inside of a CJK environment if CNS.sty
is loaded.


\CNSchar{byte1}{byte2}{byte3}   with \CNSchar you can access a CNS character
                                directly at a low level: the parameters are
                                the first, second and third byte of the CNS
                                character code. The first byte, representing
                                the plane, must be a decimal number in the
                                range 1-7; the second and third byte should be
                                numbers between 0x21-0x7E. You can use
                                haxadecimal, decimal or octal notation for the
                                second and third byte.

                                If the first byte is 0 (`plane 0'), the
                                second and third byte are Big 5 encoded
                                characters.

        Example:

            \CNSchar{3}{"21}{"31}


\CNSshape{shape}                Similar to \CJKshape. Default is `song'.


\CNSBigFiveShape{shape}         Select the shape of Big 5 characters in
                                plane 0 of the Chinese Encoding Framework.
                                Default is `song'.
