summaryrefslogtreecommitdiffstats
path: root/divers/test/bidouille-unicode.tex
diff options
context:
space:
mode:
Diffstat (limited to 'divers/test/bidouille-unicode.tex')
-rw-r--r--divers/test/bidouille-unicode.tex30
1 files changed, 30 insertions, 0 deletions
diff --git a/divers/test/bidouille-unicode.tex b/divers/test/bidouille-unicode.tex
new file mode 100644
index 0000000..037cbe5
--- /dev/null
+++ b/divers/test/bidouille-unicode.tex
@@ -0,0 +1,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}