Difference between revisions of "Documentation/FAQ/Formula/How do I change the size of a subformula?"
From Apache OpenOffice Wiki
< Documentation | FAQ | Formula
m |
|||
Line 8: | Line 8: | ||
There are five variants of the size-changing command: | There are five variants of the size-changing command: | ||
− | *<font color="brown">'''size 20 a '''</font>typesets '''a''' with the font size 20 pt. | + | *<font color="brown">'''size 20 a'''</font> typesets '''a''' with the font size 20 pt. |
− | *<font color="brown">'''size +5 a '''</font>typesets '''a''' with current font size plus 5pt. | + | *<font color="brown">'''size +5 a'''</font> typesets '''a''' with current font size plus 5pt. |
− | *<font color="brown">'''size -5 a '''</font>typesets '''a''' with current font size minus 5pt. | + | *<font color="brown">'''size -5 a'''</font> typesets '''a''' with current font size minus 5pt. |
− | *<font color="brown">'''size *1.5 a '''</font>typesets '''a''' with current font size multiplied by 1.5. | + | *<font color="brown">'''size *1.5 a'''</font> typesets '''a''' with current font size multiplied by 1.5. |
− | *<font color="brown">'''size /1.5 a '''</font>typesets '''a''' with current font size divided by 1.5. | + | *<font color="brown">'''size /1.5 a'''</font> typesets '''a''' with current font size divided by 1.5. |
You can change the font size of an entire subformula if you group it with<font color="brown">''' { } '''</font>or other brackets. Example: | You can change the font size of an entire subformula if you group it with<font color="brown">''' { } '''</font>or other brackets. Example: | ||
− | Enter<font color="brown">''' a b size *2 {c d} e '''</font>to typeset ab<FONT SIZE=6>cd</FONT>e. | + | Enter <font color="brown">'''a b size *2 {c d} e'''</font> to typeset ab<FONT SIZE=6>cd</FONT>e. |
When several font size changes are applied, the innermost takes precedence as shown in this example: | When several font size changes are applied, the innermost takes precedence as shown in this example: | ||
− | Enter<font color="brown">''' size *1.5 {a size 12 b size *1.5 c d} '''</font>to get <FONT SIZE=5>a<FONT SIZE=3>b</FONT><FONT SIZE=6>c</FONT>d</FONT>. | + | Enter <font color="brown">'''size *1.5 {a size 12 b size *1.5 c d}'''</font> to get <FONT SIZE=5>a<FONT SIZE=3>b</FONT><FONT SIZE=6>c</FONT>d</FONT>. |
Latest revision as of 14:03, 7 October 2021
How do I change the size of a subformula?
There are five variants of the size-changing command:
- size 20 a typesets a with the font size 20 pt.
- size +5 a typesets a with current font size plus 5pt.
- size -5 a typesets a with current font size minus 5pt.
- size *1.5 a typesets a with current font size multiplied by 1.5.
- size /1.5 a typesets a with current font size divided by 1.5.
You can change the font size of an entire subformula if you group it with { } or other brackets. Example:
Enter a b size *2 {c d} e to typeset abcde.
When several font size changes are applied, the innermost takes precedence as shown in this example:
Enter size *1.5 {a size 12 b size *1.5 c d} to get abcd.
To change the base font size used in Math see How do I change the fonts used in my formula?