Sample XHTML 1.1 plus MathML 2.0 plus SVG 1.1 document

Contents

XHTML 1.1 sample (ruby)

Simple ruby, with rp fall-back Simple ruby, without rp fall-back Complex ruby Complex ruby, with multiple ruby texts
斎藤信男 (さいとうのぶお) 斎藤信男 さいとうのぶお さいとうのぶ

Multilingual ruby example: Hebrew base (right-to-left) with Japanese katakana ruby (right-to-left, quite unusual but occasionally used) and English ruby (left-to-right)

אדם アーダーム Adam

MathML sample

Math expression y = 1 x 2 + 1 inside an XHTML paragraph.

Math expression in display style:

det | c 0 c 1 c 2 c n c 1 c 2 c 3 c n + 1 c 2 c 3 c 4 c n + 2 c n c n + 1 c n + 2 c 2 n | > 0

SVG sample

A star

Mixed sample

XHTML and MathML inside SVG (via foreignObject):

Inside the foreignObject element, math expression like y = 1 x 2 + 1 can be put inside XHTML as well as ruby like WWW World Wide Web .

The base direction of the following paragraph is rtl.

אדם アーダーム Adam

Display math inside SVG:

det | c 0 c 1 c 2 c n c 1 c 2 c 3 c n + 1 c 2 c 3 c 4 c n + 2 c n c n + 1 c n + 2 c 2 n | > 0