[NTG-context] One-off theorem titles

Wolfgang Schuster schuster.wolfgang at googlemail.com
Sun Mar 6 09:44:33 CET 2011


Am 06.03.2011 um 00:03 schrieb Aditya Mahajan:

> On Fri, 4 Mar 2011, Hans Hagen wrote:
> 
>> On 4-3-2011 7:05, Wolfgang Schuster wrote:
>> 
>>> In which are these alternatives are better than my module__command, you replace only the _ by !
>> 
>> because an ! stands out; anyway, we should avoid multiple _ in a row
>> 
>> (i'll put a few mkvi modules in the core to get a feeling .. using _ does not always look better btw)
> 
> Here is an experiment with @ and _. I would prefer to change @ to :: (but for that we would need to change the ptrcatcodes).


+1 for “:”

I can then change this

\unexpanded\def\annotation_placement_define
  {\dodoubleargument\annotation_placement__define}

\def\annotation_placement__define[#name][#command]%
  {\setvalue{annotation:#name}{#command}}

to (took the “o” from latex3 :)

\unexpanded\def\annotation_placement_define
  {\dodoubleargument\annotation_placement_define:oo}

\def\annotation_placement_define:oo[#name][#command]%
  {\setvalue{annotation:#name}{#command}}

Wolfgang



More information about the ntg-context mailing list