summaryrefslogtreecommitdiff
path: root/help/C/superscript.page
blob: 94acb6125d852e9aec254fa5552c1fd574e5524c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<page xmlns="http://projectmallard.org/1.0/"
      type="guide"
      id="superscript">

    <info>
        <!-- Place this at the end of the section -->
        <title type="sort">_</title>
        <link type="guide" xref="index#ui"/>
    </info>

	<title>Superscript and Subscript</title>

    <p>
    Some equations may require numbers to be entered in superscript or subscript form. e.g.
    </p>
    <example>
    <p>
    <math xmlns="http://www.w3.org/1998/Math/MathML" alttext="x³+2x²−5">
      <mrow>
        <msup>
          <mi>x</mi>
          <mn>3</mn>
        </msup>
        <mo>+</mo>
        <mrow>
          <mn>2</mn>
          <msup>
            <mi>x</mi>
            <mn>2</mn>
          </msup>
        </mrow>
        <mo>-</mo>
        <mn>5</mn>
      </mrow>
    </math>
    </p>
    </example>
    <p>
    To enter superscript numbers with the mouse select the number mode using the <gui>↑n</gui> and <gui>↓n</gui> buttons.
    When one of these modes is active clicking the number buttons will enter numbers in superscript or subscript.
    To return to normal number mode click the active button.
    </p>
    <p>
    To enter superscript numbers with the keyboard hold down <key>Ctrl</key> while entering the number.
    Hold <key>Alt</key> for subscript.
    </p>
    <p>
    The number mode returns to normal when entering the next non-number character (e.g. +).
    </p>
</page>