Commit dd1a9aae authored by Houtan Bastani's avatar Houtan Bastani
Browse files

utilities: fixed name2tex regexprep for octave

parent 27181a26
......@@ -31,7 +31,11 @@ if info
end
end
tex = regexprep(name, '_', '\\_');
if isoctave
tex = regexprep(name, '_', '\_');
else
tex = regexprep(name, '_', '\\_');
end
if info
for i=1:nn
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment