src/Doc/Isar_Ref/document/showsymbols
changeset 67146 909dcdec2122
parent 63676 88727334666e
equal deleted inserted replaced
67145:e77c5bfca9aa 67146:909dcdec2122
     3 print "\\begin{supertabular}{ll\@{\\qquad}ll}\n";
     3 print "\\begin{supertabular}{ll\@{\\qquad}ll}\n";
     4 
     4 
     5 $eol = "&";
     5 $eol = "&";
     6 
     6 
     7 while (<ARGV>) {
     7 while (<ARGV>) {
     8     if (m/^\\newcommand\{\\(isasym|isactrl)([A-Za-z]+)\}/) {
     8     if (m/^\\newcommand\{\\isasym([A-Za-z]+)\}/) {
     9         if ($1 eq "isasym") {
     9         print "\\verb,\\<$1>, & {\\isasym$1} $eol\n";
    10             print "\\verb,\\<$2>, & {\\isasym$2} $eol\n";
       
    11         }
       
    12         else {
       
    13             print "\\verb,\\<^$2>, & {\\isactrl$2} $eol\n";
       
    14         }
       
    15         if ("$eol" eq "&") {
    10         if ("$eol" eq "&") {
    16             $eol = "\\\\";
    11             $eol = "\\\\";
    17         } else {
    12         } else {
    18             $eol = "&";
    13             $eol = "&";
    19         }
    14         }