Skip to content

Commit 1586a0a

Browse files
committed
Merge pull request #579 from tkoeppe/c__plusplus
[macros] Change \Cpp macro to make "C++" look nicer
2 parents 490852f + 7a33e38 commit 1586a0a

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
@@ -116,9 +116,7 @@
116116

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

source/std.tex

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

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

0 commit comments

Comments
 (0)