-
Notifications
You must be signed in to change notification settings - Fork 0
beamer twocol.py
Georgios Pappas Jr edited this page Jan 3, 2022
·
1 revision
Pandoc filter that creates a Div with simpler syntax for columns in Latex/Beamer. It works for only two columns and the column delimiter is a HorizontalRule element (--- or * * *).
The upper text goes to the left column and the lower to the right.
The syntax is:
::: twocol
Content left
* * *
Content right
Content right
::::::::::
Alternatively, it is possible to pass some options controlling the columns, namely 'width' and 'align'. For these, specify the values inside quotes and separate them by commas. If no commas, the given value will be applied to both columns.
::: {.twocol align="top,center" width="20%,80%" .onlytextwidth}
Content left
1. asd
2. sdf sdffds
* * *
Content right
:::
-
Original
:::::: columns :::: column Left content :::: :::: column Right content :::: ::::::
-
With this filter
:::: twocol Left content --- Right content ::::
Georgios Pappas Jr
University of Brasilia (UnB) - Brazil