close all

graphics_toolkit qt

ht = text (0.2, 0.5, 'voltage spectral density [dBV/{$\sqrt{\text{Hz}}$}]',
           'interpreter','latex',
           'color', 'b',
           'fontname', 'times new roman', 'fontsize', 12);

out_filename='tst_latex';
print(sprintf('%s.png', out_filename),'-svgconvert')
print(sprintf('%s.pdf', out_filename),'-dpdfcrop', '-svgconvert')
print(sprintf('%s.svg', out_filename))
