Skip to content
Discussion options

You must be logged in to vote

So now that SILE 0.15.10 is available, we should be able to answer the question fully.

Relative font size can be expressed in a font-relative unit.

  • 1em = the current font size
  • (1en = 0.5em)
  • 1ex = the height of an "x" in the current font.

The em is the most used e.g. for bigger title headings, smaller block quotes, etc.
So if you had, say, a current font at 10pt, and then use \font[size=0.9em]{smaller}, the "smaller text" will now 90% smaller, hence at 9pt.

The ex unit expresses a size relative to the x-height and is also sometimes used, mostly for scaling and raising characters in the same font. A poor's man superscript 1 could for instance be \raise[height=0.7ex]{\font[size=1.5ex]{1}} …

Replies: 2 comments 8 replies

Comment options

You must be logged in to vote
8 replies
@Omikhleia
Comment options

@Omikhleia
Comment options

@Omikhleia
Comment options

@Omikhleia
Comment options

Answer selected by davidchisnall
@Omikhleia
Comment options

@Omikhleia
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants