@@ -5,28 +5,25 @@ use crate::layout::HElem;
55use crate :: math:: { upright, Mathy , THIN } ;
66use crate :: text:: TextElem ;
77
8- /// A text operator in an equation.
8+ /// 数式中のテキスト演算子。
99///
10- /// # Example
10+ /// # 例
1111/// ```example
1212/// $ tan x = (sin x)/(cos x) $
1313/// $ op("custom",
1414/// limits: #true)_(n->oo) n $
1515/// ```
1616///
17- /// # Predefined Operators { #predefined }
18- /// Typst predefines the operators `arccos`, `arcsin`, `arctan`, `arg`, `cos`,
19- /// `cosh`, `cot`, `coth`, `csc`, `csch`, `ctg`, `deg`, `det`, `dim`, `exp`,
20- /// `gcd`, `lcm`, `hom`, `id`, `im`, `inf`, `ker`, `lg`, `lim`, `liminf`,
21- /// `limsup`, `ln`, `log`, `max`, `min`, `mod`, `Pr`, `sec`, `sech`, `sin`,
22- /// `sinc`, `sinh`, `sup`, `tan`, `tanh`, `tg` and `tr`.
17+ /// # 定義済み演算子 { #predefined }
18+ /// Typstではあらかじめ以下の演算子が定義されています。
19+ /// `arccos`、`arcsin`、`arctan`、`arg`、`cos`、`cosh`、`cot`、`coth`、`csc`、`csch`、`ctg`、`deg`、`det`、`dim`、`exp`、`gcd`、`lcm`、`hom`、`id`、`im`、`inf`、`ker`、`lg`、`lim`、`liminf`、`limsup`、`ln`、`log`、`max`、`min`、`mod`、`Pr`、`sec`、`sech`、`sin`、`sinc`、`sinh`、`sup`、`tan`、`tanh`、`tg`、`tr`。
2320#[ elem( title = "Text Operator" , Mathy ) ]
2421pub struct OpElem {
25- /// The operator's text.
22+ /// 演算子のテキスト。
2623 #[ required]
2724 pub text : Content ,
2825
29- /// Whether the operator should show attachments as limits in display mode.
26+ /// ディスプレイモードのときに演算子のアタッチメントをlimitsのように表示するかどうか。
3027 #[ default( false ) ]
3128 pub limits : bool ,
3229}
0 commit comments