diff options
author | andrebauer <bauerand@informatik.uni-marburg.de> | 2020-05-03 02:08:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-02 17:08:16 -0700 |
commit | 97fe2ea16cca643e4f9d3a77e39ad8c3a3ff01d5 (patch) | |
tree | 5cd764a2f6a6810c05147f60efff2aacb9de7e16 /MANUAL.txt | |
parent | 0fafe9dd32d5a0266d74ac78b1818050bc69a4bd (diff) | |
download | pandoc-97fe2ea16cca643e4f9d3a77e39ad8c3a3ff01d5.tar.gz |
LaTeX Writer: Add support for customizable alignment of columns in beamer (#6331)
Add support for customizable alignment of columns in beamer.
Closes #4805, closes #4150.
Diffstat (limited to 'MANUAL.txt')
-rw-r--r-- | MANUAL.txt | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/MANUAL.txt b/MANUAL.txt index db658536b..972a7d918 100644 --- a/MANUAL.txt +++ b/MANUAL.txt @@ -5379,6 +5379,41 @@ containers with class `column` and a `width` attribute: ::: :::::::::::::: +### Additional columns attributes in beamer + +The div containers with classes `columns` and `column` can optionally have +an `align` attribute. +The class `columns` can optionally have a `totalwidth` attribute or an +`onlytextwidth` class. + + :::::::::::::: {.columns align=center totalwidth=8em} + ::: {.column width="40%"} + contents... + ::: + ::: {.column width="60%" align=bottom} + contents... + ::: + :::::::::::::: + +The `align` attributes on `columns` and `column` can be used with the +values `top`, `top-baseline`, `center` and `bottom` to vertically align +the columns. It defaults to `top` in `columns`. + +The `totalwidth` attribute limits the width of the columns to the given value. + + :::::::::::::: {.columns align=top .onlytextwidth} + ::: {.column width="40%" align=center} + contents... + ::: + ::: {.column width="60%"} + contents... + ::: + :::::::::::::: + +The class `onlytextwidth` sets the `totalwidth` to `\textwidth`. + +See Section 12.7 of the [Beamer User's Guide] for more details. + ## Frame attributes in beamer Sometimes it is necessary to add the LaTeX `[fragile]` option to |