mirror of
https://github.com/typst/typst
synced 2025-08-12 06:07:54 +08:00
Fix phrasing of iff (if and only if) in docs (#6713)
This commit is contained in:
parent
3119ba3104
commit
7546bfff74
@ -72,7 +72,7 @@ pub struct CurveElem {
|
||||
/// How to [stroke] the curve. This can be:
|
||||
///
|
||||
/// Can be set to `{none}` to disable the stroke or to `{auto}` for a
|
||||
/// stroke of `{1pt}` black if and if only if no fill is given.
|
||||
/// stroke of `{1pt}` black if and only if no fill is given.
|
||||
///
|
||||
/// ```example
|
||||
/// #let down = curve.line((40pt, 40pt), relative: true)
|
||||
|
@ -50,7 +50,7 @@ pub struct PathElem {
|
||||
/// How to [stroke] the path. This can be:
|
||||
///
|
||||
/// Can be set to `{none}` to disable the stroke or to `{auto}` for a
|
||||
/// stroke of `{1pt}` black if and if only if no fill is given.
|
||||
/// stroke of `{1pt}` black if and only if no fill is given.
|
||||
#[fold]
|
||||
pub stroke: Smart<Option<Stroke>>,
|
||||
|
||||
|
@ -38,7 +38,7 @@ pub struct PolygonElem {
|
||||
/// How to [stroke] the polygon. This can be:
|
||||
///
|
||||
/// Can be set to `{none}` to disable the stroke or to `{auto}` for a
|
||||
/// stroke of `{1pt}` black if and if only if no fill is given.
|
||||
/// stroke of `{1pt}` black if and only if no fill is given.
|
||||
#[fold]
|
||||
pub stroke: Smart<Option<Stroke>>,
|
||||
|
||||
|
@ -36,7 +36,7 @@ pub struct RectElem {
|
||||
/// How to stroke the rectangle. This can be:
|
||||
///
|
||||
/// - `{none}` to disable stroking
|
||||
/// - `{auto}` for a stroke of `{1pt + black}` if and if only if no fill is
|
||||
/// - `{auto}` for a stroke of `{1pt + black}` if and only if no fill is
|
||||
/// given.
|
||||
/// - Any kind of [stroke]
|
||||
/// - A dictionary describing the stroke for each side individually. The
|
||||
|
Loading…
x
Reference in New Issue
Block a user