write_latex_definitions: use texttt for variable names, #478
parent
3539dc7153
commit
10652be09a
|
@ -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,:)), '_', '\\_'));
|
||||
|
|
Loading…
Reference in New Issue