@@ -216,11 +216,11 @@ pub struct MatElem {
216
216
pub rows : Vec < Vec < Content > > ,
217
217
}
218
218
219
- /// A case distinction.
219
+ /// 場合分け。
220
220
///
221
- /// Content across different branches can be aligned with the `&` symbol.
221
+ /// `&`記号を用いると異なる分岐に属するコンテンツを整列できます。
222
222
///
223
- /// # Example
223
+ /// # 例
224
224
/// ```example
225
225
/// $ f(x, y) := cases(
226
226
/// 1 "if" (x dot y)/2 <= 0,
@@ -231,11 +231,10 @@ pub struct MatElem {
231
231
/// ```
232
232
#[ elem( Mathy ) ]
233
233
pub struct CasesElem {
234
- /// The delimiter to use.
234
+ /// 使用する区切り文字。
235
235
///
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
+ /// それ以外の場合は、左区切り文字と右区切り文字を含む配列を指定します。
239
238
///
240
239
/// ```example
241
240
/// #set math.cases(delim: "[")
@@ -244,7 +243,7 @@ pub struct CasesElem {
244
243
#[ default( DelimiterPair :: BRACE ) ]
245
244
pub delim : DelimiterPair ,
246
245
247
- /// Whether the direction of cases should be reversed.
246
+ /// 場合分けの向きを反転させるかどうか。
248
247
///
249
248
/// ```example
250
249
/// #set math.cases(reverse: true)
@@ -253,7 +252,7 @@ pub struct CasesElem {
253
252
#[ default( false ) ]
254
253
pub reverse : bool ,
255
254
256
- /// The gap between branches.
255
+ /// 分岐間の間隔。
257
256
///
258
257
/// ```example
259
258
/// #set math.cases(gap: 1em)
@@ -263,7 +262,7 @@ pub struct CasesElem {
263
262
#[ default( DEFAULT_ROW_GAP . into( ) ) ]
264
263
pub gap : Rel < Length > ,
265
264
266
- /// The branches of the case distinction.
265
+ /// 場合分けの各分岐を表す子要素。
267
266
#[ variadic]
268
267
pub children : Vec < Content > ,
269
268
}
0 commit comments