Questions tagged [matlab-prettifier]
43 questions
2
votes
2 answers
Use of Bera Mono font with \mlttfamily described by matlab-prettifier
I am using latex with pdftex and trying to use the Bera Mono font with the \mlttfamily described by matlab-prettifier documentation. However, my generated output seams to ignore my \lstset basicstyle = \mlttfamily setting and uses the default…
Lonny T
- 151
1
vote
1 answer
Matlab Prettifier Package Question
I am having difficulties changing the font size of the matlab-prettifier package. Here is a MWE.
This works great if I am okay with the default font size. But it's too big I think. I'd like to shrink it to something like footnotesize.
For reference,…
Nukesub
- 607
1
vote
0 answers
literate's replace option unable to deal with square brackets?
I am using matlab-pretifier to add some Matlab code to an appendix, and I would like to replace the units [g/cm^3] in the matlab code by $\mathrm{\left[g \cdot {cm}^{-3}\right]}$. For that I use the literate option under \lstinputlisting. However,…
Euclides
- 97
1
vote
1 answer
How do i remove numbered lines from the main text in doccument using Matlab-prettifier
I'm using
\usepackage[numbered]{matlab-prettifier}
but want to insert one line in the main document WITHOUT line numbers.
I'm adding MATLAB codes in appendix for which I need the numbers.
I'm inserting my codes in main document…
Jab
- 11
0
votes
1 answer
[matlab-prettifier]: Package Listings Error: Couldn't Load Requested Style
I am using matlab-prettifier to write matlab codes inside my LaTeX files. The block codes work fine, but the inline codes gives the error Package Listings Error: Couldn't Load Requested Style. How can I fix this…
0
votes
1 answer
\endscname error using package matlab-prettifier
I'm trying to prepare a beamer document using the matlab-prettifier package but I come across errors whenever I include a frame where I use code. I always get the following log:
! Missing \endcsname inserted.
…
ladyp
- 3