[NTG-context] howto define MyRule ?

Wolfgang Schuster schuster.wolfgang at googlemail.com
Tue Mar 20 14:42:19 CET 2012

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 “rule=command” but then you have to set rulecolor and rule thickness in your own definition (best us \blackrule for this).

The distance between the rule and the notes has to be added (you use \blank) in the rule definition but a “inbetween” key would be more convenient.

      %        \bgroup
      %        \setupalign[\noteparameter\c!align]%
     \placenoterule  % alleen in ..mode
      %        \par
      %        \egroup
+    \ifvmode
+      \noteparameter\c!inbetween
+    \fi
          {\ifdim\dp\scratchbox=\zeropoint         % this hack is needed because \vadjust
             \hbox{\lower\strutdp\box\scratchbox}% % in margin number placement
           \else                                   % hides the (always) present depth
     \dp\scratchbox\strutdepth % so we know that it has the note bodyfont depth

More information about the ntg-context mailing list