@@ -179,21 +179,19 @@ impl Show for Packed<OverlineElem> {
179179 }
180180}
181181
182- /// Strikes through text.
182+ /// テキストの打ち消し。
183183///
184- /// # Example
184+ /// # 例
185185/// ```example
186186/// This is #strike[not] relevant.
187187/// ```
188188#[ elem( title = "Strikethrough" , Show ) ]
189189pub struct StrikeElem {
190- /// How to [stroke] the line.
190+ /// 線の [stroke]をどうするか。
191191 ///
192- /// If set to `{auto}`, takes on the text's color and a thickness defined in
193- /// the current font.
192+ /// `{auto}`に設定された場合、現在のテキストフォントで使用されているテキストの太さと色が使用されます。
194193 ///
195- /// _Note:_ Please don't use this for real redaction as you can still copy
196- /// paste the text.
194+ /// _注意:_ テキストのコピー・ペーストは依然として可能なため、実際の黒塗りには使用しないでください。
197195 ///
198196 /// ```example
199197 /// This is #strike(stroke: 1.5pt + red)[very stricken through]. \
@@ -203,10 +201,10 @@ pub struct StrikeElem {
203201 #[ fold]
204202 pub stroke : Smart < Stroke > ,
205203
206- /// The position of the line relative to the baseline. Read from the font
207- /// tables if `{auto}`.
204+ /// ベースラインを基準とする線の位置。
205+ /// `{auto}`の場合、フォントテーブルから読まれます。
208206 ///
209- /// This is useful if you are unhappy with the offset your font provides.
207+ /// これはフォントが提供するオフセットに不満がある場合に便利です。
210208 ///
211209 /// ```example
212210 /// #set text(font: "Inria Serif")
@@ -216,8 +214,7 @@ pub struct StrikeElem {
216214 #[ resolve]
217215 pub offset : Smart < Length > ,
218216
219- /// The amount by which to extend the line beyond (or within if negative)
220- /// the content.
217+ /// コンテンツの外側に(負の値のときは内側に)線を左右に拡張する量。
221218 ///
222219 /// ```example
223220 /// This #strike(extent: -2pt)[skips] parts of the word.
@@ -226,7 +223,7 @@ pub struct StrikeElem {
226223 #[ resolve]
227224 pub extent : Length ,
228225
229- /// Whether the line is placed behind the content.
226+ /// 線をコンテンツの背後に置くかどうか。
230227 ///
231228 /// ```example
232229 /// #set strike(stroke: red)
@@ -236,7 +233,7 @@ pub struct StrikeElem {
236233 #[ default( false ) ]
237234 pub background : bool ,
238235
239- /// The content to strike through.
236+ /// 打ち消すコンテンツ。
240237 #[ required]
241238 pub body : Content ,
242239}
0 commit comments