summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/platex/japanese-otf/mlcid.sty
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2011-11-03 15:23:51 +0000
committerNorbert Preining <preining@logic.at>2011-11-03 15:23:51 +0000
commit4584fefceb17bca6591d8eb8d0664ed92896dd84 (patch)
tree3c1eabacfa2f506202a672a515142acc64d1cd8d /Master/texmf-dist/tex/platex/japanese-otf/mlcid.sty
parent3f829a6e83b2fafe11688b0566519f4d1969a80d (diff)
forgot to add the tex part of the japanese-otf package
git-svn-id: svn://tug.org/texlive/trunk@24475 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/platex/japanese-otf/mlcid.sty')
-rw-r--r--Master/texmf-dist/tex/platex/japanese-otf/mlcid.sty35
1 files changed, 35 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/platex/japanese-otf/mlcid.sty b/Master/texmf-dist/tex/platex/japanese-otf/mlcid.sty
new file mode 100644
index 00000000000..4964b82d1ad
--- /dev/null
+++ b/Master/texmf-dist/tex/platex/japanese-otf/mlcid.sty
@@ -0,0 +1,35 @@
+\NeedsTeXFormat{pLaTeX2e}
+\ProvidesPackage{mlcid}[2004/04/17 v1.0.2 psitau]
+%force catcode of \" be 12
+\count@\catcode`\"
+\catcode`\"=12
+\DeclareRobustCommand{\CIDK}[1]{\begingroup%
+ \edef\reserved@a{\gtdefault}\ifx\k@family\reserved@a \kanjiseries{bx}\fi%
+ \kanjifamily{cidk}\set@character=#1%
+ \endgroup%
+}
+\DeclareRobustCommand{\CIDC}[1]{\begingroup%
+ \edef\reserved@a{\gtdefault}\ifx\k@family\reserved@a \kanjiseries{bx}\fi%
+ \kanjifamily{cidc}\set@character=#1%
+ \endgroup%
+}
+\DeclareRobustCommand{\CIDT}[1]{\begingroup%
+ \edef\reserved@a{\gtdefault}\ifx\k@family\reserved@a \kanjiseries{bx}\fi%
+ \kanjifamily{cidt}\set@character=#1%
+ \endgroup%
+}
+\catcode`\"=\count@
+%end of changing catcode of \"
+\DeclareKanjiFamily{\otf@JYn}{cidk}{}
+\DeclareKanjiFamily{\otf@JTn}{cidk}{}
+\Declare@FontShape{cidk}{m}{01234}{cidkmr}
+\Declare@FontShape{cidk}{bx}{01234}{cidkgr}
+\DeclareKanjiFamily{\otf@JYn}{cidc}{}
+\DeclareKanjiFamily{\otf@JTn}{cidc}{}
+\Declare@FontShape{cidc}{m}{01234567}{cidcmr}
+\Declare@FontShape{cidc}{bx}{01234567}{cidcgr}
+\DeclareKanjiFamily{\otf@JYn}{cidt}{}
+\DeclareKanjiFamily{\otf@JTn}{cidt}{}
+\Declare@FontShape{cidt}{m}{01234}{cidtmr}
+\Declare@FontShape{cidt}{bx}{01234}{cidtgr}
+\endinput