[NTG-context] TT font disregards margins

2011-01-05 Thread 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:

\definepapersize[6X9][width=6.0in, height=9.0in]
\setuppapersize[6X9][6X9]


\setuplayout[
 width=middle,
 height=middle,
 backspace=.75 in,
 topspace=.5 in,
 header=.25 in,
 footer=0 in,
 headerdistance=.25 in,
 footerdistance=0 in,
 bottomspace=0.9 in,
 cutspace=.875 in,
]

\starttext

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.

\blank[big]

{\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.}}

\stoptext
 

Tom Benjey
717-258-9733 voice
717-243-0074 fax
Twitter: @TomBenjey





___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] TT font disregards margins

2011-01-05 Thread Wolfgang Schuster

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

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___