4
votes
2answers
118 views

Define a special verbatim commmand

To learn more about Plain TeX, I try to define a special verbatim command \verb{code}, which puts code inside braces. When there is no braces in code, It's easy. But when there are some balanced ...
4
votes
3answers
518 views

Verbatim in plain-format with XeTeX

(I'm aware there has been a similar question before, but this one has a twist) I wanted a verbatim macro to use which would use an unlikely character as an end-of-verbatim -marker (unlikely as in it ...
13
votes
4answers
2k views

Hard whitespace

I am using plainTeX and would like to typeset some (python) code examples. Switching to \tt gets me partway there, but I (obviously) need the whitespace respected. Is there a trick for doing this? The ...