2 Aug
2024
2 Aug
'24
7:42 a.m.
On 8/2/24 01:13, Gerion Entrup wrote:
Ok, I think I understand that in principal. Thanks for the explanation. Can I somehow know in advance that a margin note makes use of \framed?
Hi Gerion, there is an \ifinframed conditional, such as in: \starttext \framed{\ifinframed a\else b\fi} \ifinframed a\else b\fi \framed{\doiftextelse{\ifinframed a\fi} {framed} {not framed}} \doiftextelse{\ifinframed a\fi} {framed} {not framed} \stoptext This may help to achieve what you want. Just in case it helps, Pablo