Skip to content

Commit 6b2cea8

Browse files
committed
[macros] For references to earlier revisions of C++, use \Cpp~2003 etc.
This avoids linebreaks in an unpleaseant location.
1 parent 49c63cb commit 6b2cea8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

source/macros.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -173,9 +173,9 @@
173173
%%--------------------------------------------------
174174
%% Macros for funky text
175175
\newcommand{\Cpp}{\texorpdfstring{C\kern-0.05em\protect\raisebox{.35ex}{\textsmaller[2]{+\kern-0.05em+}}}{C++}}
176-
\newcommand{\CppIII}{\Cpp{} 2003}
177-
\newcommand{\CppXI}{\Cpp{} 2011}
178-
\newcommand{\CppXIV}{\Cpp{} 2014}
176+
\newcommand{\CppIII}{\Cpp~2003}
177+
\newcommand{\CppXI}{\Cpp~2011}
178+
\newcommand{\CppXIV}{\Cpp~2014}
179179
\newcommand{\opt}[1]{#1{\ensuremath{_\mathit{opt}}}}
180180
\newcommand{\dcr}{-{-}}
181181
\newcommand{\bigoh}[1]{\ensuremath{\mathscr{O}(#1)}}

0 commit comments

Comments
 (0)