From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/13571 Path: main.gmane.org!not-for-mail From: Steffen Wolfrum Newsgroups: gmane.comp.tex.context Subject: Re: Three basic questions on alignment Date: Sun, 28 Sep 2003 09:26:33 +0200 Sender: ntg-context-admin@ntg.nl Message-ID: References: Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: sea.gmane.org 1064735469 23607 80.91.224.253 (28 Sep 2003 07:51:09 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 28 Sep 2003 07:51:09 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Sun Sep 28 09:51:08 2003 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1A3WKi-0007ng-00 for ; Sun, 28 Sep 2003 09:51:08 +0200 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 63D5C10B28; Sun, 28 Sep 2003 09:51:01 +0200 (MEST) Original-Received: from smtprelay02.ispgateway.de (smtprelay02.ispgateway.de [62.67.200.157]) by ref.ntg.nl (Postfix) with ESMTP id A577C10B21 for ; Sun, 28 Sep 2003 09:44:04 +0200 (MEST) Original-Received: (qmail 5569 invoked from network); 28 Sep 2003 07:44:02 -0000 Original-Received: from unknown (HELO [217.184.8.20]) (159967@[217.184.8.20]) (envelope-sender ) by smtprelay02.ispgateway.de (qmail-ldap-1.03) with SMTP for ; 28 Sep 2003 07:44:02 -0000 X-Sender: 159967@pop3.estfiles.de In-Reply-To: Original-To: ntg-context@ntg.nl Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:13571 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:13571 Hi, my solution would be like this: >I have 3 cases where the usual command "align=left|right|... doesn't work: > > >1) \setuppagenumbering [alternative=doublesided,location={header,inmargin}] > >The page number is aligned left on a right page and vice versa. >How can I change this to align left on left pages and right on right pages? >(So the page number doesn't rag when flipping from page 1 to 100) \setupheadertexts[][section][chapter][] % that wasn't too difficult o) >2) \setupheader[style=\MyStyle] \setupheadertexts[section][][][chapter] > >The chapter title behaves like the pagenumber. How can I change the alignment from inner to outer here? \def\mypagenumber#1{\inframed[width=\marginwidth,frame=on,align={\doifoddpageelse{left}{right}}]{#1}} \setuppagenumbering [command=\mypagenumber,alternative=doublesided,location={header,inmargin}] >3) \setupfootnotedefinition[location=inleft] > >The footnote's numbers here are aligned left, both on the left and the right page. >What would be the command to align them right, with a constant distant to the note's text? \def\myFNnumber#1{\inframed[width=20pt,offset=.0em,frame=on,align=right]{#1}} \setupfootnotedefinition[command=\myFNnumber,location=left] Probably not very elaborated - but it's working. Steffen