\documentclass{article}
\textheight240mm
\topmargin-10mm
\pagestyle{empty}
\begin{document}
\parindent0pt
\kanjiskip=0zw plus .5zw minus -.05zw
\edef\bs{$\backslash$\kern0em}

\jcharwidowpenalty=10000

(1) \bs jcharwidowpenalty$B"*(B10000\\
\fbox{\parbox{32.5zw}{%
$B?M$NL\$NFO$+$L$H$3$m$KCn$O@x$_!"(B
$B?M$N<j$NFO$+$L$H$3$m$KCn$O@3$_$^$9!#(B}}

\fbox{\parbox{32.5zw}{%
$B?M$NL\$NFO$+$L$H$3$m$KCn$O@x$_!$(B
$B?M$N<j$NFO$+$L$H$3$m$KCn$O@3$_$^$9!%(B}}

\fbox{\parbox{32.5zw}{%
$B?M$NL\$NFO$+$L$H$3$m$KCn$O@x$_!"(B
$B?M$N<j$NFO$+$L$H$3$m$KCn$O@3$_$^$9(B}}

\kcatcode`$B$9(B=18% other_kchar

(2) $B$+$J"*(Bother\_kchar\\
\fbox{\parbox{32.5zw}{%
$B?M$NL\$NFO$+$L$H$3$m$KCn$O@x$_!"(B
$B?M$N<j$NFO$+$L$H$3$m$KCn$O@3$_$^$9!#(B}}

\fbox{\parbox{32.5zw}{%
$B?M$NL\$NFO$+$L$H$3$m$KCn$O@x$_!$(B
$B?M$N<j$NFO$+$L$H$3$m$KCn$O@3$_$^$9!%(B}}

\fbox{\parbox{32.5zw}{%
$B?M$NL\$NFO$+$L$H$3$m$KCn$O@x$_!"(B
$B?M$N<j$NFO$+$L$H$3$m$KCn$O@3$_$^$9(B}}

\kcatcode`$B$9(B=16% kanji

(3) $B$+$J"*(Bkanji\\
\fbox{\parbox{32.5zw}{%
$B?M$NL\$NFO$+$L$H$3$m$KCn$O@x$_!"(B
$B?M$N<j$NFO$+$L$H$3$m$KCn$O@3$_$^$9!#(B}}

\fbox{\parbox{32.5zw}{%
$B?M$NL\$NFO$+$L$H$3$m$KCn$O@x$_!$(B
$B?M$N<j$NFO$+$L$H$3$m$KCn$O@3$_$^$9!%(B}}

\fbox{\parbox{32.5zw}{%
$B?M$NL\$NFO$+$L$H$3$m$KCn$O@x$_!"(B
$B?M$N<j$NFO$+$L$H$3$m$KCn$O@3$_$^$9(B}}


\kcatcode`$B$9(B=17% kana
\kcatcode`$B!#(B=18% other_kchar
\kcatcode`$B!%(B=17% kana

(4) $B$+$J"*(Bkana, $B!V!#!W"*(Bother\_kchar, $B!V!%!W"*(Bkana\\
\fbox{\parbox{32.5zw}{%
$B?M$NL\$NFO$+$L$H$3$m$KCn$O@x$_!"(B
$B?M$N<j$NFO$+$L$H$3$m$KCn$O@3$_$^$9!#(B}}

\fbox{\parbox{32.5zw}{%
$B?M$NL\$NFO$+$L$H$3$m$KCn$O@x$_!$(B
$B?M$N<j$NFO$+$L$H$3$m$KCn$O@3$_$^$9!%(B}}

\fbox{\parbox{32.5zw}{%
$B?M$NL\$NFO$+$L$H$3$m$KCn$O@x$_!"(B
$B?M$N<j$NFO$+$L$H$3$m$KCn$O@3$_$^$9(B}}


\kcatcode`$B$9(B=17% kana
\kcatcode`$B!#(B=17% kana
\kcatcode`$B!%(B=18% other_kchar

(5) $B$+$J"*(Bkana, $B!V!#!W"*(Bkana, $B!V!%!W"*(Bother\_kchar\\
\fbox{\parbox{32.5zw}{%
$B?M$NL\$NFO$+$L$H$3$m$KCn$O@x$_!"(B
$B?M$N<j$NFO$+$L$H$3$m$KCn$O@3$_$^$9!#(B}}

\fbox{\parbox{32.5zw}{%
$B?M$NL\$NFO$+$L$H$3$m$KCn$O@x$_!$(B
$B?M$N<j$NFO$+$L$H$3$m$KCn$O@3$_$^$9!%(B}}

\fbox{\parbox{32.5zw}{%
$B?M$NL\$NFO$+$L$H$3$m$KCn$O@x$_!"(B
$B?M$N<j$NFO$+$L$H$3$m$KCn$O@3$_$^$9(B}}


\jcharwidowpenalty=0
\kcatcode`$B$9(B=17% kana

(6) \bs jcharwidowpenalty$B"*(B0\\
\fbox{\parbox{32.5zw}{%
$B?M$NL\$NFO$+$L$H$3$m$KCn$O@x$_!"(B
$B?M$N<j$NFO$+$L$H$3$m$KCn$O@3$_$^$9!#(B}}

\fbox{\parbox{32.5zw}{%
$B?M$NL\$NFO$+$L$H$3$m$KCn$O@x$_!$(B
$B?M$N<j$NFO$+$L$H$3$m$KCn$O@3$_$^$9!%(B}}

\fbox{\parbox{32.5zw}{%
$B?M$NL\$NFO$+$L$H$3$m$KCn$O@x$_!"(B
$B?M$N<j$NFO$+$L$H$3$m$KCn$O@3$_$^$9(B}}


\end{document}
