マークアップ関数の一覧
// target で作りたい目次の要素を指定する。`depth`は目次を作るレベルの深さを数値で指定する。#outline(target: heading, depth: 2)
水平方向のスペース
Section titled “水平方向のスペース”#h(1fr)
垂直方向のスペース
Section titled “垂直方向のスペース”#v(0.2em)
#align[center](テキスト)
#strike[文字列]
#underline[文字列]
#upper[apple]
#lower[APPLE]
スモールキャピタル
Section titled “スモールキャピタル”#smallcaps[Smallcaps]
2#super[2]
2#sub[2]
#highlight[文字列]
#quote[block: true, attribution: [名前]](引用文字列)
#box[stroke: 0.5pt + black, outset: 0.3em](文字列)
ダミーテキストを 10 単語生成
Section titled “ダミーテキストを 10 単語生成”#lorem(10)
今日の日付を取得
Section titled “今日の日付を取得”#datetime.today()
#line(stroke: 1pt + black, start: (5%,0%), end: (95%,0%))
#pagebreak()
この関数から下は次のページになります。