Ruby text was originally meant to indicate proper pronunciation inline.
My name is Adám Brudzewsky, and now you even know how to pronounce it!
However, ruby text is also useful for annotating concise APL code:
FirstMatrix
+.×
SecondMatrix
:class rubySimple: MiPageSample
⍝
⍝
∇ Compose
:Access public
⍝
Add _.h3'Ruby text was originally meant to indicate proper pronunciation inline. '
myp←Add _.p'My name is '
⍝
(myp.Add _.ruby'Adám').Add _.rt'a-DAHM'
⍝
myp.Add' '
⍝
(myp.Add _.ruby'Brudzewsky').Add _.rt'broo-DJAY(O)-skee'
myp.Add', and now you even know how to pronounce it!'
Add _.h3'However, ruby text is also useful for annotating concise APL code:'
⍝
(myp←Add _.p).Add _.code'FirstMatrix'
⍝
(matmult←myp.Add _.ruby).Add _.code'+.×'
⍝
('align="center"'matmult.Add _.rt).Add¨'cross'_.br'product'
⍝
myp.Add _.code'SecondMatrix'
∇
:endclass