From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id GI59Ml2AkGKnYgEAbAwnHQ (envelope-from ) for ; Fri, 27 May 2022 09:40:13 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id qNaCMF2AkGJq9gAAG6o9tA (envelope-from ) for ; Fri, 27 May 2022 09:40:13 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 744D4A9FA for ; Fri, 27 May 2022 09:40:13 +0200 (CEST) Received: from localhost ([::1]:43814 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nuUZw-0007IU-4R for larch@yhetil.org; Fri, 27 May 2022 03:40:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49298) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nuUY4-0007Hn-JH for emacs-orgmode@gnu.org; Fri, 27 May 2022 03:38:16 -0400 Received: from mo4-p00-ob.smtp.rzone.de ([85.215.255.22]:42513) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nuUY2-0001il-F5 for emacs-orgmode@gnu.org; Fri, 27 May 2022 03:38:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1653637087; s=strato-dkim-0002; d=axelkielhorn.de; h=Message-Id:In-Reply-To:To:References:Date:Subject:From:Cc:Date:From: Subject:Sender; bh=n3zxHgNpenFki4FlMHoFCZEmxSZNgKHEbuhNNzFQxg4=; b=WIq4yFpqED8MfdfbuZTsXVP5LtJROCPtqS+dtph+6z0WNJWisCBx47jyuXr5zfpPDL xdag82AM4WxJ4neMn6d1ZKAJ+Tkcd/uEKRNwRIZlUi9A5zrkE/mISEVjguLiTL+SzEMG 8eL6de1UOzTWXzKNwgraHeJaod2sCDnc6BeaO4MT8yIXxz09mnHTxQDjcH09oeqxIFMS 70q/WIWRV9G8t3G48lybeJD8N/nzjpEcmPAo+FbrrIPIhpdECGX9/FD+9+mF8Y6mig3k RwvhKcqsXpNSMNlfqYuxTfMo3nwXKeW/QpZqT61+VsF0BwlRWsX+8tRhqmjTNBeJ840x kt1g== X-RZG-AUTH: ":OGkcVUGwfvMLvkVusQ1g9gJQt7WL23nhrqI2F4F9RuxzbAQePvTSV0cr4JoWPbaGO12LoLB8bh0xwHvT/bbTEhu4sgiFa7VS5V72T2d8XA==" X-RZG-CLASS-ID: mo00 Received: from smtpclient.apple by smtp.strato.de (RZmta 47.44.0 AUTH) with ESMTPSA id i49d39y4R7c76xW (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (curve X9_62_prime256v1 with 256 ECDH bits, eq. 3072 bits RSA)) (Client did not present a certificate) for ; Fri, 27 May 2022 09:38:07 +0200 (CEST) From: Axel Kielhorn Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Subject: Re: Custom beamer blocks for pros and cons list Date: Fri, 27 May 2022 09:38:05 +0200 References: <86o7zk7zep.fsf@gmail.com> To: Org-Mode Mailing List In-Reply-To: <86o7zk7zep.fsf@gmail.com> Message-Id: <31AD6105-91AB-4F1F-B28F-F6528B28CBB0@axelkielhorn.de> X-Mailer: Apple Mail (2.3654.120.0.1.13) Received-SPF: none client-ip=85.215.255.22; envelope-from=org-mode@axelkielhorn.de; helo=mo4-p00-ob.smtp.rzone.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1653637213; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=n3zxHgNpenFki4FlMHoFCZEmxSZNgKHEbuhNNzFQxg4=; b=LGkhXoYgFFL6LpUNt/kmWn21MHG2oS1pmsiwxHFJZnMG1JJSen1y3tAC8DKweik1iY92Qw SUWsU7//p+xJuLjem1iLr1Muj3SKcxvi9qIqfebJdKR0ivYUlfGSB70Y+JOIQ27I68lVdt riPtgasZWPHYoa4mflQ7qhiFxAsyLUt793de+Ahy8MPibz+sChMHsMCTKnkN6JnxZzBgfg 9AEip7SKeJQVbQethbWsV4+wrHciHZZMRHMxbE0A0ng3oWY0Brzpgbq6m5trSio8VpSXBj Gpf1yXzxqxXE6PYl6v+wt6o1LtkApIM661+hZt3WBrJ/nHOoVbpJLiFvC+Rwxw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1653637213; a=rsa-sha256; cv=none; b=oCNxZgyXjv/VigqIe0hvxBO0gW7IZpx4DRpmw8dHc3CDwO3gKoS0rz/XvLD1yWl0KXkPFi ASRPv7EZOh05KQN1EQGLWHoJsfzhfbd2aYQzP5AbF3H6d6/R8nMGbnEB68kDawbiEH5C3Y FfCIDe8/J19GhfFD5BN+c1stycuOJYEfYHTcyy1h9Hza/KEkY1hpmukO2s8NulXC9vVBy4 mH6hO7NXEMe8ZkoP4A14IN+CgjhYBfKqojIWfJc0NuEcpJPorRAxvURDHDLTWIuqTTdiGv lC/3EnaRe3Bb8k7GXs+68Tw3dPCpam6+88n/172Q63laImTOMimASYnSWkrSvA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=axelkielhorn.de header.s=strato-dkim-0002 header.b=WIq4yFpq; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 1.66 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=axelkielhorn.de header.s=strato-dkim-0002 header.b=WIq4yFpq; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 744D4A9FA X-Spam-Score: 1.66 X-Migadu-Scanner: scn1.migadu.com X-TUID: znUyyYy7v44W > Am 26.05.2022 um 23:32 schrieb Andr=C3=A9s Ram=C3=ADrez = : >=20 You want something like this as the resulting LaTeX code: \begin{frame}[label=3D{sec:org5359014}]{Comparisson} \begin{columns} \begin{column}{0.45\columnwidth} \begin{block}{Pros} % <- superfluous environment \begin{problock}{Problock} % <=E2=80=94 argument required \begin{itemize} \item New. \item Other Pro. \item Additional Pro. \end{itemize} \end{problock} \end{block} \end{column} > #+LaTeX_Header: \newenvironment<>{problock}[1]{% The =3Dproblock=3D environment takes 1 argument, but you supply none. You can supply an argument=20 #+begin_problock =20 @@latex:{Probloc}@@=20 This will be ignored for non-LaTeX exporters. But even here you have to block environments, the outer environment = generated by =3D*** Pros=3D and the inner problock environment. You can get rid of the outer block environment by removing :BEAMER_env: block The resulting org code will look like this: :PROPERTIES: :BEAMER_col: 0.45 :END: #+begin_problock Pros =20 @@latex:{Probloc}@@=20 - New. - Other Pro. - Additional Pro. #+end_problock Greetings Axel