From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/55357 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Removing vertical space before heading within framed layer Date: Sat, 26 Dec 2009 22:52:40 +0100 Message-ID: References: <1D2EC0AE-36A3-4560-9098-5A2FBE2D8756@googlemail.com> <23ACFA1B-F8AE-4846-B418-B43B26217BD2@mpq.mpg.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1261864399 27256 80.91.229.12 (26 Dec 2009 21:53:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 26 Dec 2009 21:53:19 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Dec 26 22:53:12 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.50) id 1NOeZT-00058G-B7 for gctc-ntg-context-518@m.gmane.org; Sat, 26 Dec 2009 22:53:11 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5CADDC9CAC; Sat, 26 Dec 2009 22:53:10 +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 fYowric-ISi4; Sat, 26 Dec 2009 22:53:06 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3CDA8C9CB7; Sat, 26 Dec 2009 22:53:05 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 491EAC9CB7 for ; Sat, 26 Dec 2009 22:53:02 +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 wdBlfAJT7psD for ; Sat, 26 Dec 2009 22:52:45 +0100 (CET) Original-Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.153]) by balder.ntg.nl (Postfix) with ESMTP id 981FDC9CAC for ; Sat, 26 Dec 2009 22:52:44 +0100 (CET) Original-Received: by fg-out-1718.google.com with SMTP id 16so2667897fgg.2 for ; Sat, 26 Dec 2009 13:52:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:content-type:mime-version :subject:from:in-reply-to:date:content-transfer-encoding:message-id :references:to:x-mailer; bh=/vgQFRaKjmNQCmlUHcJSE37EORF59Pzit2elJqd0IcU=; b=KESQ+6qRNKQjuYXiaVivOS1oYBJEQv2bUBxVeisQP7ZCSK4xwRlJaXLN1J/UO5yWHJ AViNswjvmAkOv9JmfI6voJX8D85bMit9erTpWtj9qslFOBrL5pDgBR7nAbbxWRgOCIVo MNjO1+uRQYHfcoGN3uTRmbtZyuK0E+s0r19xk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=JX1hPsOXwm7d8TBenTWlpb0b2vCiOQmVV/sqftOUE/G6j05frS75ix1QQ9Fjc8959O sk/XB/1ls3KTf+zGGG8VoR2nTg1/ZHfAliswxp0YabnpEAMSrFdUiuB9cceuX2WPp2+B vLtnw2UFEKaVKqG6XaGt8Nzz1wQ12fevAqOkQ= Original-Received: by 10.87.73.4 with SMTP id a4mr9246433fgl.76.1261864363987; Sat, 26 Dec 2009 13:52:43 -0800 (PST) Original-Received: from ?192.168.2.23? (p5B292DE4.dip.t-dialin.net [91.41.45.228]) by mx.google.com with ESMTPS id d4sm24189448fga.11.2009.12.26.13.52.42 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 26 Dec 2009 13:52:43 -0800 (PST) In-Reply-To: <23ACFA1B-F8AE-4846-B418-B43B26217BD2@mpq.mpg.de> X-Mailer: Apple Mail (2.1077) 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:55357 Archived-At: Am 26.12.2009 um 22:41 schrieb Oliver Buerschaper: >>> slowly getting to grips with layer etc. However, some vertical space at the top of my framed layer appears whenever the first element is a heading: >> >> you can find in the details manual better ways to set heading texts with a layer > > Well, actually I don't want to get a fancy heading using layers but rather I'd like to use layers like DTP text frames and fill them with (unnumbered) headings, paragraphs, formulas etc. Just like small pages I can position on the parent page arbitrarily. > > The issue arises whenever a heading (say \subject) happens to be the first piece of material I put into a layer. Any ideas to get rid of the leading vertical space? > > Actually, instead of a true heading I'd probably be fine with another command that gives me consistent style, line space, alignment, leading and trailing vertical space etc. After all, I'm going to use this in a poster, so I won't need an entry in the TOC, nor any markers, anchors to the "heading" etc. Why not just \definedfont[TitleFont][Serif sa 3] and {\TitleFont \startbuffer[test] {\TitleFont Lorem ipsum dolor sit amet, consectetur, sadipisci\unknown\par} \input zapf \stopbuffer 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 ___________________________________________________________________________________