demo · v140

Equation Toggle

Four real equations rendered in LTR and RTL side-by-side. The brackets, arrows, integral signs and inequality signs all flip in the RTL version — the surrounding text reads right-to-left and the math finally agrees.

Pythagorean — equality, plus and superscripts (symmetric)

a2+b2=c2
أ2+ب2=ج2

Inequality — < and > flip

x<y+3
س<ص+3

Definite integral — limits and integral sign flip

01f(x)dx
01د(س)دس

Arrow chain — arrows flip, identity stays

ABC=A
أبج=أ
<math dir="rtl">
  <msubsup><mo>&int;</mo><mn>0</mn><mn>1</mn></msubsup>
  <mi>د</mi><mo>(</mo><mi>س</mi><mo>)</mo>
</math>

see also

scenario focus

Select a scenario to focus its rendered example and summary.