version 1.10, 2005/02/24 09:37:05
|
version 1.11, 2005/02/25 06:31:00
|
Line 603 sub tolatex {
|
Line 603 sub tolatex {
|
|
|
if ($args[0] =~ /$specialfunc/) { |
if ($args[0] =~ /$specialfunc/) { |
if (defined($1)) { |
if (defined($1)) { |
return ('\mbox{log}_{10}'. $p1 . $args[1]->tolatex() . $p2); |
return ('\log_{10}'. $p1 . $args[1]->tolatex() . $p2); |
} |
} |
elsif (defined($2)) { |
elsif (defined($2)) { |
return ('\mbox{' . $2.$3 .'}^{-1}'. $p1 . $args[1]->tolatex() . $p2); |
return ('\\' . $2.$3 .'^{-1}'. $p1 . $args[1]->tolatex() . $p2); |
} |
} |
elsif (defined($4)) { |
elsif (defined($4)) { |
return ('|' . $args[1]->tolatex() . '|'); |
return ('|' . $args[1]->tolatex() . '|'); |