diff options
| author | Leedehai <18319900+Leedehai@users.noreply.github.com> | 2023-04-28 12:49:51 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-28 18:49:51 +0200 |
| commit | 1efbcad46ee9672fc2f6ca312c7c1ba941a603e1 (patch) | |
| tree | 23a69f97e97ec7e413a7f2fe822c857cecc15857 /library | |
| parent | b0c088740e821dddc6b8cbb4e1c35df6acdfbee9 (diff) | |
Slight improvement to attach.rs's doc (#996)
Diffstat (limited to 'library')
| -rw-r--r-- | library/src/math/attach.rs | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/library/src/math/attach.rs b/library/src/math/attach.rs index 9e01ea6b..e4fad470 100644 --- a/library/src/math/attach.rs +++ b/library/src/math/attach.rs @@ -10,7 +10,7 @@ use super::*; /// // With function call. /// $ attach( /// Pi, t: alpha, b: beta, -/// tl: 1, tr: 2, bl: 3, br: 4, +/// tl: 1, tr: 2+3, bl: 4+5, br: 6, /// ) $ /// ``` /// @@ -34,8 +34,10 @@ pub struct AttachElem { pub t: Option<Content>, /// The bottom attachment, smartly positioned at the bottom-right or below - /// the base. You can wrap the base in `{limits()}` or `{scripts()}` to - /// override the smart positioning. + /// the base. + /// + /// You can wrap the base in `{limits()}` or `{scripts()}` to override the + /// smart positioning. pub b: Option<Content>, /// The top-left attachment (before the base). |
