[sage-devel] Re: latex function and operations with fraction subscripts

2022-07-09 Thread 'Markk' via sage-devel
Thanks, that does work. After (re-)implementing it I remembered why I didn't use latex_name--it doesn't seem to pickle: sage: logr = SR.symbol('logr', domain='complex', latex_name=r'L_{x/x_0}') : latex(logr) L_{x/x_0} sage: import pickle : path_name = '/home/mark/' : pickle_file_name

[sage-devel] latex function and operations with fraction subscripts

2022-07-04 Thread 'Markk' via sage-devel
sage: x = SR.symbol('x') : x_0 = SR.symbol('x_0') : logr = SR.symbol('L_x/x_0') : logr_ex = logr == log(x/x_0) : latex(logr_ex) : latex(logr_ex.solve(x)[0]) L_{\mathit{x/x}_{0}} = \log\left(\frac{x}{x_{0}}\right) x = x_{0} e^{\frac{L_{x}}{x_{0}}} The above attempt at using a sy