Hi Leo,

Apologies for the slow response. 

I am not a Beamer or org-mode wizard, so I may have misunderstood something. 
I'm trying to produce presentations using a corporate style file that defines 
new environments for different slide types and would like to use different 
environments in the same document.

Some of these follow document structure, like the new chapter slide we use to 
delimit sections, but most relate to aesthetics(Picture only slide, Any 
Questions slide or invert theme colours slide). It would be useful for me to be 
able to override the environment so that I can specify the slide type I would 
like.

Simon

On Mon, 1 Sep 2025, at 9:40 PM, Leo Butler wrote:
> IIRC, we/I considered adding a BEAMER_FRAME_ENV property to select the
> frame environment. However, that was rejected as either too complicated
> or unnecessary.
>
> IIUC, Simon wants to be able to select different frame environments in
> the same beamer document. If that is right, then it might be worth
> revisiting BEAMER_FRAME_ENV.
>
> Leo
>
> On Sun, Aug 31 2025, Pedro Andres Aranda Gutierrez <[email protected]> wrote:
>
>> Can this help?
>>
>> org-beamer-frame-environment is a variable defined in 'ox-beamer.el'.
>>
>> Its value is "frame"
>> Original value was "orgframe"
>>
>> Name of the alternative beamer frame environment.
>> In frames marked as fragile, this environment is used in place of
>> the usual frame environment.
>>
>> This permits insertion of a beamer frame inside example blocks,
>> working around beamer limitations.  See
>> https://list.orgmode.org/[email protected]/T/#mc7221e93f138bdd56c916b194b9230d3a6c3de09
>>
>> This option may need to be changed when "\end{orgframe}" string is
>> used inside beamer slides.
>>
>> It could be a starting point. Look at the code and check if you need a
>> different behaviour.
>>
>> best, /pa
>>
>> On Sun, 31 Aug 2025 at 07:48, Simon Brown <[email protected]> wrote:
>>>
>>> Hello,
>>>
>>> At the second level you can use BEAMER_ENV to choose something other
>>> than block in order to customise the frame. Is there a similar way
>>> to override frame at the top level. The beamer theme I'm using has a
>>> number of environments defined that I'd like to be able to pic from.
>>>
>>> Simon
>>> --
>>> Simon Brown
>>>
>
> -- 
> ---
> Best regards,
> Dr Butler

Reply via email to