--- /dev/null
+%!
+/pdfmark where{pop}
+{/globaldict where{pop globaldict}{userdict}ifelse/pdfmark/cleartomark load put}
+ifelse
+[
+/Title(\376\377\122\051\000|\165\050\000|\145\271\000|\154\325\060\212\000|\060\210\060\106\000|\060\173\060\106\000|\060\173\060\106)
+/Count -3
+/Action/GoTo/Dest(section.1)cvn
+/OUT pdfmark
+[
+/Title(\376\377\165\050\000|\212\236\060\210\060\106\000|\060\124)
+/Action/GoTo/Dest(subsection.1.1)cvn
+/OUT pdfmark
+[
+/Title(\376\377\124\175\000|\116\344\060\201\060\104\000|\060\214\060\104)
+/Action/GoTo/Dest(subsection.1.2)cvn
+/OUT pdfmark
+[
+/Title(\376\377\060\260\060\353\060\374\060\327\060\156\143\007\000|\133\232\060\127\000|\060\146\060\104)
+/Action/GoTo/Dest(subsection.1.3)cvn
+/OUT pdfmark
+[
+/Title(\376\377\154\350\000|\141\017\000|\160\271\060\141\060\206\060\106\000|\060\104\000|\060\146\060\223)
+/Action/GoTo/Dest(section.2)cvn
+/OUT pdfmark
+[
+/Title(\376\377\133\237\000|\210\305\060\130\060\144\000|\060\135\060\106\060\153\060\144\060\104\060\146)
+/Action/GoTo/Dest(section.3)cvn
+/OUT pdfmark
+[
+/Title(\376\377\060\104\060\117\060\144\060\113\060\156\117\213)
+/Action/GoTo/Dest(section.4)cvn
+/OUT pdfmark
+[
+/Title(\376\377\060\016\145\345\147\054\212\236\175\104\162\110\121\346\164\006\060\156\211\201\116\366\060\017\0002\0000\0001\0002\0000\0004\0000\0003\060\156\117\213)
+/Action/GoTo/Dest(section.5)cvn
+/OUT pdfmark
{本}{ほん}}
\end{LTXexample}
\item[ybaseheight=<real>] 非負の値が指定された場合,
- \emph{縦組以外での}ルビの親文字の高さを全角高さの<real>倍と強制的に固定する.
+ \emph{縦組以外での}親文字の高さを親文字全角の<real>倍と強制的に固定する.
負の値が指定された場合は「固定しない」(すなわち,v0.3より前の挙動と同じになる).
- 既定値は0.88.
-\item[tbaseheight=<real>] \texttt{ybaseheight}と同様だが,こちらは\emph{縦組での}ルビの親文字の高さを指定する.
- 既定値は0.5.
+ 既定値は$0.88$.
+\item[tbaseheight=<real>] \texttt{ybaseheight}と同様だが,こちらは\emph{縦組での}親文字の高さを指定する.
+ 既定値は$0.5$.
\item[baseheight=<real>] \texttt{ybaseheight},\texttt{tbaseheight}を同時に指定したことと同義.
\begin{LTXexample}[width=0.3\textwidth, preset=\Large]
\noindent
\ltjruby[baseheight=-1]{本}{ほん}\
\ltjruby[baseheight=-1]{dvi}{ディーヴィーアイ}
\end{LTXexample}
+\item[yrubydepth=<real>] 非負の値が指定された場合,
+ \emph{縦組以外での}ルビの深さをルビ全角の<real>倍と強制的に固定する.
+ 負の値が指定された場合は「固定しない」(すなわち,v0.52以前の挙動と同じになる).
+ 既定値は$0.12$.
+\item[trubydepth=<real>] \texttt{yrubydepth}と同様だが,こちらは\emph{縦組での}ルビの深さを指定する.
+ 既定値は$0.5$.
+\item[rubydepth=<real>] \texttt{yrubydepth},\texttt{trubydepth}を同時に指定したことと同義.
+\begin{LTXexample}[width=0.3\textwidth, preset=\Large]
+\noindent
+\ltjruby[rubydepth=0.12]{◆}{ほん}\
+\ltjruby[rubydepth=0.12]{◆}{pdf}\
+\ltjruby[rubydepth=0.12]{◆}{dvi}\\
+\ltjruby[rubydepth=0]{◆}{ほん}\
+\ltjruby[rubydepth=0]{◆}{pdf}\
+\ltjruby[rubydepth=0]{◆}{dvi}\\
+\ltjruby[rubydepth=-1]{◆}{ほん}\
+\ltjruby[rubydepth=-1]{◆}{pdf}\
+\ltjruby[rubydepth=-1]{◆}{dvi}
+\end{LTXexample}
<option>の既定値を指定する.\textsf{luatexja-ruby}読み込み時の値は
各項目の所で既に説明してあるが,次のようになっている.
\begin{verbatim}
- pre=-1, post=-1, mode=1,
+ pre=-1, post=-1, mode=1,
stretchruby={1}{2}{1}, stretch = {1}{2}{1},
stretchbol={0}{1}{1}, stretcheol={1}{1}{0},
maxmargin=0.5, size=0.5, intergap=0, rubysmash=false,
kenten=\textbullet, fontcmd=\relax, ybaseheight=0.88, tbaseheight=0.5,
+ yrubydepth=0.12, trubydepth=0.5,
intrude_jfmgk, intrude_kanjiskip, intrude_xkanjiskip
\end{verbatim}
% LaTeX only!
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{luatexja-ruby}[2021-05-17 v0.52]
+\ProvidesPackage{luatexja-ruby}[2022-06-26 v0.53]
\RequirePackage{luatexja}
%%------------------
\ltjsetparameter{rubypreintrusion={-1,1}}
\setkeys[ltj]{ruby}{
- pre=-1, post=-1, mode=1,
+ pre=-1, post=-1, mode=1,
stretchruby={1}{2}{1}, stretch = {1}{2}{1},
stretchbol={0}{1}{1}, stretcheol={1}{1}{0},
maxmargin=0.5, size=0.5, intergap=0, rubysmash=false,
kenten=\textbullet, fontcmd=\relax, ybaseheight=0.88, tbaseheight=0.5,
- yrubydepth=-1, trubydepth=-1,
+ yrubydepth=0.12, trubydepth=0.5,
intrude_jfmgk, intrude_kanjiskip, intrude_xkanjiskip,
epsilon=0.0001,
}