| 
1 | 1 | use crate::foundations::{elem, Content};  | 
2 | 2 | use crate::math::Mathy;  | 
3 | 3 | 
 
  | 
4 |  | -/// A horizontal line under content.  | 
 | 4 | +/// コンテンツの下にある水平方向の線。  | 
5 | 5 | ///  | 
6 | 6 | /// ```example  | 
7 | 7 | /// $ underline(1 + 2 + ... + 5) $  | 
8 | 8 | /// ```  | 
9 | 9 | #[elem(Mathy)]  | 
10 | 10 | pub struct UnderlineElem {  | 
11 |  | -    /// The content above the line.  | 
 | 11 | +    /// 線の上にあるコンテンツ。  | 
12 | 12 |     #[required]  | 
13 | 13 |     pub body: Content,  | 
14 | 14 | }  | 
15 | 15 | 
 
  | 
16 |  | -/// A horizontal line over content.  | 
 | 16 | +/// コンテンツの上にある水平方向の線。  | 
17 | 17 | ///  | 
18 | 18 | /// ```example  | 
19 | 19 | /// $ overline(1 + 2 + ... + 5) $  | 
20 | 20 | /// ```  | 
21 | 21 | #[elem(Mathy)]  | 
22 | 22 | pub struct OverlineElem {  | 
23 |  | -    /// The content below the line.  | 
 | 23 | +    /// 線の下にあるコンテンツ。  | 
24 | 24 |     #[required]  | 
25 | 25 |     pub body: Content,  | 
26 | 26 | }  | 
27 | 27 | 
 
  | 
28 |  | -/// A horizontal brace under content, with an optional annotation below.  | 
 | 28 | +/// コンテンツの下にある水平方向の波括弧。その下にオプションで注釈ができます。  | 
29 | 29 | ///  | 
30 | 30 | /// ```example  | 
31 | 31 | /// $ underbrace(1 + 2 + ... + 5, "numbers") $  | 
32 | 32 | /// ```  | 
33 | 33 | #[elem(Mathy)]  | 
34 | 34 | pub struct UnderbraceElem {  | 
35 |  | -    /// The content above the brace.  | 
 | 35 | +    /// 波括弧の上にあるコンテンツ。  | 
36 | 36 |     #[required]  | 
37 | 37 |     pub body: Content,  | 
38 | 38 | 
 
  | 
39 |  | -    /// The optional content below the brace.  | 
 | 39 | +    /// 波括弧の下にあるオプションのコンテンツ。  | 
40 | 40 |     #[positional]  | 
41 | 41 |     pub annotation: Option<Content>,  | 
42 | 42 | }  | 
43 | 43 | 
 
  | 
44 |  | -/// A horizontal brace over content, with an optional annotation above.  | 
 | 44 | +/// コンテンツの上にある水平方向の波括弧。その上にオプションで注釈ができます。  | 
45 | 45 | ///  | 
46 | 46 | /// ```example  | 
47 | 47 | /// $ overbrace(1 + 2 + ... + 5, "numbers") $  | 
48 | 48 | /// ```  | 
49 | 49 | #[elem(Mathy)]  | 
50 | 50 | pub struct OverbraceElem {  | 
51 |  | -    /// The content below the brace.  | 
 | 51 | +    /// 波括弧の下にあるコンテンツ。  | 
52 | 52 |     #[required]  | 
53 | 53 |     pub body: Content,  | 
54 | 54 | 
 
  | 
55 |  | -    /// The optional content above the brace.  | 
 | 55 | +    /// 波括弧の上にあるオプションのコンテンツ。  | 
56 | 56 |     #[positional]  | 
57 | 57 |     pub annotation: Option<Content>,  | 
58 | 58 | }  | 
59 | 59 | 
 
  | 
60 |  | -/// A horizontal bracket under content, with an optional annotation below.  | 
 | 60 | +/// コンテンツの下にある水平方向の角括弧。その下にオプションで注釈ができます。  | 
61 | 61 | ///  | 
62 | 62 | /// ```example  | 
63 | 63 | /// $ underbracket(1 + 2 + ... + 5, "numbers") $  | 
64 | 64 | /// ```  | 
65 | 65 | #[elem(Mathy)]  | 
66 | 66 | pub struct UnderbracketElem {  | 
67 |  | -    /// The content above the bracket.  | 
 | 67 | +    /// 角括弧の上にあるコンテンツ。  | 
68 | 68 |     #[required]  | 
69 | 69 |     pub body: Content,  | 
70 | 70 | 
 
  | 
71 |  | -    /// The optional content below the bracket.  | 
 | 71 | +    /// 角括弧の下にあるオプションのコンテンツ。  | 
72 | 72 |     #[positional]  | 
73 | 73 |     pub annotation: Option<Content>,  | 
74 | 74 | }  | 
75 | 75 | 
 
  | 
76 |  | -/// A horizontal bracket over content, with an optional annotation above.  | 
 | 76 | +/// コンテンツの上にある水平方向の角括弧。その上にオプションで注釈ができます。  | 
77 | 77 | ///  | 
78 | 78 | /// ```example  | 
79 | 79 | /// $ overbracket(1 + 2 + ... + 5, "numbers") $  | 
80 | 80 | /// ```  | 
81 | 81 | #[elem(Mathy)]  | 
82 | 82 | pub struct OverbracketElem {  | 
83 |  | -    /// The content below the bracket.  | 
 | 83 | +    /// 角括弧の下にあるコンテンツ。  | 
84 | 84 |     #[required]  | 
85 | 85 |     pub body: Content,  | 
86 | 86 | 
 
  | 
87 |  | -    /// The optional content above the bracket.  | 
 | 87 | +    /// 角括弧の上にあるオプションのコンテンツ。  | 
88 | 88 |     #[positional]  | 
89 | 89 |     pub annotation: Option<Content>,  | 
90 | 90 | }  | 
91 | 91 | 
 
  | 
92 |  | -/// A horizontal parenthesis under content, with an optional annotation below.  | 
 | 92 | +/// コンテンツの下にある水平方向の丸括弧。その下にオプションで注釈ができます。  | 
93 | 93 | ///  | 
94 | 94 | /// ```example  | 
95 | 95 | /// $ underparen(1 + 2 + ... + 5, "numbers") $  | 
96 | 96 | /// ```  | 
97 | 97 | #[elem(Mathy)]  | 
98 | 98 | pub struct UnderparenElem {  | 
99 |  | -    /// The content above the parenthesis.  | 
 | 99 | +    /// 丸括弧の上にあるコンテンツ。  | 
100 | 100 |     #[required]  | 
101 | 101 |     pub body: Content,  | 
102 | 102 | 
 
  | 
103 |  | -    /// The optional content below the parenthesis.  | 
 | 103 | +    /// 丸括弧の下にあるオプションのコンテンツ。  | 
104 | 104 |     #[positional]  | 
105 | 105 |     pub annotation: Option<Content>,  | 
106 | 106 | }  | 
107 | 107 | 
 
  | 
108 |  | -/// A horizontal parenthesis over content, with an optional annotation above.  | 
 | 108 | +/// コンテンツの上にある水平方向の丸括弧。その上にオプションで注釈ができます。  | 
109 | 109 | ///  | 
110 | 110 | /// ```example  | 
111 | 111 | /// $ overparen(1 + 2 + ... + 5, "numbers") $  | 
112 | 112 | /// ```  | 
113 | 113 | #[elem(Mathy)]  | 
114 | 114 | pub struct OverparenElem {  | 
115 |  | -    /// The content below the parenthesis.  | 
 | 115 | +    /// 丸括弧の下にあるコンテンツ。  | 
116 | 116 |     #[required]  | 
117 | 117 |     pub body: Content,  | 
118 | 118 | 
 
  | 
119 |  | -    /// The optional content above the parenthesis.  | 
 | 119 | +    /// 丸括弧の上にあるオプションのコンテンツ。  | 
120 | 120 |     #[positional]  | 
121 | 121 |     pub annotation: Option<Content>,  | 
122 | 122 | }  | 
123 | 123 | 
 
  | 
124 |  | -/// A horizontal tortoise shell bracket under content, with an optional  | 
125 |  | -/// annotation below.  | 
 | 124 | +/// コンテンツの下にある水平方向の亀甲括弧。その下にオプションで注釈ができます。  | 
126 | 125 | ///  | 
127 | 126 | /// ```example  | 
128 | 127 | /// $ undershell(1 + 2 + ... + 5, "numbers") $  | 
129 | 128 | /// ```  | 
130 | 129 | #[elem(Mathy)]  | 
131 | 130 | pub struct UndershellElem {  | 
132 |  | -    /// The content above the tortoise shell bracket.  | 
 | 131 | +    /// 亀甲括弧の上にあるコンテンツ。  | 
133 | 132 |     #[required]  | 
134 | 133 |     pub body: Content,  | 
135 | 134 | 
 
  | 
136 |  | -    /// The optional content below the tortoise shell bracket.  | 
 | 135 | +    /// 亀甲括弧の下にあるオプションのコンテンツ。  | 
137 | 136 |     #[positional]  | 
138 | 137 |     pub annotation: Option<Content>,  | 
139 | 138 | }  | 
140 | 139 | 
 
  | 
141 |  | -/// A horizontal tortoise shell bracket over content, with an optional  | 
142 |  | -/// annotation above.  | 
 | 140 | +/// コンテンツの上にある水平方向の亀甲括弧。その上にオプションで注釈ができます。  | 
143 | 141 | ///  | 
144 | 142 | /// ```example  | 
145 | 143 | /// $ overshell(1 + 2 + ... + 5, "numbers") $  | 
146 | 144 | /// ```  | 
147 | 145 | #[elem(Mathy)]  | 
148 | 146 | pub struct OvershellElem {  | 
149 |  | -    /// The content below the tortoise shell bracket.  | 
 | 147 | +    /// 亀甲括弧の下にあるコンテンツ。  | 
150 | 148 |     #[required]  | 
151 | 149 |     pub body: Content,  | 
152 | 150 | 
 
  | 
153 |  | -    /// The optional content above the tortoise shell bracket.  | 
 | 151 | +    /// 亀甲括弧の上にあるオプションのコンテンツ。  | 
154 | 152 |     #[positional]  | 
155 | 153 |     pub annotation: Option<Content>,  | 
156 | 154 | }  | 
0 commit comments