Am Freitag, 28. Juni 2024, 11:59:19 MESZ schrieb Wolfgang Schuster: > Gerion Entrup schrieb am 28.06.2024 um 11:40: > > > Do you know, why the groupedcommand solution does not work? > > The command and the environment which are created by \definestartstop > can't be interchanged when you use the before/after and left/right keys. > > %%%% begin example > \usemodule[visual] > > \definestartstop > [Example] > [before={\par\leftaligned{\tttf [before]}\par}, > after={\par\leftaligned{\tttf [after]}\par}, > left={{\tttf [left]}}, > right={{\tttf [right]}}] > > \starttext > > \fakewords{10}{20} > \startExample > \fakewords{10}{20} > \stopExample > \fakewords{10}{20} > > \blank > > \fakewords{3}{5} > \Example{\fakewords{3}{5}} > \fakewords{3}{5} > > \stoptext > %%%% end example > > Wolfgang >
Ok, thanks for the explanation (I have added the example to the wiki). Gerion
signature.asc
Description: This is a digitally signed message part.
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___________________________________________________________________________________