You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
\documentclass[12pt,twoside,a4paper]{scrartcl}
\usepackage[margin=.8in,footskip=0.25in]{geometry}
\usepackage{fontspec}
\usepackage{amsmath}
\usepackage{minted}
\usepackage{xcolor}
\begin{document}
\title{test}
\maketitle
\pagecolor{gray!10}
\begin{minted}[linenos=true,numberblanklines=false,obeytabs=true,breaklines=true,style=manni
,mathescape=true,framesep=.8cm]{c}
// this is fine $f=g$
// matrix rendering issue $det=ae-bd$ of the matrix $A = \begin{pmatrix} a & b \\ c & d \end{pmatrix}$
\end{minted}
\end{document}
The output when rendered using lualatex looks like this
It looks like the & is not being recognized as a LateX command.
Any way to get around this?
The text was updated successfully, but these errors were encountered:
subhophy
changed the title
\begin{matrix}...\end{pmatrix} not working as expected inside comments\begin{pmatrix}...\end{pmatrix} not working as expected inside comments
Jan 8, 2022
Consider the following piece of code.
The output when rendered using
lualatex
looks like thisIt looks like the
&
is not being recognized as a LateX command.Any way to get around this?
The text was updated successfully, but these errors were encountered: