@@ -140,19 +140,18 @@ pub fn bb(
140140 body. styled ( EquationElem :: set_variant ( MathVariant :: Bb ) )
141141}
142142
143- /// Forced display style in math.
144- ///
145- /// This is the normal size for block equations.
143+ /// 数式中でディスプレイスタイルを強制します。
146144///
145+ /// これはブロック数式における標準サイズです。
146+
147147/// ```example
148148/// $sum_i x_i/2 = display(sum_i x_i/2)$
149149/// ```
150150#[ func( title = "Display Size" , keywords = [ "displaystyle" ] ) ]
151151pub fn display (
152- /// The content to size.
152+ /// 大きさを指定したいコンテンツ。
153153 body : Content ,
154- /// Whether to impose a height restriction for exponents, like regular sub-
155- /// and superscripts do.
154+ /// 通常の下付き文字や上付き文字のように、指数に高さ制限を課すかどうか。
156155 #[ named]
157156 #[ default( false ) ]
158157 cramped : bool ,
@@ -161,20 +160,19 @@ pub fn display(
161160 . styled ( EquationElem :: set_cramped ( cramped) )
162161}
163162
164- /// Forced inline (text) style in math.
163+ /// 数式中でインライン(テキスト)スタイルを強制します。
165164///
166- /// This is the normal size for inline equations.
165+ /// これはインライン数式における標準サイズです。
167166///
168167/// ```example
169168/// $ sum_i x_i/2
170169/// = inline(sum_i x_i/2) $
171170/// ```
172171#[ func( title = "Inline Size" , keywords = [ "textstyle" ] ) ]
173172pub fn inline (
174- /// The content to size.
173+ /// 大きさを指定したいコンテンツ。
175174 body : Content ,
176- /// Whether to impose a height restriction for exponents, like regular sub-
177- /// and superscripts do.
175+ /// 通常の下付き文字や上付き文字のように、指数に高さ制限を課すかどうか。
178176 #[ named]
179177 #[ default( false ) ]
180178 cramped : bool ,
@@ -183,19 +181,18 @@ pub fn inline(
183181 . styled ( EquationElem :: set_cramped ( cramped) )
184182}
185183
186- /// Forced script style in math.
184+ /// 数式中でスクリプトスタイルを強制します。
187185///
188- /// This is the smaller size used in powers or sub- or superscripts.
186+ /// これは、冪乗、下付き文字、上付き文字で使用される小さいサイズです。
189187///
190188/// ```example
191189/// $sum_i x_i/2 = script(sum_i x_i/2)$
192190/// ```
193191#[ func( title = "Script Size" , keywords = [ "scriptstyle" ] ) ]
194192pub fn script (
195- /// The content to size.
193+ /// 大きさを指定したいコンテンツ。
196194 body : Content ,
197- /// Whether to impose a height restriction for exponents, like regular sub-
198- /// and superscripts do.
195+ /// 通常の下付き文字や上付き文字のように、指数に高さ制限を課すかどうか。
199196 #[ named]
200197 #[ default( true ) ]
201198 cramped : bool ,
@@ -204,20 +201,18 @@ pub fn script(
204201 . styled ( EquationElem :: set_cramped ( cramped) )
205202}
206203
207- /// Forced second script style in math.
204+ /// 数式中で第2スクリプトスタイルを強制します。
208205///
209- /// This is the smallest size, used in second-level sub- and superscripts
210- /// (script of the script).
206+ /// これは、第2レベルの下付き文字や上付き文字(添え字の添え字)で使用される最も小さいサイズです。
211207///
212208/// ```example
213209/// $sum_i x_i/2 = sscript(sum_i x_i/2)$
214210/// ```
215211#[ func( title = "Script-Script Size" , keywords = [ "scriptscriptstyle" ] ) ]
216212pub fn sscript (
217- /// The content to size.
213+ /// 大きさを指定したいコンテンツ。
218214 body : Content ,
219- /// Whether to impose a height restriction for exponents, like regular sub-
220- /// and superscripts do.
215+ /// 通常の下付き文字や上付き文字のように、指数に高さ制限を課すかどうか。
221216 #[ named]
222217 #[ default( true ) ]
223218 cramped : bool ,
0 commit comments