blob: d76dc154e43e52b9d99178cc8a65cfb3af6af560 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
% For eplatex or euplatex
% autodetect kanji-internal code
\ifnum\jis"2121="3000
% euplatex
\documentclass{ujarticle}
\def\pLaTeXorupLaTeX{$\epsilon$-up\LaTeX}
\else
% eplatex
\documentclass{jarticle}
\def\pLaTeXorupLaTeX{$\epsilon$-p\LaTeX}
\fi
\DeclareFontShape{OT1}{cmr}{bxrev}{n}{<-> xbmc10}{} % for right-to-left text
\DeclareTextFontCommand{\revrm}{\fontseries{bxrev}\fontshape{n}\selectfont}
\def\TeXXeT{\TeX-\revrm{\TeXXeTstate=1\beginR\TeX-\endR}}
\begin{document}
\section{\TeXXeT $B$N%F%9%H(B}
\pLaTeXorupLaTeX $B$G%F%9%H$7$F$$$^$9!#(B
\parindent0mm
``Yes, we can.'' offline enilffo shuffle elffuhs file elif
\TeXXeTstate=1\beginR
``Yes, we can.'' offline enilffo shuffle elffuhs file elif
\endR
$B%b!<%K%s%0L<!#(B $BK\EDH~F`;R!%(B $B$H$i$d(B
\TeXXeTstate=1\beginR
$B%b!<%K%s%0L<!#(B $BK\EDH~F`;R!%(B $B$H$i$d(B
\endR
\end{document}
|