import schemdraw
import schemdraw.elements as elm
import ziamath as zm
elm.style(elm.STYLE_IEC)
zm.config.svg2 = False
with schemdraw.Drawing(canvas='svg') as d:
d.config(fontsize=26)
d += elm.Resistor().label('$R_1$')
d += elm.Resistor().label('$R_2$', loc='bot')
d.save('test.svg')