![](https://secure.gravatar.com/avatar/5955e8e90611e77ccbfc7721b6112027.jpg?s=120&d=mm&r=g)
2 Aug
2024
2 Aug
'24
12: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