From 5aca6cf2a8da7220f4d22987375b70a7e73eb7eb Mon Sep 17 00:00:00 2001 From: Matthew Butterick Date: Wed, 15 Jan 2020 13:31:43 -0800 Subject: [PATCH] doc line-height-adjust --- quad/quad/scribblings/quad.scrbl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/quad/quad/scribblings/quad.scrbl b/quad/quad/scribblings/quad.scrbl index 34000e56..50d19d71 100644 --- a/quad/quad/scribblings/quad.scrbl +++ b/quad/quad/scribblings/quad.scrbl @@ -662,8 +662,9 @@ Space between characters. Value is a @tech{dimension string}. Vertical offset of font baseline (positive values move the baseline up, negative down). Value is a @tech{dimension string}. } -@defthing[#:kind "attribute" line-height symbol?]{ -Distance between baselines. Value is a @tech{dimension string}. +@deftogether[(@defthing[#:kind "attribute" line-height symbol?] + @defthing[#:kind "attribute" line-height-adjust symbol?])]{ +Two ways of setting the distance between baselines. @racket[line-height] takes a @tech{dimension string}. @racket[line-height-adjust] takes a string representing a percentage (like @racket["120%"] or @racket["1.2"]) and sets the line height to the line height of the parent, multiplied by the percentage. } TK: OT feature attributes, bullet attributes