Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Took me a little bit to install this properly because of some unrelated bleeding-edge notebook issue, but here is what is happening:

\newcommand{\Bold}[1]{\mathbf{#1}}% latex.default(sage13, file = "") 
%
\begin{table}[!tbp]
\begin{center}
\begin{tabular}{lr}
\hline\hline
\multicolumn{1}{l}{sage13}&\multicolumn{1}{c}{}\tabularnewline
\hline
Min.&$0.00$\tabularnewline
1st Qu.&$2.25$\tabularnewline
Median&$4.50$\tabularnewline
Mean&$4.50$\tabularnewline
3rd Qu.&$6.75$\tabularnewline
Max.&$9.00$\tabularnewline
\hline
\end{tabular}
\end{center}
\end{table}

Mathjax doesn't support non-math commands; here is a list of their supported environments, which does not include table or tabular (since they are better done in HTML). It probably doesn't support newcommand, either. So I think this would be something we couldn't easily fix.

You could naturally still use this code inside SageTeX or some other setting, though I'd suggest just using latex(r.summary(range(10))) in that case.