Skip to content

Commit 936b6d8

Browse files
committed
docs(manual): Rephrase "ex" unit and add "cap" unit description
1 parent 01eb1e9 commit 936b6d8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

documentation/c04-useful.sil

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ As you can see, one possible attribute is \code{size}, which can be specified as
5151
A \code{<dimension>} is like a \code{<basic length>} (described above) but with a few extra possible dimensions.
5252
There are dimensions which are relative to the size of the \em{current} font: an \code{em} is the size of the font’s current em square (for a 12pt font, this would be 12 points);
5353
an \code{en} is half the em square;
54-
an \code{ex} is the height of the character ‘x’;
54+
an \code{ex} is the ‘x-height’ of the font (roughly the height of lowercase letters without ascenders or descenders);
55+
a \code{cap} is the ‘cap-height’ of the font (roughly the height of uppercase letters),
5556
a \code{spc} is the width of the space character.
5657

5758
There are also dimensions which are defined as a percentage of the size of the current page width or height, the current frame width or height, and the line width (\code{\%pw}, \code{\%ph}, \code{\%fw}, \code{\%fh}, and \code{\%lw}, respectively).

0 commit comments

Comments
 (0)