% ctex-cjk-winfonts.def: Windows 的 CJK 字体设置，默认为 CTeX 套装的六种字体
% vim:ft=tex

\input zhwinfonts

\renewcommand*\CTEX@rm@family{rm}
\renewcommand*\CTEX@sf@family{sf}
\renewcommand*\CTEX@tt@family{tt}

\ifCTEX@punct
% see also: c19rm.fd
  \CJKpunctmapfamily{C19}{rm}{m}{n}{zhsong}
  \CJKpunctmapfamily{C19}{rm}{b}{n}{zhhei}
  \CJKpunctmapfamily{C19}{rm}{bx}{n}{zhhei}
  \CJKpunctmapfamily{C19}{rm}{m}{sl}{zhsong}
  \CJKpunctmapfamily{C19}{rm}{b}{sl}{zhhei}
  \CJKpunctmapfamily{C19}{rm}{bx}{sl}{zhhei}
  \CJKpunctmapfamily{C19}{rm}{m}{it}{zhkai}
  \CJKpunctmapfamily{C19}{rm}{b}{it}{zhkei}
  \CJKpunctmapfamily{C19}{rm}{bx}{it}{zhkai}
% see also: c19sf.fd
  \CJKpunctmapfamily{C19}{sf}{m}{n}{zhyou}
  \CJKpunctmapfamily{C19}{sf}{b}{n}{zhyou}
  \CJKpunctmapfamily{C19}{sf}{bx}{n}{zhyou}
  \CJKpunctmapfamily{C19}{sf}{m}{sl}{zhyou}
  \CJKpunctmapfamily{C19}{sf}{b}{sl}{zhyou}
  \CJKpunctmapfamily{C19}{sf}{bx}{sl}{zhyou}
  \CJKpunctmapfamily{C19}{sf}{m}{it}{zhyou}
  \CJKpunctmapfamily{C19}{sf}{b}{it}{zhyou}
  \CJKpunctmapfamily{C19}{sf}{bx}{it}{zhyou}
% see also: c19tt.fd
  \CJKpunctmapfamily{C19}{tt}{m}{n}{zhfs}
  \CJKpunctmapfamily{C19}{tt}{b}{n}{zhfs}
  \CJKpunctmapfamily{C19}{tt}{bx}{n}{zhfs}
  \CJKpunctmapfamily{C19}{tt}{m}{sl}{zhfs}
  \CJKpunctmapfamily{C19}{tt}{b}{sl}{zhfs}
  \CJKpunctmapfamily{C19}{tt}{bx}{sl}{zhfs}
  \CJKpunctmapfamily{C19}{tt}{m}{it}{zhfs}
  \CJKpunctmapfamily{C19}{tt}{b}{it}{zhfs}
  \CJKpunctmapfamily{C19}{tt}{bx}{it}{zhfs}
% see also: c70rm.fd
  \CJKpunctmapfamily{C70}{rm}{m}{n}{zhsong}
  \CJKpunctmapfamily{C70}{rm}{b}{n}{zhhei}
  \CJKpunctmapfamily{C70}{rm}{bx}{n}{zhhei}
  \CJKpunctmapfamily{C70}{rm}{m}{sl}{zhsong}
  \CJKpunctmapfamily{C70}{rm}{b}{sl}{zhhei}
  \CJKpunctmapfamily{C70}{rm}{bx}{sl}{zhhei}
  \CJKpunctmapfamily{C70}{rm}{m}{it}{zhkai}
  \CJKpunctmapfamily{C70}{rm}{b}{it}{zhkei}
  \CJKpunctmapfamily{C70}{rm}{bx}{it}{zhkai}
% see also: c70sf.fd
  \CJKpunctmapfamily{C70}{sf}{m}{n}{zhyou}
  \CJKpunctmapfamily{C70}{sf}{b}{n}{zhyou}
  \CJKpunctmapfamily{C70}{sf}{bx}{n}{zhyou}
  \CJKpunctmapfamily{C70}{sf}{m}{sl}{zhyou}
  \CJKpunctmapfamily{C70}{sf}{b}{sl}{zhyou}
  \CJKpunctmapfamily{C70}{sf}{bx}{sl}{zhyou}
  \CJKpunctmapfamily{C70}{sf}{m}{it}{zhyou}
  \CJKpunctmapfamily{C70}{sf}{b}{it}{zhyou}
  \CJKpunctmapfamily{C70}{sf}{bx}{it}{zhyou}
% see also: c70tt.fd
  \CJKpunctmapfamily{C70}{tt}{m}{n}{zhfs}
  \CJKpunctmapfamily{C70}{tt}{b}{n}{zhfs}
  \CJKpunctmapfamily{C70}{tt}{bx}{n}{zhfs}
  \CJKpunctmapfamily{C70}{tt}{m}{sl}{zhfs}
  \CJKpunctmapfamily{C70}{tt}{b}{sl}{zhfs}
  \CJKpunctmapfamily{C70}{tt}{bx}{sl}{zhfs}
  \CJKpunctmapfamily{C70}{tt}{m}{it}{zhfs}
  \CJKpunctmapfamily{C70}{tt}{b}{it}{zhfs}
  \CJKpunctmapfamily{C70}{tt}{bx}{it}{zhfs}
\fi

\newcommand*{\songti}{\CJKfamily{zhsong}} % 宋体
\newcommand*{\heiti}{\CJKfamily{zhhei}}   % 黑体
\newcommand*{\kaishu}{\CJKfamily{zhkai}}  % 楷书
\newcommand*{\fangsong}{\CJKfamily{zhfs}} % 仿宋
\newcommand*{\lishu}{\CJKfamily{zhli}}    % 隶书
\newcommand*{\youyuan}{\CJKfamily{zhyou}} % 幼圆

\endinput
