# Border Matrix in Pluto

**URL:** https://discourse.julialang.org/t/border-matrix-in-pluto/72253
**Category:** General Usage
**Tags:** pluto-and-latex
**Created:** [November 29, 2021, 7:31pm UTC](https://discourse.julialang.org/t/border-matrix-in-pluto/72253 "2021-11-29T19:31:41Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![sashmit](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sashmit/32/18791_2.png) [@sashmit](https://discourse.julialang.org/u/sashmit)
#### Post date: [December 1, 2021, 3:54pm UTC](https://discourse.julialang.org/t/border-matrix-in-pluto/72253/4 "2021-12-01T15:54:13Z")

</div>

> [@Christopher\_Fisher](#):
>
> Thank you for your answer. Is it possible to do this inside the notebook cell rather than the .jl file? The following did not work:

CommonMark seems to work for me instead of the built in Markdown. It works in many situations where Markdown doesn’t work: [CommonMark Math in Pluto](https://discourse.julialang.org/t/commonmark-math-in-pluto/68104)

I had to remove the comments in the latex since they seemed to break the parser but worked fine after that.

```julia
# ╔═╡ d1657bc0-61e4-4129-9dd5-7bd7e89a3629
using CommonMark

# ╔═╡ f23b0978-7f30-47b1-b6bd-dbb72c25b82f
cm"""
``
\begin{align}
  f(x) &= ax^2 + bx + c \\
  &= \begin{array}{c c}
    & \begin{array} {@{} c c c @{}}
      u_1 & \cdots & u_q
    \end{array} \\
    \begin{array}{c}
      e_1 \\ \vdots \\ e_n
    \end{array}\hspace{-1em} &
    \left(
      \begin{array}{@{} c c c @{}}
        u_{11} & \cdots & u_{1q} \\
        \vdots & & \vdots \\
        u_{n1} & \cdots & u_{nq}
      \end{array}
    \right) \\
    \mbox{} 
  \end{array}
  &= ax^2 + bx + c
\end{align}
``
"""

```

---

_[View the full topic](https://discourse.julialang.org/t/border-matrix-in-pluto/72253)._
