summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/uptex/base/samples/simple-euc.tex
blob: 585d5b0b6a002a8573a95e667f5987f7c3df5ba1 (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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
\documentclass{jarticle}
\topmargin 0mm
\textheight 230mm
\begin{document}
\section{¥¨¥ó¥³¡¼¥Ç¥£¥ó¥°¤Î¥Æ¥¹¥È}
º£Æü¤Ï\today ¤Ç¤¹¡£

¤³¤Î¥Õ¥¡¥¤¥ë¤ÏEUC-JP¤Ç¥¨¥ó¥³¡¼¥É¤µ¤ì¤Æ¤¤¤Þ¤¹¡£

ÆâÉô¥³¡¼¥É¤Ï
\ifnum\jis"2121="A1A1
 EUC%
\else
 SJIS%
\fi
¤Î¤è¤¦¤Ç¤¹¡£

\typeout{¤³¤Î¥Õ¥¡¥¤¥ë¤ÏEUC-JP¤Ç¥¨¥ó¥³¡¼¥É¤µ¤ì¤Æ¤¤¤Þ¤¹¡£}

\section{´Á¿ô»ú}

\kansuji 1234567890
\quad\quad
°ìÆ󻰻͸ÞÏ»¼·È¬¶å¡»

\char\kuten"104C\char\kuten"2653\char\kuten"1B10\char\kuten"1B2D\char\kuten"183E
\char\kuten"2F1B\char\kuten"1C17\char\kuten"280C\char\kuten"1645\char\kuten"011B
\quad\quad
\char\jis"306C\char\jis"4673\char\jis"3B30\char\jis"3B4D\char\jis"385E
\char\jis"4F3B\char\jis"3C37\char\jis"482C\char\jis"3665\char\jis"213B

\char\euc"B0EC\char\euc"C6F3\char\euc"BBB0\char\euc"BBCD\char\euc"B8DE
\char\euc"CFBB\char\euc"BCB7\char\euc"C8AC\char\euc"B6E5\char\euc"A1BB
\quad\quad
\char\sjis"88EA\char\sjis"93F1\char\sjis"8E4F\char\sjis"8E6C\char\sjis"8CDC
\char\sjis"985A\char\sjis"8EB5\char\sjis"94AA\char\sjis"8BE3\char\sjis"815A

\makeatletter
\ifx\ucs\@undefined
\else
  \char\ucs"4E00\char\ucs"4E8C\char\ucs"4E09\char\ucs"56DB\char\ucs"4E94
  \char\ucs"516D\char\ucs"4E03\char\ucs"516B\char\ucs"4E5D\char\ucs"3007
\fi
\makeatother

\kansujichar1=`Ôå
\kansujichar2=`Æõ
\kansujichar3=`ÒÔ
\kansujichar4=`æè
\kansujichar5=`¸à
\kansuji 12345

\section{uppercase, lowercase}

abc, ABC, $E=mc^2$; 012. ¤¢¤¤¤¦¡¢°ìÆó»°¡£

\uppercase{abc, ABC, $E=mc^2$; 012. ¤¢¤¤¤¦¡¢°ìÆó»°¡£}

\lowercase{abc, ABC, $E=mc^2$; 012. ¤¢¤¤¤¦¡¢°ìÆó»°¡£}

\section{dvi2tty¤Î²þ¹Ô}
\parindent 0mm

123456789012345678901234567890123456789012345678901234567890\\
a123456789012345678901234567890123456789012345678901234567890\\
ab123456789012345678901234567890123456789012345678901234567890\\
abc123456789012345678901234567890123456789012345678901234567890\\

¦Á¦Â¦Ã¦Ä¦Å¦Æ¦Ç¦È¦É¦Ê¦Á¦Â¦Ã¦Ä¦Å¦Æ¦Ç¦È¦É¦Ê¦Á¦Â¦Ã¦Ä¦Å¦Æ¦Ç¦È¦É¦Ê\\
a¦Á¦Â¦Ã¦Ä¦Å¦Æ¦Ç¦È¦É¦Ê¦Á¦Â¦Ã¦Ä¦Å¦Æ¦Ç¦È¦É¦Ê¦Á¦Â¦Ã¦Ä¦Å¦Æ¦Ç¦È¦É¦Ê\\
ab¦Á¦Â¦Ã¦Ä¦Å¦Æ¦Ç¦È¦É¦Ê¦Á¦Â¦Ã¦Ä¦Å¦Æ¦Ç¦È¦É¦Ê¦Á¦Â¦Ã¦Ä¦Å¦Æ¦Ç¦È¦É¦Ê\\
abc¦Á¦Â¦Ã¦Ä¦Å¦Æ¦Ç¦È¦É¦Ê¦Á¦Â¦Ã¦Ä¦Å¦Æ¦Ç¦È¦É¦Ê¦Á¦Â¦Ã¦Ä¦Å¦Æ¦Ç¦È¦É¦Ê\\

°ìÆ󻰻͸ÞÏ»¼·È¬¶å¡»°ìÆ󻰻͸ÞÏ»¼·È¬¶å¡»°ìÆ󻰻͸ÞÏ»¼·È¬¶å¡»\\
a°ìÆ󻰻͸ÞÏ»¼·È¬¶å¡»°ìÆ󻰻͸ÞÏ»¼·È¬¶å¡»°ìÆ󻰻͸ÞÏ»¼·È¬¶å¡»\\
ab°ìÆ󻰻͸ÞÏ»¼·È¬¶å¡»°ìÆ󻰻͸ÞÏ»¼·È¬¶å¡»°ìÆ󻰻͸ÞÏ»¼·È¬¶å¡»\\
abc°ìÆ󻰻͸ÞÏ»¼·È¬¶å¡»°ìÆ󻰻͸ÞÏ»¼·È¬¶å¡»°ìÆ󻰻͸ÞÏ»¼·È¬¶å¡»\\

\begin{flushleft}
left left\\
º¸º¸º¸
\end{flushleft}

\begin{center}
center center\\
̾̾̾
\end{center}

\begin{flushright}
right right\\
±¦±¦±¦
\end{flushright}

\end{document}