Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions crates/typst-library/src/layout/place.rs
Original file line number Diff line number Diff line change
Expand Up @@ -177,10 +177,10 @@ impl PlaceElem {
/// Relative to which containing scope something shall be placed.
#[derive(Debug, Default, Copy, Clone, Eq, PartialEq, Hash, Cast)]
pub enum PlacementScope {
/// Place into the current column.
/// 現在の列に配置する。
#[default]
Column,
/// Place relative to the parent, letting the content span over all columns.
/// 親要素に対して相対的な位置に配置され、コンテンツがすべての列にまたがって表示されます。
Parent,
}

Expand Down
2 changes: 1 addition & 1 deletion crates/typst-library/src/model/figure.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ use crate::visualize::ImageElem;
/// ```
#[elem(scope, Locatable, Synthesize, Count, Show, ShowSet, Refable, Outlinable)]
pub struct FigureElem {
/// The content of the figure. Often, an [image].
/// 図表の内容。多くの場合、 [image] が使われます。
#[required]
pub body: Content,

Expand Down