summaryrefslogtreecommitdiff
path: root/library/src/layout/columns.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-01-22 13:18:30 +0100
committerLaurenz <laurmaedje@gmail.com>2023-01-22 13:18:30 +0100
commit815ee3254c1f087771b7c38e6f85622f3aeddf7c (patch)
treec8d7f3bbbb86990cf50fd70804925509e4a3652a /library/src/layout/columns.rs
parent6f7e8dd497b61326babd4f60d559e8b5ad61603b (diff)
Formatting fixes
Diffstat (limited to 'library/src/layout/columns.rs')
-rw-r--r--library/src/layout/columns.rs16
1 files changed, 8 insertions, 8 deletions
diff --git a/library/src/layout/columns.rs b/library/src/layout/columns.rs
index 6d90ecb2..2b09bb69 100644
--- a/library/src/layout/columns.rs
+++ b/library/src/layout/columns.rs
@@ -3,29 +3,29 @@ use crate::text::TextNode;
/// # Columns
/// Separate a region into multiple equally sized columns.
-///
+///
/// The `column` function allows to separate the interior of any container into
/// multiple columns. It will not equalize the height of the columns, instead,
/// the columns will take up the height of their container or the remaining
/// height on the page. The columns function can break across pages if
/// necessary.
-///
+///
/// ## Example
/// ```
/// = Towards Advanced Deep Learning
-///
+///
/// #box(height: 68pt,
/// columns(2, gutter: 11pt)[
/// #set par(justify: true)
/// This research was funded by the
/// National Academy of Sciences.
-/// NAoS provided support for field
+/// NAoS provided support for field
/// tests and interviews with a
/// grant of up to USD 40.000 for a
/// period of 6 months.
/// ]
/// )
-///
+///
/// In recent years, deep learning has
/// increasingly been used to solve a
/// variety of problems.
@@ -150,11 +150,11 @@ impl Layout for ColumnsNode {
/// # Column Break
/// A forced column break.
-///
+///
/// The function will behave like a [page break](@pagebreak) when used in a
/// single column layout or the last column on a page. Otherwise, content after
/// the column break will be placed in the next column.
-///
+///
/// ## Example
/// ```
/// #set page(columns: 2)
@@ -163,7 +163,7 @@ impl Layout for ColumnsNode {
/// revealed a hitherto unknown
/// phenomenon of extraordinary
/// significance.
-///
+///
/// #colbreak()
/// Through rigorous experimentation
/// and analysis, we have discovered