On 22 ago, 15:41, Oscar Lazo <estadisticame...@gmail.com> wrote: > A general "physics" module would be nice too, we could put some other > things there once we are satisfied with units. In particular, I'd like > to see physical constants. So far i cannot get sage to render plank's > reduced constant as hbar. > > Cheers! > > Oscar. >
Well, my module can also implement physical constants, but they're directly substituted by its value. Example: sage: U('Rgas') 8.31447200000000 J/(K*mol) About rendering of variables, you can use the latex_name argument: sage: h_ = var('h_', latex_name=r'\hbar'); h_ -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org