@@ -63,21 +63,20 @@ impl Show for Packed<SubElem> {
6363    } 
6464} 
6565
66- /// Renders text in superscript.  
66+ /// テキストを上付き文字でレンダリング。  
6767/// 
68- /// The text is rendered smaller and its baseline is raised.  
68+ /// テキストは小さくレンダリングされ、ベースラインは高くなります。  
6969/// 
70- /// # Example  
70+ /// # 例  
7171/// ```example 
7272/// 1#super[st] try! 
7373/// ``` 
7474#[ elem( title = "Superscript" ,  Show ) ]  
7575pub  struct  SuperElem  { 
76-     /// Whether to prefer the dedicated superscript characters of the font.  
76+     /// フォントの上付き文字専用の字形を優先するかどうか。  
7777     /// 
78-      /// If this is enabled, Typst first tries to transform the text to 
79-      /// superscript codepoints. If that fails, it falls back to rendering 
80-      /// raised and shrunk normal letters. 
78+      /// 有効化された場合、Typstは最初にテキストを上付き文字のコードポイントに変換できるか試します。 
79+      /// 失敗した場合は、通常の文字を縮小し、位置を上げる挙動にフォールバックします。 
8180     /// 
8281     /// ```example 
8382     /// N#super(typographic: true)[1] 
@@ -86,19 +85,17 @@ pub struct SuperElem {
8685     #[ default( true ) ]  
8786    pub  typographic :  bool , 
8887
89-     /// The baseline shift for synthetic superscripts. Does not apply if 
90-      /// `typographic` is true and the font has superscript codepoints for the 
91-      /// given `body`. 
88+     /// 上付き文字の合成に用いるベースラインのシフト。 
89+      /// `typographic`がtrueかつフォントが与えられた`body`に対して上付き文字のコードポイントを持っている場合は使用しないでください。 
9290     #[ default( Em :: new( -0.5 ) . into( ) ) ]  
9391    pub  baseline :  Length , 
9492
95-     /// The font size for synthetic superscripts. Does not apply if 
96-      /// `typographic` is true and the font has superscript codepoints for the 
97-      /// given `body`. 
93+     /// 上付き文字の合成に用いるフォントの大きさ。 
94+      /// `typographic`がtrueかつフォントが与えられた`body`に対して上付き文字のコードポイントを持っている場合は使用しないでください。 
9895     #[ default( TextSize ( Em :: new( 0.6 ) . into( ) ) ) ]  
9996    pub  size :  TextSize , 
10097
101-     /// The text to display in superscript.  
98+     /// 上付き文字で表示するテキスト。  
10299     #[ required]  
103100    pub  body :  Content , 
104101} 
0 commit comments