From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/29847 Path: news.gmane.org!not-for-mail From: wwl@musensturm.de Newsgroups: gmane.comp.tex.context Subject: grid and \textrule Date: Tue, 01 Aug 2006 00:14:33 +0200 Message-ID: <44CE9CE9.11710.1FF688E@wwl.musensturm.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1154384053 7803 80.91.229.2 (31 Jul 2006 22:14:13 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 31 Jul 2006 22:14:13 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Tue Aug 01 00:14:11 2006 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 ciao.gmane.org with esmtp (Exim 4.43) id 1G7g1W-0005iN-V0 for gctc-ntg-context-518@m.gmane.org; Tue, 01 Aug 2006 00:14:07 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 53EE31FD54; Tue, 1 Aug 2006 00:14:05 +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 28475-02; Tue, 1 Aug 2006 00:14:04 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id CD97B1FDDC; Tue, 1 Aug 2006 00:11:53 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 44F6C1FDDC for ; Tue, 1 Aug 2006 00:11:50 +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 28210-03-2 for ; Tue, 1 Aug 2006 00:11:46 +0200 (CEST) Original-Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.188]) by ronja.ntg.nl (Postfix) with SMTP id A2B2F1FDDB for ; Tue, 1 Aug 2006 00:11:44 +0200 (CEST) Original-Received: from [217.185.96.100] (helo=[217.185.96.100]) by mrelayeu.kundenserver.de (node=mrelayeu1) with ESMTP (Nemesis), id 0MKwpI-1G7fzE0izW-00066D; Tue, 01 Aug 2006 00:11:44 +0200 Original-To: ntg-context@ntg.nl Priority: normal X-mailer: Pegasus Mail for Windows (4.31, DE v4.31 R1) Content-description: Mail message body X-Provags-ID: kundenserver.de abuse@kundenserver.de login:435c0b4f7f28cf0ca959f1bbde7b90f3 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 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:29847 Archived-At: Hallo! I use \setuplayout[grid=yes] and a chapterdefinition which looks like: Author ------------------------------------------------- Title Text text text ... The hor. Line above is a \textrule and the vert. spacing between author and line and line and Title resp. should not depent on the grid. So I can not use \placeongrid{textrule} in my chapterdefinition. I have to do this afterwards. \blank[force,3.9pt] In short: \setuplayout[grid=yes] \def\Sync{...} \showgrid \starttext Bla Blub \textrule \Sync Bla Blub \stoptext How should \Sync be defined to snap on the next gridline? My solution is \def\Sync{\blank[force,7.4pt]}% try and error isn't there a better solution? Wolfgang