Jon Wong schrieb am 23.12.2019 um 09:13:
Is it possible?
Yes.
I get “missing endgroup inserted” error.
Without a minimal example there is no way to tell why you get this error message.

As can be seen in the example below you can use textbackgrounds with the \offset command.

\definetextbackground [DisplayBackground] [location=paragraph]
\definetextbackground [InlineBackground]  [location=text]

\starttext

X\offset[x=1em]{\starttextbackground[InlineBackground]Text\stoptextbackground}

X\offset[x=1em]{\vtop{\starttextbackground[DisplayBackground]Text\crlf Text\stoptextbackground}}

X\offset[x=1em]{\framed[location=top,align=normal]{Text\crlf Text}}

\stoptext

Wolfgang

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to