Skip to content

Commit c6d5947

Browse files
committed
[macros] Change \Cpp macro to look nicer and parse as 'C++'
1 parent 9ff5696 commit c6d5947

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

source/macros.tex

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,9 +115,7 @@
115115

116116
%%--------------------------------------------------
117117
%% Macros for funky text
118-
\newcommand{\Rplus}{\protect\hspace{-.1em}\protect\raisebox{.35ex}{\smaller{\smaller\textbf{+}}}}
119-
% \newcommand{\Rplus}{+}
120-
\newcommand{\Cpp}{\mbox{C\Rplus\Rplus}\xspace}
118+
\newcommand{\Cpp}{C\protect\raisebox{.35ex}{\smaller[2]{++}}\xspace}
121119
\newcommand{\CppIII}{\Cpp 2003\xspace}
122120
\newcommand{\CppXI}{\Cpp 2011\xspace}
123121
\newcommand{\CppXIV}{\Cpp 2014\xspace}

0 commit comments

Comments
 (0)