Wiris

Documentation

  • Demos
  • Visit our website
  • Contact us
  • MathType

    • WirisQuizzes

      • LearningLemur

        • CalcMe

          • MathPlayer

            • Store FAQ

              • VPAT for the electronic documentation

                • MathFlow

                  • BF FAQ

                    • Miscellaneous

                      • Wiris Integrations

                        • Home
                        • MathPlayer
                        • MathML 3
                        • The big changes
                        • The big changes

                        Bidirectional layout support

                        Reading time: 1min

                        Mathematical notation is mostly consistent around the world. However, there are some notations that differ depending upon the language/locale such as "." versus "," for a decimal separator and "tan" (English) versus "tg" (French) for the tangent function. For people who want to produce language-independent MathML, content MathML smoothes over these differences and presentation MathML allows these specific notations to be encoded.

                        In Arabic countries, mathematical notation is written right-to-left using the same alphabetic characters. MathML 3 now makes it possible to encode right-to-left notations in presentation MathML. MathML 3 adds a dir attribute to control whether layout is left-to-right or right-to-left (see Section 3.1.5 of the MathML 3 recommendation for details). MathML 3 also introduces some mathvariant values for handling different styles of Arabic characters (see Section 3.2.2).

                        Here are two examples of Arabic math that use right-to-left notation (note: numbers are still left-to-right in Arabic math notation):

                        Square root Long division

                        Was this article helpful?

                        Give feedback about this article

                        Related Articles

                        • Bidimensional symbols
                        • Symbols
                        • Brackets
                        • Elementary math

                        Empowering STEM education

                        MathType

                        • Office Tools
                        • LMS
                        • XML
                        • HTML

                        WirisQuizzes

                        Learning Lemur

                        Integrations

                        Solutions

                        • Education
                        • Publishing houses – platforms and interactive
                        • Publishing houses – Print and digital
                        • Technical writers

                        Pricing

                        Downloads

                        Blog

                        • Success stories

                        About us

                        • Careers
                        • Partnership

                        Contact Us

                        Contact Sales

                        European union (European Regional Development Fund) and 1EdTech (TrustEd Apps Certified)
                        • Cookie Policy
                        • Terms of Use
                        • Privacy Policy / GDPR
                        • Student Data Privacy
                        • Compliance
                        • Cookie Settings

                        © Wiris 2026

                        Expand