Skip to content

Commit

Permalink
Introduce macro \mcode for \tcode text inside math mode.
Browse files Browse the repository at this point in the history
  • Loading branch information
jensmaurer committed Dec 19, 2016
1 parent 1b379b5 commit 5e59432
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/macros.tex
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@

% Code and definitions embedded in text.
\newcommand{\tcode}[1]{\CodeStylex{#1}}
\newcommand{\mcode}[1]{\text{\tcode{#1}}} % \tcode in math mode
\newcommand{\techterm}[1]{\textit{#1}\xspace}
\newcommand{\defnx}[2]{\indexdefn{#2}\textit{#1}\xspace}
\newcommand{\defn}[1]{\defnx{#1}{#1}}
Expand Down

0 comments on commit 5e59432

Please sign in to comment.