Changeset 62c0f8a


Ignore:
Timestamp:
Jan 22, 2021, 12:02:14 PM (8 months ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
arm-eh, jacob/cs343-translation, master, new-ast-unique-expr
Children:
6c79bef
Parents:
d1b70d4
Message:

turn off math escape and add line number style

File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/LaTeXmacros/common.tex

    rd1b70d4 r62c0f8a  
    1111%% Created On       : Sat Apr  9 10:06:17 2016
    1212%% Last Modified By : Peter A. Buhr
    13 %% Last Modified On : Mon Oct  5 09:34:46 2020
    14 %% Update Count     : 464
     13%% Last Modified On : Fri Jan 22 12:00:40 2021
     14%% Update Count     : 481
    1515%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    1616
     
    229229\usepackage{listings}                                                                   % format program code
    230230\usepackage{lstlang}
     231\usepackage{calc}                                                                               % latex arithmetic
     232
    231233\makeatletter
    232 
    233234\newcommand{\LstBasicStyle}[1]{{\lst@basicstyle{#1}}}
    234235\newcommand{\LstKeywordStyle}[1]{{\lst@basicstyle{\lst@keywordstyle{#1}}}}
     
    266267aboveskip=4pt,                                                  % spacing above/below code block
    267268belowskip=3pt,
     269numberstyle=\footnotesize\sf,                   % numbering style
    268270% replace/adjust listing characters that look bad in sanserif
    269271literate={-}{\makebox[1ex][c]{\raisebox{0.4ex}{\rule{0.75ex}{0.1ex}}}}1 {^}{\raisebox{0.6ex}{$\scriptscriptstyle\land\,$}}1
     
    293295language=CFA,
    294296escapechar=\$,                                                  % LaTeX escape in CFA code
     297mathescape=false,                                               % LaTeX math escape in CFA code $...$
    295298moredelim=**[is][\color{red}]{@}{@},    % red highlighting @...@
    296299}% lstset
Note: See TracChangeset for help on using the changeset viewer.