I wonder if this is a bug in CJKvert or the font/encoding? When I want
to typeset a Japanese postal code in the vertical, I find that the
joining hyphen is not transformed. I have tried three different
hyphens:ー (as below),− and - (this one is transformed but not centered)
\documentclass[11pt,unit,a4paper]{article}
\usepackage{CJKutf8}
\usepackage{CJKvert}
\usepackage[overlap, CJK]{ruby}
\usepackage{CJKulem}
\renewcommand{\rubysep}{-0.2ex}
\newenvironment{Japanese}{%
\CJKfamily{min}%
\CJKtilde
\CJKnospace}{}
\pagestyle{empty}
\begin{document}
\begin{CJK}{UTF8}{}
\begin{Japanese}
{\CJKhorz 〒564ー0041} % correct for horizontal writing
〒564ー0041 % incorrect: hyphen is not transformed
〒564−0041 % incorrect: hyphen is not transformed
〒564-0041 % incorrect: hyphen is not transformed
大阪府吹田市泉町
四丁目三八番二四号
木下\ 良一\ 先生
\end{Japanese}
\end{CJK}
\end{document}
--
BOFH excuse #97:
Small animal kamikaze attack on power supplies
_______________________________________________
Cjk maillist - [email protected]
https://lists.ffii.org/mailman/listinfo/cjk