Skip to content

Commit 6e4e952

Browse files
committed
[macros] Change \Cpp macro to look nicer
1 parent de88fec commit 6e4e952

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-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\kern-0.05em\protect\raisebox{.35ex}{\textsmaller[2]{+\kern-0.05em+}}\xspace}
121119
\newcommand{\CppIII}{\Cpp 2003\xspace}
122120
\newcommand{\CppXI}{\Cpp 2011\xspace}
123121
\newcommand{\CppXIV}{\Cpp 2014\xspace}

source/std.tex

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@
4848
]{hyperref}
4949
\usepackage{memhfixc} % fix interactions between hyperref and memoir
5050

51+
\renewcommand\RSsmallest{5.5pt} % smallest font size for relsize
52+
5153
\input{layout}
5254
\input{styles}
5355
\input{macros}

0 commit comments

Comments
 (0)