From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/74960 Path: news.gmane.org!not-for-mail From: Emmanuel Asante Newsgroups: gmane.comp.tex.context Subject: Re: Text Indentation and Space Around Headers Date: Thu, 8 Mar 2012 11:06:02 -0700 Message-ID: References: <20120308184144.7632a479@homerow> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1646819590==" X-Trace: dough.gmane.org 1331229987 16369 80.91.229.3 (8 Mar 2012 18:06:27 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 8 Mar 2012 18:06:27 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Mar 08 19:06:24 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1S5hjL-0007je-Eb for gctc-ntg-context-518@m.gmane.org; Thu, 08 Mar 2012 19:06:23 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E4295CB28F; Thu, 8 Mar 2012 19:06:22 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id GNZptFKcErZD; Thu, 8 Mar 2012 19:06:17 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5F250CB27F; Thu, 8 Mar 2012 19:06:17 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 75E4CCB27F for ; Thu, 8 Mar 2012 19:06:15 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id LJ21SJerU8YO for ; Thu, 8 Mar 2012 19:06:04 +0100 (CET) Original-Received: from filter1-ams.mf.surf.net (filter1-ams.mf.surf.net [192.87.102.69]) by balder.ntg.nl (Postfix) with ESMTP id 1D370CB275 for ; Thu, 8 Mar 2012 19:06:04 +0100 (CET) Original-Received: from mail-tul01m020-f169.google.com (mail-tul01m020-f169.google.com [209.85.214.169]) by filter1-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q28I62WH017079 for ; Thu, 8 Mar 2012 19:06:03 +0100 Original-Received: by obbta14 with SMTP id ta14so1256861obb.14 for ; Thu, 08 Mar 2012 10:06:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=7arysfOhlA933+Ok64Aeq3hovfZu2Zbqu8lAbaJNs8o=; b=vQAXZydi6VLg4QrmEMNKR2ZPzGGVrdg1ek5s4u4QazQ1OicxCwpiBPu52MTurJa6L+ vDbxKAzdikgFozfKTS/u5iorc1oyMndoa1b2SlWJlumrhrsbQmav5lE1wz7JR3pGPOfy Qg2JgHs/bDGBhYJ+dz7Rlj2T+cv89rd7MYTueo/8XhZmGy54bed6DUsb6ZQSnwDszHD7 DkDaFtmq99EEsP2LMoSZnfCv5C4b0AEpsd9v4moJiAdfK4aOIKSprGGq7FqN7ybOySEp LoeZRgnX9in0YuPTIdR0b3ww+aRzD1hLfkuVkH1dAzl2B/sT8YF6mUxWelTWkojfH3EQ cMOQ== Original-Received: by 10.182.192.36 with SMTP id hd4mr2725853obc.60.1331229962483; Thu, 08 Mar 2012 10:06:02 -0800 (PST) Original-Received: by 10.182.188.102 with HTTP; Thu, 8 Mar 2012 10:06:02 -0800 (PST) In-Reply-To: <20120308184144.7632a479@homerow> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.214.169; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0NGH663hS - 91201adbdf8e - 20120308 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.69 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:74960 Archived-At: --===============1646819590== Content-Type: multipart/alternative; boundary=14dae9399b5b0735d104babf21fb --14dae9399b5b0735d104babf21fb Content-Type: text/plain; charset=ISO-8859-1 On Thu, Mar 8, 2012 at 10:41 AM, Marco wrote: > On 2012-03-08 Emmanuel Asante wrote: > > > I want to indent all text in a document except the chapter header > > text by a given amount. > > That's a strange way of doing things, if I get it right what you > mean. If you want to have the number in the margin, you can use > > \setupheads [alternative=inmargin] > > or you can provide a negative indent for the heads > > \setupheads [margin=-2cm] > > which has the same effect as indenting everything else. > > > Secondly, how do I control the space around headers? > > \setuphead [chapter] > [ > after=, % To remove the space > %after={\blank[1cm]}, > %after={\blank[2cm]}, > ] > > Marco > > Marco, No, I don't want the number in the margin. As you and Wolfgang have suggested, it is easier to move the headers to the left than to move the text to the right. I will play around with it and see what I get. Thanks > > > ___________________________________________________________________________________ > 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 > > ___________________________________________________________________________________ > --14dae9399b5b0735d104babf21fb Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

On Thu, Mar 8, 2012 at 10:41 AM, Marco <= span dir=3D"ltr"><netuse@lavabit.c= om> wrote:
On 2012-03-08 Emmanuel Asante <emmanuela.asante@gmail.com> wrote:

> I want to indent all text =A0in a document except the chapter header > text by a given amount.

That's a =A0strange way of =A0doing things, if I =A0get it right = =A0what you
mean. If you want to have the number in the margin, you can use

\setupheads [alternative=3Dinmargin]

or you can provide a negative indent for the heads

\setupheads [margin=3D-2cm]

which has the same effect as indenting everything else.

> Secondly, how do I control the space around headers?

\setuphead [chapter]
=A0 =A0 =A0 =A0[
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0after=3D, =A0 =A0 =A0 =A0 =A0 =A0 =A0% To r= emove the space
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0%after=3D{\blank[1cm]},
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0%after=3D{\blank[2cm]},
=A0 =A0 =A0 =A0]

Marco


Marco,

No, I don't= want the number in the margin. As you and Wolfgang have suggested, it is e= asier to move the headers to the left than to move the text to the right. I= will play around with it and see what I get.

Thanks

___________________________________________________________________________= ________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-context@ntg.nl / <= a href=3D"http://www.ntg.nl/mailman/listinfo/ntg-context" target=3D"_blank"= >http://www.ntg.nl/mailman/listinfo/ntg-context
webpage =A0: http://= www.pragma-ade.nl / http://tex.aanhet.net
archive =A0: http://foundry.supelec.fr/projects/contextrev/
wiki =A0 =A0 : http:= //contextgarden.net
___________________________________________________________________________= ________

--14dae9399b5b0735d104babf21fb-- --===============1646819590== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============1646819590==--