On 2013–01–16 Wolfgang Schuster wrote: > \definevimytping > [C] > […, > before={\ifhmode\startInlineBackground\else\startDisplayBackground\fi}, > after={\ifhmode\stopInlineBackground\else\stopDisplayBackground\fi}, > …] That's a good idea and it seems to work. > You could also ask Aditya to use different keys for display (e.g. before/aftter) > and inline (e.g. left/right) code blocks. That's not necessary. I think your solution is clean enough. Thanks Wolfgang. Marco