The Pango Markup Language - Quick Reference

Tags

Tags Description Examples Sample Output
b bold <b>string</b> string
i italic <i>string</i> string
u underline <u>string</u> string
s strikethrough <s>string</s> string
tt monospace font <tt>string</tt> string
sub subscript x<sub>1</sub> + x<sub>2</sub> x1 + x2
sup superscript E = mc<sup>2</sup> E = mc2
big Makes font relatively larger string <big>string</big> string string
small Makes font relatively smaller string <small>string</small> string string
 

<Span> Attributes

  1. font_desc: font description
    Example:
    • <span font_desc="Verdana">string</span>
    • <span font_desc="24">string</span>
    • <span font_desc="Verdana 24">string</span>
     
  2. Style: 'normal', 'oblique' or 'italic'

  3.  
  4. Weight: 'ultralight', 'light', 'normal', 'bold', 'ultrabold', 'heavy', or a numeric weight
  5.  
  6. foreground: foreground color in RGB hexadecimal notation e.g. '#FFFF00' for yellow.
  7.  
  8. background: background color in RGB hexadecimal notation e.g. '#0000FF' for blue.
  9.  
  10. underline: 'none', 'single', 'double', 'low' or 'error'
  11.  
  12. underline_color: underline_color in RGB hexadecimal notation e.g. '#0000FF' for blue.
  13.  

Search This Site

Google
Web This Site

Search PHP-GTK2 Manual

Full-text search on php-gtk2 manual

Members Login

Username:
Password:
Key:
What is this?
  Forget Password?