In notebook, I want to define \floor{x} as \lfloor x \rfloor so I
tried

from sage.misc.latex import latex_extra_preamble

latex_extra_preamble()
'\\newcommand{\\floor}[1]{ \\lfloor #1 \\rfloor}'

%latex
$\floor{x}, \lfloor x \rfloor$

shows that \floor{x} does not typeset correctly and the system does
recognize both \lfloor and \rfloor

Am I missing something? Any ideas?

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to