langs.sty
changeset 607 3f4fc76dab2f
parent 591 863e502f6a5c
child 630 9b1c15c3eb6f
equal deleted inserted replaced
606:a50feaa0c4b3 607:3f4fc76dab2f
    39   morestring=[b]",
    39   morestring=[b]",
    40   otherkeywords={=,!=,:=,<,>,\%;*,/},
    40   otherkeywords={=,!=,:=,<,>,\%;*,/},
    41 }[keywords,comments,strings]
    41 }[keywords,comments,strings]
    42 
    42 
    43 
    43 
       
    44 
    44 \newcommand{\code}[1]{{\lstinline{#1}}}
    45 \newcommand{\code}[1]{{\lstinline{#1}}}
    45 \newcommand{\pcode}[1]{\mbox{\lstset{language={},keywordstyle=\color{black}}\lstinline!#1!}}
    46 \newcommand{\pcode}[1]{\mbox{\lstset{language={},keywordstyle=\color{black}}\lstinline!#1!}}
    46 \newcommand{\scode}[1]{\mbox{\lstset{language={},basicstyle=\ttfamily\color{codegreen}}\lstinline!#1!}}
    47 \newcommand{\scode}[1]{\mbox{\lstset{language={},basicstyle=\ttfamily\color{codegreen}}\lstinline!#1!}}
    47 \makeatother
    48 \makeatother
    48 
    49