On Wednesday, 21 Sep 2022 at 16:55, Ihor Radchenko wrote: > More concretely, I mean something like > > * Section > :PROPERTIES: > :attr_latex: :prepend "section" \setcounter{secnumdepth}{0} > :attr_latex+: :prepend "section" > \addtocontents{toc}{\protect\setcounter{tocdepth}{0}\ignorespaces} > :attr_latex+: :append "section" \setcounter{secnumdepth}{2} > :attr_latex+: :append "section" > \addtocontents{toc}{\protect\setcounter{tocdepth}{2}\ignorespaces} > :END:
This looks fine to me. I don't particularly care about the actual syntax. However, a minor point out of curiosity: why not just ":latex:" for the property name? And I would hope to have ":beamer:" (or ":attr_beamer:") as well! Thank you, eric -- : Eric S Fraga, with org release_9.5.4-768-g5bb699 in Emacs 29.0.50