# pn.pane.LaTex does not handle \\hline in an array environment?

**URL:** <https://discourse.holoviz.org/t/pn-pane-latex-does-not-handle-hline-in-an-array-environment/6820>\
**Category:** Panel\
**Created:** [February 3, 2024, 6:06pm UTC](https://discourse.holoviz.org/t/pn-pane-latex-does-not-handle-hline-in-an-array-environment/6820 "2024-02-03T18:06:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ea42gh](https://discourse.holoviz.org/user_avatar/discourse.holoviz.org/ea42gh/32/73_2.png) [@ea42gh](https://discourse.holoviz.org/u/ea42gh)\
**Post date:** [February 3, 2024, 6:06pm UTC](https://discourse.holoviz.org/t/pn-pane-latex-does-not-handle-hline-in-an-array-environment/6820/1 "2024-02-03T18:06:14Z")

</div>

```auto
pn.pane.LaTeX(r'$\left(\begin{array}{rr|r}1 & 2 & 3\\ 3 & 4 & 5 \end{array} \right)$')

```

works as expected, but

```auto
pn.pane.LaTeX(r'$\left(\begin{array}{rr|r}1 & 2 & 3\\ \hline 3 & 4 & 5 \end{array} \right)$')

```

does not. The same string in a Markdown cell does produce the expected result.  
**Any suggestion on how to get this to work?**

 ![pn.pane.LaTeX_problem](https://discourse.holoviz.org/uploads/default/original/2X/0/09a80a169f88f4cf5e0cbcce901150185a9707eb.png)

---

<div class="post-metadata">

**Author:** ![ahuang11](https://discourse.holoviz.org/user_avatar/discourse.holoviz.org/ahuang11/32/4947_2.png) [@ahuang11](https://discourse.holoviz.org/u/ahuang11)\
**Post date:** [February 3, 2024, 7:54pm UTC](https://discourse.holoviz.org/t/pn-pane-latex-does-not-handle-hline-in-an-array-environment/6820/2 "2024-02-03T19:54:53Z")

</div>

Maybe there’s a different backend, but if not, seems like a bug. Can you file an issue?
