On Tue, Mar 24, 2009 at 9:58 AM, John H Palmieri <jhpalmier...@gmail.com> wrote: > > Currently the latex methods for ZZ, RR, etc. all used mathbf -- plain > boldface -- rather than mathbb -- 'blackboard' bold. See also the (not > currently in use) file SAGE_ROOT/devel/sage/doc/common/macros.tex: > lots of mathbf, no mathbb. > > Is this an official style choice for Sage, or did it just > spontaneously occur?
I "officially" chose it for the same reason I chose mathbb in all the books/articles I wrote, which is that numerous people in publishing convinced me that it is a better choice. > What do you think of this choice? (I happen to prefer mathbf.) I personally like it, since I made it. > Would it be worthwhile to have it user-customizable somehow? We could > have a command \sagebold or \ring or something, which might be \mathbf > by default, but if you set a variable or call a function, it would > change to \mathbb. (I am willing to implement this, but are there > similar configurable options in Sage on which I could model it?) I definitely think it would be worthwhile to have it user-customizable. I think one of the best configurable options in Sage is the proof object (type pro[tab]). This suggests maybe an object, called maybe "tex", "typeset", or "latex", or something, which has well-documented functions for each option one might want to configure, e.g., sage: latex.matrix_parens('[',']') sage: latex.sagebold('mathbf') I like "latex", since in the notebook, I think there is *already* a latex object: sage: latex = sage.misc.latex.Latex() sage: latex? and we could just add to it. Note that the latex object is predefined in notebook sessions but not on the command line right now, but you could change that (make it be always defined). - William > > John > > > > -- William Stein Associate Professor of Mathematics University of Washington http://wstein.org --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---