Commit 10652be0 authored by Houtan Bastani's avatar Houtan Bastani
Browse files

write_latex_definitions: use texttt for variable names, #478

parent 3539dc71
......@@ -67,7 +67,7 @@ for i=1:length(tables)
tex = eval([M_var_root{i} '_names_tex']);
long = eval([M_var_root{i} '_names_long']);
for j=1:size(names,1)
fprintf(fid, '%s & $%s$ & %s\\\\\n', ...
fprintf(fid, '\\texttt{%s} & $%s$ & %s\\\\\n', ...
regexprep(strtrim(names(j,:)), '_', '\\_'), ...
strtrim(tex(j,:)), ...
regexprep(strtrim(long(j,:)), '_', '\\_'));
......
Markdown is supported
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