[dev-context] \defineheadplacement

Wolfgang Schuster wolfgang.schuster at gmail.com
Thu Jun 16 21:18:05 CEST 2011


Hi Hans,

is it possible to integrate the two parameters for the number and text in the definition of the command?

%\def\dodefineheadplacement[#1][#2]% #3#4
%  {\setvalue{\??ns:#1}{#2}%
%   \setvalue{\??ns::#1}}

\def\dodefineheadplacement[#1][#2]%
  {\setvalue{\??ns:#1}{#2}%
   \setvalue{\??ns::#1}##1##2}


As \defineheadplacement is a user command it should be possible to use it in the form

  \defineheadplacement[test][horizontal]{\inleft{#1 #2}}


Wolfgang



More information about the dev-context mailing list