Fonts & Character SetsJapanese and rubysep

Information and discussion about fonts and character sets (e.g. how to use language specific characters)
Post Reply
Miyuki
Posts: 1
Joined: Tue Mar 29, 2011 1:57 am

Japanese and rubysep

Post by Miyuki »

Hello!

I'm making a japanese exam and I need to write in the same character two ruby (one up and one down).
I'm not sure how to make it.
First, I had to change rubysep redefining for all document:

\renewcommand{\rubysize}{0.7}
\renewcommand{\rubysep}{-0.1ex}


With these parameters I can write over the "Kanji" I want but need to add more text in the inferior part. (I can change \rubysep to -9ex from the beggining but I will have the opposite problem :cry: )
I thought to use \newcommand to create a new macro, working in the same way as \ruby but with \rubysep{-9ex}.
Anyway, it doesn't work because I'm not sure how to use \rubysep again.
\newcommand{\rd}[2]{\rubysep{-9ex}\ruby{#1}{#2}} :oops:
I need some help please.
Thank you so much for your time.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Post Reply