19 May
2023
19 May
'23
12:22 p.m.
In order to get some inline framed verbatim text, I have in the past always used the following: \starttext This is an \inframed [frame=on, corner=00, radius=2mm,offset=-1.5pt] {\ttx \bf example} \stoptext Since this has come-up more and more often, I created the following: \define[1]\infr{ \inframed [frame=on, corner=00, radius=2mm,offset=-1.5pt]{#1}} \starttext This is an \infr{example} \stoptext This works fine except that I cannot get the text in verbatim/teletype. I have tried style=mono and style={\ttx \bf} but nothing seems to work. Thanks Jeroen