Which colour does Matlab use for strings?
조회 수: 15 (최근 30일)
이전 댓글 표시
Bit of a strange question but I'm putting my .m files into Latex and after trying to use a few importing files I've found from various sites I've come to the conclusion that using \begin{alltt} is actually much easier.
The only problem is colour... Is there a way to find out what colour Matlab uses for strings? As in when you type text between ' ' in the command window, it becomes light purple. What is the RGB code for this or does anyone know if Latex already has a colour that would do the job?
댓글 수: 0
채택된 답변
Jiro Doke
2011년 2월 19일
On my MATLAB, the color for the strings is [160, 32, 240] (in uint8). You can check it from your Preferences -> Colors -> Strings.
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 LaTeX에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!