1:- module(latex, [new_command/3]). 2 3new_command(Name, Value, Command) :- 4 atomic_list_concat(['\\newcommand{\\', Name, '}{', Value, '\\xspace}'], '', Command). 5 6% Make this bidirectional (write to or read from a table). 7table