[NTG-context] How to Centre Multi-line Verbatim Text

Wolfgang Schuster schuster.wolfgang at gmail.com
Sat Mar 14 11:20:21 CET 2015

> Am 13.03.2015 um 21:32 schrieb Emmanuel Asante <emmanuela.asante at gmail.com>:
> Hello All,
> I am trying to centre a multi-line verbatim text horizontally on the page but I cannot figure out how to do that. With the code below how can I centre the whole block horizontally on the page?
> \setuptyping[TEX]
> \startTEX
>    RSpec.describe Post, :type => :model do
>     end
>  \stopTEX

You can add a framedtext environment around the verbatim text and use “location=middle” to center it.



   RSpec.describe Post, :type => :model do



More information about the ntg-context mailing list