28 Jul
2017
28 Jul
'17
2:35 a.m.
On Fri, 28 Jul 2017, Gerion Entrup wrote:
3. Text size in t-vim I've defined a smaller text size in t-vim, but this seems to affect \inline... as well. Is there a way to circumvent this?
Minimal example: ``` \setupinteraction[state=start]
\usemodule[t-vim] \definevimtyping[python][syntax=python, style={\switchtobodyfont[8pt,tt]},] \starttext \startpython for line in foo: print(line) \stoppython This is keyword \inlinepython{in} Python. \stoptext ```
The simplest solution is: \definetyping[python][syntax=python] \definetyping[smallpython][python][style={\switchtobodyfont[8pt]] And use \inlinepython{....} and \startsmallpython .... \stopsmallpython Aditya