[NTG-context] TT font disregards margins

Wolfgang Schuster schuster.wolfgang at googlemail.com
Wed Jan 5 17:33:48 CET 2011


Am 05.01.2011 um 17:07 schrieb Tom:

> I need to intersperse my text with code typed by someone else and am
> attempting to give the appearance of the code having been typed on a
> typewriter. The problem I am encountering is that the Teletyped text does
> not respect margin settings. What could be done to correct this? (I am
> running MKII on a Windows system). Example follows:

You get a better result for the monospaced part when you change
change the alignment for this block.

> {\tt{WHETHER I shall turn out to be the hero of my own life, or whether that
> station will be held by anybody else, these pages must show. To begin my
> life with the beginning of my life, I record that I was born (as I have been
> informed and believe) on a Friday, at twelve o'clock at night. It was
> remarked that the clock began to strike, and I began to cry,
> simultaneously.}}

{\tt\setupalign[flushleft,broad]
WHETHER I shall turn out to be the hero of my own life, or whether that
station will be held by anybody else, these pages must show. To begin my
life with the beginning of my life, I record that I was born (as I have been
informed and believe) on a Friday, at twelve o'clock at night. It was
remarked that the clock began to strike, and I began to cry,
simultaneously.\par}

Wolfgang



More information about the ntg-context mailing list