Difference between revisions of "Documentation/FAQ/Formula/How do I change the font of a subformula?"

From Apache OpenOffice Wiki
Jump to: navigation, search
Line 39: Line 39:
  
 
{{Documentation/SeeAlso|
 
{{Documentation/SeeAlso|
* [[How_do_I_change_the_fonts_used_in_my_formula?|How do I change the fonts used in my formula?]] to change the fonts used in ''Math'' }}  
+
* [[Documentation/FAQ/Formula/How do I change the fonts used in my formula?|How do I change the fonts used in my formula?]] to change the fonts used in ''Math'' }}  
 
<section end=answer/>
 
<section end=answer/>
  
 
[[Category:Documentation/FAQ/Formula]]
 
[[Category:Documentation/FAQ/Formula]]

Revision as of 14:10, 7 April 2009


How do I change the font of a subformula?


You can use one of the following font attributes:

  • italic a typesets a in italic shape.
  • so does ital a.
  • nitalic a typesets a in upright shape (abbreviation for not italic).
  • bold a typesets a in boldface.
  • nbold a typesets a with normal weight (abbreviation for not bold).


In addition Math uses a set of three generic font families, which are used as follows:

  • font serif a typesets a in a serifed font, usually Times.
  • font sans a typesets a in a sans serif font, usually Helvetica or Arial.
  • font fixed a typesets a in a fixed-width font, usually Courier.


Font attributes can be combined as in this example:

Enter bold font sans A to get A.


You can apply font attributes to an entire subformula if you group it with { } or other brackets. Example:

Enter a b bold {c d} e to typeset abcde.


When several font attributes are applied, the innermost takes precedence as shown in this example:

Enter bold {a b nbold c d} to get abcd.


Template:Documentation/SeeAlso

Personal tools