From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/4130 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: setuptyping / linenumbers Date: Mon, 19 Feb 2001 15:57:25 +0100 Sender: owner-ntg-context@let.uu.nl Message-ID: <3.0.6.32.20010219155725.019edbe0@server-1> References: <01021913532401.01414@bilbo> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: main.gmane.org 1035394822 23236 80.91.224.250 (23 Oct 2002 17:40:22 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:40:22 +0000 (UTC) Cc: ConTeXt Original-To: "Uwe Koloska" In-Reply-To: <01021913532401.01414@bilbo> Xref: main.gmane.org gmane.comp.tex.context:4130 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:4130 At 01:53 PM 2/19/01 +0100, Uwe Koloska wrote: >Hello, > >I want to type some c-source files. As suggested by Ed, I use > > \def\displayfile#1{% > \startlinenumbering[type=small] > \typefile{#1} > \stoplinenumbering\page} > >For the document I have setup the pagelayout with a very small left margin. >So I tried to use > \setuplinenumbering[location=intext] >There is new space at the left of the text, but the linenumbers are outside >the text area. What happens? > >Because the deadline for the document is "yesterday" (as always ;-)) I >tried to use the default [location=inmargin] but now the linenumbers are >partly inside the text area box because it has an offset of 2mm. > >How can I increase the distance between the typeset text and its >linenumbers? I tried "backspace" but this increases left _and_ right >margins. Next I set "leftmargindistance" but this seems to be related to >doublesided layout -- nothing changes. > >How can I change left margins (edges, distances, etc.) of a >singlesided layout independent from the right ones? leftmargin=dimension rightmargin=dimension leftmargindistance=dimension rightmargindistance=dimension also "inmargin" swaps, so you mat prefer "inleft" Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com -------------------------------------------------------------------------