未翻訳
このページはまだ翻訳されていません。原文の内容が表示されています。
skew
要素関数要素関数要素関数はset
ルールやshow
ルールでカスタマイズできます。
要素関数
要素関数は
set
ルールやshow
ルールでカスタマイズできます。Skews content.
Skews an element in horizontal and/or vertical direction. The layout will
act as if the element was not skewed unless you specify reflow: true
.
Example
#skew(ax: -12deg)[
This is some fake italic text.
]

引数引数引数は関数への入力値です。関数名の後に括弧で囲んで指定します。
引数
引数は関数への入力値です。関数名の後に括弧で囲んで指定します。
ax
設定可能引数設定可能引数設定可能引数は、set
ルールを用いて設定でき、それ以降で使用するデフォルト値を変更できます。
設定可能引数
設定可能引数
設定可能引数は、
set
ルールを用いて設定でき、それ以降で使用するデフォルト値を変更できます。The horizontal skewing angle.
デフォルト値: 0deg
例を表示
#skew(ax: 30deg)[Skewed]

ay
設定可能引数設定可能引数設定可能引数は、set
ルールを用いて設定でき、それ以降で使用するデフォルト値を変更できます。
設定可能引数
設定可能引数
設定可能引数は、
set
ルールを用いて設定でき、それ以降で使用するデフォルト値を変更できます。The vertical skewing angle.
デフォルト値: 0deg
例を表示
#skew(ay: 30deg)[Skewed]

origin
設定可能引数設定可能引数設定可能引数は、set
ルールを用いて設定でき、それ以降で使用するデフォルト値を変更できます。
設定可能引数
設定可能引数
設定可能引数は、
set
ルールを用いて設定でき、それ以降で使用するデフォルト値を変更できます。The origin of the skew transformation.
The origin will stay fixed during the operation.
デフォルト値: center + horizon
例を表示
X #box(skew(ax: -30deg, origin: center + horizon)[X]) X \
X #box(skew(ax: -30deg, origin: bottom + left)[X]) X \
X #box(skew(ax: -30deg, origin: top + right)[X]) X

reflow
設定可能引数設定可能引数設定可能引数は、set
ルールを用いて設定でき、それ以降で使用するデフォルト値を変更できます。
設定可能引数
設定可能引数
設定可能引数は、
set
ルールを用いて設定でき、それ以降で使用するデフォルト値を変更できます。Whether the skew transformation impacts the layout.
If set to false
, the skewed content will retain the bounding box of
the original content. If set to true
, the bounding box will take the
transformation of the content into account and adjust the layout accordingly.
デフォルト値: false
例を表示
Hello #skew(ay: 30deg, reflow: true, "World")!

body
The content to skew.