Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Markdown cell latex producing unwanted vertical bar

Vertical bars are being shown after latex sections when markdown cells are rendered. Is there any way to remove these?

For example, the following code inside a markdown cell:

$\left[ \begin{array}{cccc}
x_{11} & x_{12} & \ldots & x_{1D} \\
x_{21} & x_{22} & \ldots & x_{2D} \\
x_{31} & x_{32} & \ldots & x_{3D} \\ \end{array} \right]$

renders as

Matrix

and

$\mathbf{W} \in \mathbb{R}^{D\times K}$

renders as

Text

Software Versions

Mac OS 10.10.5

chrome 48.0.2564.48 (Official Build) beta (64-bit)

ipython notebook --version 4.0.6

like image 368
James Owers Avatar asked Jan 03 '16 05:01

James Owers


2 Answers

Here's the issue about this on jupyter repository, closed and merged in the beginning of February: https://github.com/jupyter/notebook/issues/1059

like image 76
Egor Ignatenkov Avatar answered Sep 28 '22 12:09

Egor Ignatenkov


I find this problem occurs in Chrome 48.0.2564.97, but not Firefox, in both Windows 10 and Ubuntu.

like image 43
metrprof Avatar answered Sep 28 '22 10:09

metrprof