Last active
May 28, 2022 03:39
-
-
Save munepi/5c9e53936e3540b8374b4ab14e6b7832 to your computer and use it in GitHub Desktop.
\futureletのお勉強で作った漢文訓点スタイル https://qiita.com/munepi/items/5e6ac49fa5c025123305
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
We have moved this project to https://github.com/munepi/gckanbun. |
コメントをありがとうございます。
gckanbun.sty
で提供される \ruby
は、ルビ分の幅を0にしている(\smash
)しているので、お示しの結果になりますね。
なので、
gckanbun.sty
で提供される\ruby
を何らか改修する(ルビ分の幅の考慮)luatexja-ruby.sty
で提供される\ruby
(実態は、\ltjruby
)に対して、漢文訓点の実装を行う
などをやる必要がありますね。
あなたの反応をありがとうございました。
私はすでに一時的な解決策を採用していした。「gckanbun」から「\ruby」の名前を「\ kanbunruby」に変更し、今、矛盾はありません。
Hello @JPRidgeway ,
I have moved this project to https://github.com/munepi/gckanbun and have released v1.0.
Also, I just have uploaded gckanbun package to CTAN!!
FYI @JPRidgeway ,
When releasing gckanbun.sty
v1.0, I added prefix=<prefix>
option below:
%\usepackage{gckanbun}%%=> provides \gckanbunruby, \gckanbunokurigana, \gckanbunkaeriten as default
\usepackage[prefix=]{gckanbun}%%=> provides \ruby, \okurigana, \kaeriten
%\usepackage[prefix=kanbun]{gckanbun}%%=> provides \kanbunruby, \kanbunokurigana, \kanbunkaeriten
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
gckanbunをluatexjaのテーブルと互換性があるようにするにはどうすればよいですか。この例は_gckanbun.sty_なしです:
これは_\usepackage{gckanbun}_を追加するだけです:
通常のふりがなは壊れています!