2

I'm using the minted package to syntax my code. When I'm doing so in I'm using the Matlab language. When to continue on the next line, we do so in Matlab by entering ... before the next row. However, the output in the pdf marks the actual row with a red square.

Now I'm inside the Matlab lexer math.py file and looking for way to add ... to be accepted and not to be treated as an error in my code. How should I put it?

Currently inside minted:

\begin{minted}[frame=lines, framesep=3mm, linenos=true, mathescape]{matlab}
function X = c(a, b,...
    c)
\end{minted}

The dots above yields the red square.

Curtain
  • 121

0 Answers0