April 27th Daily Reading ブラックジャックによろしく: Community Reading Exercise

Oh, that looks like (La)TeX formatting

… after some testing, it seems to be only the “math” subset of LaTeX that is supported (so no \ruby nor vertical writting etc);

And it doesn’t work in quotation sections

other than color, there is the \stackrel that is interesting, it takes two arguments, and stacks them up/lower, so it can be used for furigana (the syntax is simpler than the html one).

  • color: $これ{は\color{green}赤\color{red}くな}い$ : これ{は\color{green}\text{赤}\color{red}くな}い

there is no need of “text” command, nor of white space (the only need is that nothing comes before ipening “$” and nothing (or a blank) after the closing “$”).

The color goes until another color, or end of line.
To limit the color it can be enclosed in a limited scope with { }, last color will then run until the end of the scope.

That adds however code in the middle (even if not visible) that make automatic word recognition tools not recognize them (it is af it were “これは/赤/くな/い” instead of “これは赤くない”

  • furigana : $\stackrel{た}{田}\stackrel{なか}{中}さん$ : \stackrel{た}{田}\stackrel{なか}{中}さん

It does add a space at the end? (before さん)… maybe using the same without upper part ?

  • furigana : $\stackrel{た}{田}\stackrel{なか}{中}\stackrel{}{さん}$ : \stackrel{た}{田}\stackrel{なか}{中}\stackrel{}{さん} … better
  • furigana on whole word: $\stackrel{たなか}{田中}\stackrel{}{さん}$ : \stackrel{たなか}{田中}\stackrel{}{さん}

(I still don’t like furigana for reading excercises)

1 Like