Skip to content

Commit ab5b669

Browse files
committed
[macros] Allow \cv macro to be used in math mode
1 parent 9c74ada commit ab5b669

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/macros.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@
330330
\newcommand{\stage}[1]{\item[Stage #1:]}
331331
\newcommand{\doccite}[1]{\textit{#1}}
332332
\newcommand{\cvqual}[1]{\textit{#1}}
333-
\newcommand{\cv}{\cvqual{cv}}
333+
\newcommand{\cv}{\ifmmode\mathit{cv}\else\cvqual{cv}\fi}
334334
\newcommand{\numconst}[1]{\textsl{#1}}
335335
\newcommand{\logop}[1]{{\footnotesize #1}}
336336

0 commit comments

Comments
 (0)