2 \documentclass{ltjarticle}
3 \usepackage[margin=20mm]{geometry}
5 \noindent 漢字漢字ちょっと\textgt{チェック}
8 「あいうえお」\textgt{「かきくけこ」}{\Large 「}
10 次ページ以下の例は「\texttt{min10}フォントについて」(乙部厳己)中のp.~8から拝借.
11 \def\g#1#2#3{\leavevmode\vbox{\hsize=100pt%
12 \hrule height 1pt depth 0pt
13 \vskip#3pt\hbox{\vrule width 40pt height 0.2pt depth 0.2pt\kern-40pt
14 \jfont\e=file:#1:jfm=#2 at 20pt\e あいう◆漢}\vskip-#3pt
15 \hrule height 0pt depth 1pt}: #1, jfm=#2, yjabaselineshift=#3pt\par\bigskip}
18 \paragraph{valign.luaなし}\
20 \g{KozGoPr6N-Medium.otf}{ujis}{0}
21 \g{KozGoPr6N-Medium.otf}{jis}{0.7563636}
22 \g{KozGoPr6N-Medium.otf}{jis}{0}
23 \g{ipaexg.ttf}{ujis}{0}
24 \g{ipaexg.ttf}{jis}{0.7563636}
25 \g{ipaexg.ttf}{jis}{0}
26 \g{hgrgm.ttc}{ujis}{0}
28 \g{hgrgm.ttc}{jis}{0.7563636}
30 \g{KozGoPr6N-Medium.otf}{test2}{0}
31 \g{ipaexg.ttf}{test2}{0}
32 \g{hgrgm.ttc}{test2}{0}
35 \directlua{dofile('valign.lua')}
36 \paragraph{valign.luaあり}\
38 \g{KozGoPr6N-Medium.otf}{ujis}{0}
39 \g{KozGoPr6N-Medium.otf}{jis}{0.7563636}
40 \g{KozGoPr6N-Medium.otf}{jis}{0}
41 \g{ipaexg.ttf}{ujis}{0}
42 \g{ipaexg.ttf}{jis}{0.7563636}
43 \g{ipaexg.ttf}{jis}{0}
44 \g{hgrgm.ttc}{ujis}{0}
46 \g{hgrgm.ttc}{jis}{0.7563636}
48 \g{KozGoPr6N-Medium.otf}{test2}{0}
49 \g{ipaexg.ttf}{test2}{0}
50 \g{hgrgm.ttc}{test2}{0}