Reword docs for math.cancel (#4444)

This commit is contained in:
AnarchistHoneybun 2024-07-06 15:10:12 +05:30 committed by GitHub
parent 8c3002897a
commit 82f13d9a38
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -65,13 +65,13 @@ pub struct CancelElem {
/// How much to rotate the cancel line.
///
/// - If given an angle, the line is rotated by that angle clockwise with
/// respect to the y-axis.
/// - If `{auto}`, the line assumes the default angle; that is, along the
/// diagonal line of the content box.
/// - If given an angle, the line is rotated by that angle clockwise w.r.t
/// the y-axis.
/// - If given a function `angle => angle`, the line is rotated by the angle
/// returned by that function. The function receives the default angle as
/// its input.
/// rising diagonal of the content box.
/// - If given a function `angle => angle`, the line is rotated, with
/// respect to the y-axis, by the angle returned by that function. The
/// function receives the default angle as its input.
///
/// ```example
/// >>> #set page(width: 140pt)