Documentation

  • Demos
  • Visit our website
  • Contact us
  • MathType

    • Wiris Quizzes

      • Learning Lemur

        • CalcMe

          • MathPlayer

            • Store FAQ

              • VPAT for the electronic documentation

                • MathFlow

                  • BF FAQ

                    • Miscellaneous

                      • Wiris Integrations

                        • Home
                        • MathFlow
                        • Tutorials
                        • Tutorials

                        Using MathFlow templates

                        Reading time: 1min

                        Continuing with the equation in the previous section, x+y=9, delete y and move the cursor into position as if you were going to replace it with something else. Select Scripts from the Insert menu, and then click Superscript. You can also select the superscript template from the Layout Templates button (the first one on the toolbar).

                        After you have inserted the superscript template, your cursor will flash inside the template box where the base expression should appear. This time enter "x" instead of "z".

                        Now press the right arrow key a few times. Notice how the cursor and the faint gray box change to show your position, first within the superscript template, and then within the whole equation.

                        As you move around in an equation, the MathML Ancestry to the right of the Style pane tells what kind of template the cursor is in, and what its "ancestor" templates are. The format of the message is

                        … <grandparent> : <parent> : <cursor>
                        

                        For example, if you position the cursor at the beginning of the equation, the cursor is on x and the display will be

                        <math> : <mrow> : <mi>
                        

                        What this means is x is within an <mi> element which is in an <mrow> element which is, in turn, inside a

                        <samp><math></samp>

                        element. The

                        <samp><math></samp>

                        element is always the last element in the ancestor hierarchy and all other tags must stay inside of it.

                        Next, fill in the superscript template blank, which is a black-outlined square just above and to the right of the x you typed in. You can use the mouse or the arrow keys to move to the template blank, or from anywhere in the equation you can use Tab to jump straight to the next open template position. Fill out the template so your equation becomes x+x2=9.

                        Was this article helpful?

                        Yes
                        No
                        Give feedback about this article

                        Related Articles

                        • String substitution
                        • Volume
                        • Table
                        • Importing/Exporting MathML

                        Making people’s STEM work more meaningful

                        MathType

                        • MathType for Office Tools
                        • MathType for Mac
                        • MathType for Microsoft 365
                        • MathType for Google Workspace
                        • MathType for LMS
                        • MathType for XML Editors
                        • Arabic notation
                        • Our products accessibility
                        • MathType is online

                        WirisQuizzes

                        Learning Lemur

                        Solutions for Education

                        • Blackboard Learn
                        • Brightspace by D2L
                        • Canvas
                        • Google Classroom
                        • Moodle
                        • Schoology

                        Solutions for Publishing Houses

                        Solutions for Technical Writers

                        Solutions for Chemistry

                        Integrations

                        • HTML Editors
                        • MathType in WordPress

                        Pricing

                        Company

                        Careers

                        Blog

                        Contact Us

                        Buy Now

                        Plugin Downloads

                        © Wiris 2025

                        • Cookie Settings
                        • Cookie Policy
                        • Terms of Use
                        • Privacy Policy / GDPR
                        • Student Data Privacy
                        • Compliance
                        • Powered by Helpjuice
                        Expand