From 77e2766f5fc5dda2118458f73a0b93ff1f1e6a38 Mon Sep 17 00:00:00 2001 From: Leo Butler Date: Tue, 23 Jan 2024 10:49:21 -0600 Subject: [PATCH] exporters/beamer/tutorial.org: fix two column example * exporters/beamer/tutorial.org: The ignoreheading environment causes the column property to be ignored, which is opposite to the intent of the Two columns example. Remove that environment and the pertinent comment in the paragraph following, so the example exports as intended. Fix a couple typos in the Org example itself. --- exporters/beamer/tutorial.org | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/exporters/beamer/tutorial.org b/exporters/beamer/tutorial.org index fc32395f..f40425ed 100644 --- a/exporters/beamer/tutorial.org +++ b/exporters/beamer/tutorial.org @@ -198,31 +198,29 @@ column. The following #+BEGIN_Example ,** Two columns -,*** A block :B_ignoreheading:BMCOL: +,*** A block :BMCOL: :PROPERTIES: - :BEAMER_env: ignoreheading :BEAMER_col: 0.4 :END: - this slide consists of two columns - the first (left) column has no heading and consists of text - the second (right) column has an image and is enclosed in an - @example@ block + *example* block ,*** A screenshot :BMCOL:B_example: :PROPERTIES: :BEAMER_col: 0.6 :BEAMER_env: example :END: -, #+ATTR_LaTeX: :width \textwidth - [[file://../../images/org-beamer/a-simple-slide.png]] +,#+ATTR_LaTeX: :width \textwidth +[[file://../../images/org-beamer/a-simple-slide.png]] #+END_Example defines a two column slide. As the text in the slide says, the left column is a list and the right one is an image. The left column's -headline text is ignored, specified by =C-c C-b i= which tells org to -*ignore* the headline text completely. The column on the right -however is placed with an /example/ block (whose appearance will -depend on the Beamer theme). +headline text is ignored. The column on the right however is placed +with an /example/ block (whose appearance will depend on the Beamer +theme). The columns also have widths. By default, these widths are the proportion of the page width to use so I have specified 40% for the -- 2.43.0