langs.sty
changeset 607 d58013f17af8
parent 591 e3d10383ae37
child 630 3cea57c5501f
equal deleted inserted replaced
606:fb5592db1c8a 607:d58013f17af8
    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