From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/75233 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: howto define MyRule ? Date: Tue, 20 Mar 2012 14:42:19 +0100 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Apple Message framework v1257) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1332250953 17898 80.91.229.3 (20 Mar 2012 13:42:33 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 20 Mar 2012 13:42:33 +0000 (UTC) Cc: Hans Hagen To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Mar 20 14:42:32 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1S9zKZ-0000JO-PY for gctc-ntg-context-518@m.gmane.org; Tue, 20 Mar 2012 14:42:31 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 32C1E1025E; Tue, 20 Mar 2012 14:42:31 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id V7TxmYBDGnaI; Tue, 20 Mar 2012 14:42:26 +0100 (CET) Original-Received: from [127.0.0.1] (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D6BC8101FF; Tue, 20 Mar 2012 14:42:26 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 70CD0101FF for ; Tue, 20 Mar 2012 14:42:25 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id bBVYU88L3wzK for ; Tue, 20 Mar 2012 14:42:24 +0100 (CET) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by balder.ntg.nl (Postfix) with ESMTP id 9B15010194 for ; Tue, 20 Mar 2012 14:42:24 +0100 (CET) Original-Received: from mail-ey0-f169.google.com (mail-ey0-f169.google.com [209.85.215.169]) by filter3-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q2KDgNk7009428 for ; Tue, 20 Mar 2012 14:42:23 +0100 Original-Received: by eaal1 with SMTP id l1so17507eaa.14 for ; Tue, 20 Mar 2012 06:42:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; bh=t/dRK6Mn9DJW2aq7isy1iAo3Ob+v2sbkdoTrJFX1vGU=; b=NpbtK9nDTeEphbWKGDuR+GW0Uch2TRnVlN6WmlKjXryL/NOG1gepREXN4X4zP9MPOa oU6l8sIS7gHpDrtDU+8QrcLvHuWAUvZptzDueZ1qyCRU2/tzhGT5uQmRx85DPf5kxgat izP22vTtmLBbKb6/BxkUNZDvMUn/nQ31KW29u84m9lt6K3YVpaVlijBGGi4zEiVBMkWn UPuGyXD1mR3QsQNXA7iASMgOvGO7Ky+kZkKC6Brpp334KpRzwOsQ/LpG0OPlkbc+tks7 /R3o0sd5d89w0iPjfe7MmZ3ibnCEL2CIZI3c5LzbV0OPRvoeDL8uCid0Ffh0Qw6DPyz+ ON9g== Original-Received: by 10.213.21.148 with SMTP id j20mr42176ebb.158.1332250943343; Tue, 20 Mar 2012 06:42:23 -0700 (PDT) Original-Received: from [192.168.2.36] (p57AFB4C0.dip.t-dialin.net. [87.175.180.192]) by mx.google.com with ESMTPS id p57sm5374731eei.8.2012.03.20.06.42.21 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 20 Mar 2012 06:42:22 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.1257) X-Bayes-Prob: 0.9999 (Score 4.7, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.215.169; country=US; latitude=38.0000; longitude=-97.0000; http://maps.google.com/maps?q=38.0000,-97.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0UGLNGnaE - c0acbfafd5f1 - 20120320 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.219 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:75233 Archived-At: Am 20.03.2012 um 10:10 schrieb Steffen Wolfrum: > Hi, > = > how can I define the length of footnote's rule and the distance below it? > "rulecommand" doesn't seem to take these values (see below). You have to enable you own command with =93rule=3Dcommand=94 but then you h= ave to set rulecolor and rule thickness in your own definition (best us \bl= ackrule for this). The distance between the rule and the notes has to be added (you use \blank= ) in the rule definition but a =93inbetween=94 key would be more convenient. \def\strc_notes_place_inserts_indeed {\relax \ifdim\ht\currentnoteins>\zeropoint \endgraf \ifvmode \whitespace \noteparameter\c!before \fi % \bgroup % \setupalign[\noteparameter\c!align]% \placenoterule % alleen in ..mode % \par % \egroup + \ifvmode + \noteparameter\c!inbetween + \fi \bgroup \strc_notes_set_bodyfont \setbox\scratchbox\hbox {\strc_notes_flush_inserts}% \setbox\scratchbox\hbox {\setupcurrentnote [\c!location=3D, \c!width=3D\v!fit, \c!height=3D\v!fit, \c!strut=3D\v!no, \c!offset=3D\v!overlay]% \inheritednoteframed {\ifdim\dp\scratchbox=3D\zeropoint % this hack is needed = because \vadjust \hbox{\lower\strutdp\box\scratchbox}% % in margin number place= ment \else % hides the (always) pre= sent depth \box\scratchbox \fi}}% \setbox\scratchbox\hbox{\lower\strutdepth\box\scratchbox}% \dp\scratchbox\strutdepth % so we know that it has the note bodyfont d= epth \box\scratchbox \egroup \endgraf \ifvmode \noteparameter\c!after \fi \fi} = Wolfgang ___________________________________________________________________________= ________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________