@@ -216,11 +216,11 @@ pub struct MatElem {
216216 pub rows : Vec < Vec < Content > > ,
217217}
218218
219- /// A case distinction.
219+ /// 場合分け。
220220///
221- /// Content across different branches can be aligned with the `&` symbol.
221+ /// `&`記号を用いると異なる分岐に属するコンテンツを整列できます。
222222///
223- /// # Example
223+ /// # 例
224224/// ```example
225225/// $ f(x, y) := cases(
226226/// 1 "if" (x dot y)/2 <= 0,
@@ -231,11 +231,10 @@ pub struct MatElem {
231231/// ```
232232#[ elem( Mathy ) ]
233233pub struct CasesElem {
234- /// The delimiter to use.
234+ /// 使用する区切り文字。
235235 ///
236- /// Can be a single character specifying the left delimiter, in which case
237- /// the right delimiter is inferred. Otherwise, can be an array containing a
238- /// left and a right delimiter.
236+ /// 単一の文字で左区切り文字を指定する場合、右区切り文字は自動的に推論されます。
237+ /// それ以外の場合は、左区切り文字と右区切り文字を含む配列を指定します。
239238 ///
240239 /// ```example
241240 /// #set math.cases(delim: "[")
@@ -244,7 +243,7 @@ pub struct CasesElem {
244243 #[ default( DelimiterPair :: BRACE ) ]
245244 pub delim : DelimiterPair ,
246245
247- /// Whether the direction of cases should be reversed.
246+ /// 場合分けの向きを反転させるかどうか。
248247 ///
249248 /// ```example
250249 /// #set math.cases(reverse: true)
@@ -253,7 +252,7 @@ pub struct CasesElem {
253252 #[ default( false ) ]
254253 pub reverse : bool ,
255254
256- /// The gap between branches.
255+ /// 分岐間の間隔。
257256 ///
258257 /// ```example
259258 /// #set math.cases(gap: 1em)
@@ -263,7 +262,7 @@ pub struct CasesElem {
263262 #[ default( DEFAULT_ROW_GAP . into( ) ) ]
264263 pub gap : Rel < Length > ,
265264
266- /// The branches of the case distinction.
265+ /// 場合分けの各分岐を表す子要素。
267266 #[ variadic]
268267 pub children : Vec < Content > ,
269268}
0 commit comments