CoCalc Public Filestmp / 2017-03-23-125707-octave.sagewsOpen in with one click!
Author: William A. Stein
a = raw_input("hi")
hi
latex.matrix_delimiters('[',']')
%html <div style="display:none;">\( \newcommand{\lt}{ &lt; } \newcommand{\gt}{ &gt; } \newcommand{\amp}{ &amp; } \newcommand{\CC}{\mathbb{C}} \newcommand{\RR}{\mathbb{R}} \newcommand{\ZZ}{\mathbb{Z}} \newcommand{\PP}{\mathbb{P}} \newcommand{\vv}{\mathbf} \renewcommand{\LS}{\mathcal{LS}} \newcommand{\ang}[1]{\left\langle #1 \right \rangle} \newcommand{\colvector}[1]{\begin{bmatrix} #1 \end{bmatrix} } \renewcommand{\set}[1]{\left\{ {#1} \right\}} \newcommand{\Col}{\mathcal{C}} \newcommand{\Row}{\mathcal{R}} \newcommand{\Nul}{\mathcal{N}} \)</div>
%md Displayed matrix: $$ \begin{bmatrix} a & b \\ b & c \end{bmatrix} $$ Non-displayed matrix: $ \begin{bmatrix} a & b \\ b & c \end{bmatrix} $ This works though $ \begin{bmatrix} a & b \\\\ b & c \end{bmatrix} $

Displayed matrix: [abbc] \begin{bmatrix} a & b \\ b & c \end{bmatrix} Non-displayed matrix: [abbc] \begin{bmatrix} a & b \\ b & c \end{bmatrix}

This works though [abbc] \begin{bmatrix} a & b \\\\ b & c \end{bmatrix}