~ubuntu-branches/ubuntu/lucid/vflib3/lucid

« back to all changes in this revision

Viewing changes to ascii-jtex/HojoKanji/jisx0212.sty

  • Committer: Bazaar Package Importer
  • Author(s): Masayuki Hatta
  • Date: 2002-04-15 12:10:24 UTC
  • Revision ID: james.westby@ubuntu.com-20020415121024-cann32wucyfbq22f
Tags: upstream-3.6.12
ImportĀ upstreamĀ versionĀ 3.6.12

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
%%% Hojo Kanji Character Set (JISX0212)
 
2
%%% by Hirotsugu Kakugawa
 
3
%%%
 
4
%%% Tested on :
 
5
%%%   pLaTeX2e <1998/02/17>+0 (based on LaTeX2e <1997/12/01> patch level 1)
 
6
%%%
 
7
\NeedsTeXFormat{pLaTeX2e}
 
8
 
 
9
\DeclareKanjiEncodingDefaults{}{}
 
10
\DeclareYokoKanjiEncoding{JY2}{}{}
 
11
\DeclareKanjiSubstitution{JY2}{mc}{m}{n}
 
12
\DeclareErrorKanjiFont{JY2}{mc}{m}{n}{10}
 
13
\DeclareTateKanjiEncoding{JT2}{}{}
 
14
\DeclareKanjiSubstitution{JT2}{mc}{m}{n}
 
15
\DeclareErrorKanjiFont{JT2}{mc}{m}{n}{10}
 
16
 
 
17
\DeclareFontSubstitution{JY2}{mc}{m}{n}
 
18
\DeclareFontSubstitution{JY2}{gt}{m}{n}
 
19
\DeclareFontSubstitution{JT2}{mc}{m}{n}
 
20
\DeclareFontSubstitution{JT2}{gt}{m}{n}
 
21
 
 
22
\newenvironment{jisx0208}{%
 
23
  \def\cy@encoding{JY1}\def\ct@encoding{JT1}\kanjiencoding{JY1}\selectfont}{}
 
24
\newenvironment{jisx0212}{\def\cy@encoding{JY2}\def\ct@encoding{JT2}%
 
25
  \kanjiencoding{JY2}\selectfont}{}
 
26
\newcommand{\HojoKanji}[1]{\def\cy@encoding{JY2}\def\ct@encoding{JT2}%
 
27
  \begingroup\kanjiencoding{JY2}\selectfont#1\endgroup}
 
28
 
 
29
%% EOF