summaryrefslogtreecommitdiffstats
path: root/divers/test/bidouille-unicode.tex
blob: 037cbe58dca95a62d1ba4952e2ee88ed94765ffa (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
\documentclass[10pt]{article}
\usepackage[mathletters]{ucs}
\usepackage[utf8x]{inputenc}
\ifnum\pdfoutput>0
\pdfmapline{dgjkata dgjkata <dgjkata.pfb}
\DeclareFontFamily{U}{dgjkata}{\skewchar\font127 }
\DeclareFontShape{U}{dgjkata}{m}{n}{<->dgjkata}{}
\DeclareSymbolFont{dgjkata}{U}{dgjkata}{m}{n}
\DeclareSymbolFontAlphabet{\dgjkata}{dgjkata}
\DeclareMathSymbol{\katakanapi}{\mathord}{dgjkata}{"34}
\DeclareUnicodeCharacter{"30D4}{\katakanapi}
\else
\DeclareUnicodeCharacter{"30D4}{\pi}
\fi
\ifnum\pdfoutput>0
\pdfmapline{dmjkj dmjkj <dmjkj.pfb}
\DeclareFontFamily{U}{dmjkj}{\skewchar\font127 }
\DeclareFontShape{U}{dmjkj}{m}{n}{<->dmjkj}{}
\DeclareSymbolFont{dmjkj}{U}{dmjkj}{m}{n}
\DeclareSymbolFontAlphabet{\dmjkf}{dmjkj}
\DeclareMathSymbol{\betsou}{\mathord}{dmjkj}{'267}
\else
\newcommand{\betsou}{{\mathrm{betsou}}}
\fi
\DeclareUnicodeCharacter{"5225}{\betsou}
%
\begin{document}
\[e^{iピ} = -1\]
\[別 = 0\]
\end{document}