all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Custom beamer blocks for pros and cons list
@ 2022-05-26 21:32 Andrés Ramírez
  2022-05-27  7:38 ` Axel Kielhorn
  0 siblings, 1 reply; 5+ messages in thread
From: Andrés Ramírez @ 2022-05-26 21:32 UTC (permalink / raw)
  To: emacs-orgmode

Hi.

I am adapting this example:
--8<---------------cut here---------------start------------->8---
https://tex.stackexchange.com/questions/28760/custom-beamer-blocks-for-pros-and-cons
--8<---------------cut here---------------end--------------->8---

This is my file:
--8<---------------cut here---------------start------------->8---
#+AUTHOR: Me
#+EMAIL:     
#+DATE: 2022
#+DESCRIPTION:
#+KEYWORDS:
#+OPTIONS:   toc:nil
#+EXPORT_SELECT_TAGS: export
#+EXPORT_EXCLUDE_TAGS: noexport

#+startup: beamer
#+LaTeX_CLASS: beamer
#+LATEX_CLASS_OPTIONS: [bigger]
#+BEAMER_FRAME_LEVEL: 2
#+COLUMNS: %40ITEM %10BEAMER_env(Env) %9BEAMER_envargs(Env Args) %4BEAMER_col(Col) %10BEAMER_extra(Extra)
#+LaTeX_Header: \beamertemplatenavigationsymbolsempty
#+LaTeX_Header: \newenvironment<>{problock}[1]{%
#+LaTeX_Header:   \begin{actionenv}#2%
#+LaTeX_Header:       \def\insertblocktitle{#1}%
#+LaTeX_Header:       \par%
#+LaTeX_Header:       \mode<presentation>{%
#+LaTeX_Header:         \setbeamercolor{block title}{fg=white,bg=orange!20!black}
#+LaTeX_Header:        \setbeamercolor{block body}{fg=black,bg=olive!50}
#+LaTeX_Header:        \setbeamercolor{itemize item}{fg=orange!20!black}
#+LaTeX_Header:        \setbeamertemplate{itemize item}[triangle]
#+LaTeX_Header:      }%
#+LaTeX_Header:       \usebeamertemplate{block begin}}
#+LaTeX_Header:     {\par\usebeamertemplate{block end}\end{actionenv}}
    
** Comparisson
   :PROPERTIES:
   :BEAMER_envargs: [t]
   :END:
*** Pros                                                      :BMCOL:B_block:
    :PROPERTIES:
    :BEAMER_col: 0.45
    :BEAMER_env: block
    :END:
#+begin_problock    
  - New.
  - Other Pro.
  - Additional Pro.
#+end_problock

*** Cons                                                      :BMCOL:B_block:
    :PROPERTIES:
    :BEAMER_col: 0.4
    :BEAMER_env: block
    :BEAMER_envargs: <2->
    :END:

  - Need Testing.
  - Other Con.
  - More Con.
--8<---------------cut here---------------end--------------->8---

I am getting an error and PDF is not generated.

Thanks.



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-05-27 14:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-26 21:32 Custom beamer blocks for pros and cons list Andrés Ramírez
2022-05-27  7:38 ` Axel Kielhorn
2022-05-27  8:33   ` Ihor Radchenko
2022-05-27 14:15     ` andrés ramírez
2022-05-27 14:13   ` andrés ramírez

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.