From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/82172 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: space before and after headlines Date: Sun, 28 Apr 2013 17:29:25 +0200 Message-ID: References: <517D3FC5.9030909@gmx.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1367162969 21335 80.91.229.3 (28 Apr 2013 15:29:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 28 Apr 2013 15:29:29 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Apr 28 17:29:33 2013 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 1UWTXh-0007ZN-DD for gctc-ntg-context-518@m.gmane.org; Sun, 28 Apr 2013 17:29:33 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 02304101E0; Sun, 28 Apr 2013 17:29:33 +0200 (CEST) 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 a3+3+oRT9Lmg; Sun, 28 Apr 2013 17:29:31 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 4043F101E4; Sun, 28 Apr 2013 17:29:31 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1A9CE101E4 for ; Sun, 28 Apr 2013 17:29:30 +0200 (CEST) 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 eMnUn-PyTesx for ; Sun, 28 Apr 2013 17:29:29 +0200 (CEST) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by balder.ntg.nl (Postfix) with ESMTP id 7092B101E0 for ; Sun, 28 Apr 2013 17:29:29 +0200 (CEST) Original-Received: from mail-bk0-x22b.google.com (mail-bk0-x22b.google.com [IPv6:2a00:1450:4008:c01::22b]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r3SFTSVw001170 for ; Sun, 28 Apr 2013 17:29:29 +0200 Original-Received: by mail-bk0-f43.google.com with SMTP id jm19so2343852bkc.2 for ; Sun, 28 Apr 2013 08:29:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=44hKgTQL1+Zz8o0SxH3M1/aLCnrHAxZupZqoOiELprY=; b=oGVkxzAf8ZBzpOAdRN3Lg++ObPrFZxIbRItjWATChMe1MBUez7nYuoCdEpcwf6OTZk ogADynK2tD3k7PqxyoM02s4m1qAv10vNx0pga8dVObLQOvxAM/xMDkxVs6FP16YN0+zL w2XZd58hHJ30cHj2P8uzndZ/JDbXmWARmboRvrbXScS0P88Y4c64mbzjOlZAfEfPTDET RsREx1wvPyXbwyI9W3+MsufSa7dfB5TCQlDTJ2RVy3f259vad8lMWb9TYUTf58zSRmCT 4+mu1nOJw83blIalxQPgEHLFJ1BtLCg7uZGqgXyz736ya1iEtAJdlDh6REOext4tviQf vN2Q== X-Received: by 10.204.174.193 with SMTP id u1mr817977bkz.81.1367162968714; Sun, 28 Apr 2013 08:29:28 -0700 (PDT) Original-Received: from keima.localdomain (nrbg-4dbf8e67.pool.mediaWays.net. [77.191.142.103]) by mx.google.com with ESMTPSA id fe8sm5599742bkb.9.2013.04.28.08.29.27 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 28 Apr 2013 08:29:28 -0700 (PDT) In-Reply-To: <517D3FC5.9030909@gmx.de> X-Mailer: Apple Mail (2.1503) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2a00:1450:4008:c01::22b; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 03JtrtsH8 - ba4e9c165578 - 20130428 X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:82172 Archived-At: Am 28.04.2013 um 17:27 schrieb Jan Heinen : > I want to create a macro for headlines. > - before the headline there should be a big space > - after it a small space > - when the headline is at the beginning of the page there shouls be no s= pace before the headline. > = > A workaround could be this - although it's not very comfortable: > = > = > \starttext > = > {bf Headline 1} > \blank > text text text text text text text text text text text text text text tex= t text text text text text text text text text text text text text text tex= t text text text text text text text text .\par > = > \blank[2*big] > {bf Headline 2} > \blank > text text text text text text text text text text text text text text tex= t text text text text text text text text text text text text text text tex= t text text text text text text text text .\par > = > \blank[2*big] > {bf Headline 3} > \blank > text text text text text text text text text text text text text text tex= t text text text text text text text text text text text text text text tex= t text text text text text text text text .\par > = > \stoptext \setuphead [subject] [before=3D{\blank[2*big]}, after=3D{\blank[big]}, style=3Dbold] \starttext \subject{Headline 1} =85 \stoptext Wolfgang ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________