由买买提看人间百态

topics

全部话题 - 话题: cjktilde
(共0页)
T*********r
发帖数: 11175
1
来自主题: TeX版 - 请教latex中文的输入
%%!TEX encoding = UTF-8 Unicode
\usepackage[overlap, CJK]{ruby}
\usepackage{CJKulem}
\newenvironment{SChinese}{%
\CJKfamily{gbsn}%
\CJKtilde
\CJKnospace}{}
\newenvironment{TChinese}{%
\CJKfamily{bsmi}%
\CJKtilde
\CJKnospace}{}
\newenvironment{Japanese}{%
\CJKfamily{min}%
\CJKtilde
\CJKnospace}{}
\begin{CJK}
\begin{SChinese}中文\end{SChinese}
\end{CJK}

.2
m*********p
发帖数: 23
2
我preamble是很这样的
\usepackage{type1ec}
\usepackage[T1]{fontenc}
\usepackage[USenglish]{babel}
%\usepackage[latin1]{inputenc}
\usepackage{CJKutf8}
\usepackage[overlap, CJK]{ruby}
\usepackage{CJKulem}
\renewcommand{\rubysep}{-0.2ex}
\newenvironment{SChinese}{%
\CJKfamily{gbsn}%
\CJKtilde
\CJKnospace}{}
但是Latex报错:
ERROR: Package CJK Error: Invalid character code.
(共0页)