From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/57445 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: three problems Date: Thu, 25 Mar 2010 06:23:35 +0100 Message-ID: <4BAAF357.8040105@googlemail.com> References: <54d7f5601003241637j1f5a931n6243eab168aaf91b@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1269494636 29014 80.91.229.12 (25 Mar 2010 05:23:56 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 25 Mar 2010 05:23:56 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Mar 25 06:23:51 2010 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.69) (envelope-from ) id 1NufXn-0007mk-2Y for gctc-ntg-context-518@m.gmane.org; Thu, 25 Mar 2010 06:23:47 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2A97FC9D26; Thu, 25 Mar 2010 06:23:45 +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 LXq+jj+ozLcq; Thu, 25 Mar 2010 06:23:42 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6C148C9D3E; Thu, 25 Mar 2010 06:23:42 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 91B69C9D3E for ; Thu, 25 Mar 2010 06:23:41 +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 Wb1CZrvr+Anh for ; Thu, 25 Mar 2010 06:23:39 +0100 (CET) Original-Received: from mail-fx0-f222.google.com (mail-fx0-f222.google.com [209.85.220.222]) by balder.ntg.nl (Postfix) with ESMTP id 5502BC9D26 for ; Thu, 25 Mar 2010 06:23:39 +0100 (CET) Original-Received: by fxm22 with SMTP id 22so3603951fxm.34 for ; Wed, 24 Mar 2010 22:23:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=hXbhQxK00P+tPFKAuOgSCJZoNdY/c+1okOcWQYU8Q+U=; b=IsN7eWf4H2WWsNUKHQVVVecrB/Lfobb2/BxACx0ozNtAZPDPS69uZQ8ktL6s9hKlMx UMlD/epcxyF0ye/rOFGB8+x9swIexYvV5TJCpD5ngb8N9uIO60LBazdrHINfnk57xlJz dpXTGmpG+LRUnQVveKoTSvPIz0M8hQfVvbp/A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=pSId4x0+GdL197H8Z0Z3jIwA6y650f6a2T8ddv0E55ewljfkX74Fb0Aa4piXYzqfGs NJieIQbrBYS8xyUo4s3mKsrPDzs5gn7k99NKcmEuPRDSEFPPghf2ZJ3w82DRWc0bprHw WS/IJ5AHApl9QbB2h+dyaH1+ooq/WDRIUD0N8= Original-Received: by 10.223.76.79 with SMTP id b15mr4068696fak.89.1269494618879; Wed, 24 Mar 2010 22:23:38 -0700 (PDT) Original-Received: from [192.168.2.23] (p5B293341.dip.t-dialin.net [91.41.51.65]) by mx.google.com with ESMTPS id h2sm1414108fkh.55.2010.03.24.22.23.37 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 24 Mar 2010 22:23:38 -0700 (PDT) User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; de; rv:1.9.1.8) Gecko/20100227 Thunderbird/3.0.3 In-Reply-To: <54d7f5601003241637j1f5a931n6243eab168aaf91b@mail.gmail.com> 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:57445 Archived-At: Am 25.03.10 00:37, schrieb Michael Saunders: > 1. central headers with margin overhanging: > > I find that the following line: > > \setupheadertexts[margin][\rlap{\getmarking[section]}\hfill][\hfill\llap{\getmarking[subsection]}] > > will set up a header nicely, overhanging the margins. To be clear, I > meant that: > the left header text begins at the leftmost extreme of the left margin > and goes as far right as it needs to, even above the text area, and > the right header text begins whereever it has to, even above the text, > to end at the rightmost extreme of the right margin. > > On the other hand, this code: > > \setupheadertexts[\setups{text a}] > \startsetups[text a] > \rlap{\getmarking[section]}\hfill > \hfill > --center text here-- > \hfill > \hfill\llap{\getmarking[subsection]} > \stopsetups > > can place a center header text. > > Is there a way to do both? > \setuplayout [backspace=6cm, width=middle] \setupheadertexts [margin] [\leftaligned{very long leftmargin text}] [\rightaligned{very long rightmargin text}] \setupheadertexts[text in the middle] \showframe \starttext \input knuth \stoptext or \setuplayout [backspace=6cm, width=middle] \setupheader [margin] [lefttext=\leftaligned{very long leftmargin text}, righttext=\rightaligned{very long rightmargin text}] \setupheader [text] [middletext={text in the middle}] \showframe \starttext \input knuth \stoptext 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 ___________________________________________________________________________________