wp-Typography includes the ability to format certain character types, including:
- numbers (class “numbers”)
- ampersands (class “amp”)
- uppercase words (class “caps”)
- initial single quotes (class “quo”)
- initial double quotes (class “dquo”)
- fractions (“sup” and “sub” HTML elements)
- ordinal suffixes (“sup” HTML element)
Here is some example CSS that can be used in conjunction with wp-Typography:
sup {
vertical-align: 60%;
font-size: 75%;
line-height: 100%;
}
sub {
vertical-align: -10%;
font-size: 75%;
line-height: 100%;
}
.amp {
font-family: Baskerville, "Goudy Old Style", "Palatino", "Book Antiqua", "Warnock Pro", "Goudy Old Style", serif;
font-weight: normal;
font-style: italic;
font-size: 1.1em;
line-height: 1em;
}
.caps {
font-size: 90%;
}
.dquo {
margin-left:-.40em;
}
.quo {
margin-left:-.2em;
}
.numbers {
/* lowercase numbers for body text */
font-family: Georgia, serif;
}
h1 .numbers, h2 .numbers, h3 .numbers, h4 .numbers, h5 .numbers, h6 .numbers {
/* uppercase numbers for headings */
font-family: "Century Schoolbook", serif;
}

