From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/44827 Path: news.gmane.org!not-for-mail From: Peter Rolf Newsgroups: gmane.comp.tex.context Subject: Re: Inleft text not verticaly aligned Date: Sat, 18 Oct 2008 15:02:42 +0200 Message-ID: <48F9DE72.9060400@gmx.net> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1224335100 18775 80.91.229.12 (18 Oct 2008 13:05:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 18 Oct 2008 13:05:00 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Oct 18 15:05:59 2008 connect(): Connection refused Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1KrBV8-0006Ja-R2 for gctc-ntg-context-518@m.gmane.org; Sat, 18 Oct 2008 15:05:50 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id CE1131FBCC; Sat, 18 Oct 2008 15:04:43 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 30605-03-2; Sat, 18 Oct 2008 15:04:02 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5BD191FC45; Sat, 18 Oct 2008 15:03:18 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8BFAA1FC36 for ; Sat, 18 Oct 2008 15:03:16 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 27641-04-6 for ; Sat, 18 Oct 2008 15:02:43 +0200 (CEST) Original-Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by ronja.ntg.nl (Postfix) with SMTP id 6E6AA1FBC1 for ; Sat, 18 Oct 2008 15:02:43 +0200 (CEST) Original-Received: (qmail invoked by alias); 18 Oct 2008 13:02:42 -0000 Original-Received: from i5387C858.versanet.de (EHLO [192.168.1.3]) [83.135.200.88] by mail.gmx.net (mp010) with SMTP; 18 Oct 2008 15:02:42 +0200 X-Authenticated: #24293357 X-Provags-ID: V01U2FsdGVkX1+0MGkleSa0XBa9n/em03Pnwt6OiyuKjiOX/oBX09 9CeVS6RnStBVkw User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) In-Reply-To: X-Enigmail-Version: 0.95.7 X-Y-GMX-Trusted: 0 X-FuHaFi: 0.61 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:44827 Archived-At: Eric D=C9TREZ schrieb: > Hello > = > I tried to get some sections without any title and with numbering in = > the margin. > Here is an example of a try I made : > = > %%%%%%%%%%%%%%%%%%% > \def\CommandQS#1#2{\inleft{\bf \currentheadnumber}} > \setuphead[section][alternative=3Dtext, > command=3D\CommandQS > ] > > \starttext > = > \section{} $\displaystyle {4 \over \displaystyle {1 \over 3}}$. > = > = > \stoptext > %%%%%%%%%%%%%%%%%%% > = > Unfortunately the numbering is aligned with the bottom of the line, = > not the base line. > = > Is there any cure to this ? You can try the following placebo... ;) \starttext \showframe \showgrid \def\CommandQS#1#2% {\inleftmargin{\bf\strut\currentheadnumber}} \setuphead[section] [alternative=3Dtext, command=3D\CommandQS, ] \starttext \section{} \ruledhbox{$\displaystyle {4 \over \displaystyle {1 \over 3}}$.} \stoptext btw: are you really starting your section with such an expression? Best wishes, Peter > = > = > = > Eric D=C9TREZ > Lyc=E9e Faidherbe Lille > Maths PC* : http://sites.google.com/site/pc1faidherbe/ > Info MP-MP* : http://sites.google.com/site/infofaidherbe/ > = > = > = > = > = > _________________________________________________________________________= __________ > 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-co= ntext > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : https://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > _________________________________________________________________________= __________ > = ___________________________________________________________________________= ________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________