ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* TT font disregards margins
@ 2011-01-05 16:07 Tom
  2011-01-05 16:33 ` Wolfgang Schuster
  0 siblings, 1 reply; 2+ messages in thread
From: Tom @ 2011-01-05 16:07 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: TT font disregards margins
  2011-01-05 16:07 TT font disregards margins Tom
@ 2011-01-05 16:33 ` Wolfgang Schuster
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Schuster @ 2011-01-05 16:33 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-01-05 16:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-05 16:07 TT font disregards margins Tom
2011-01-05 16:33 ` Wolfgang Schuster

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).