Skip to content

Commit 6a8c68d

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

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

source/macros.tex

+3-3
Original file line numberDiff line numberDiff line change
@@ -171,9 +171,9 @@
171171
%%--------------------------------------------------
172172
%% Macros for funky text
173173
\newcommand{\Cpp}{\texorpdfstring{C\kern-0.05em\protect\raisebox{.35ex}{\textsmaller[2]{+\kern-0.05em+}}}{C++}}
174-
\newcommand{\CppIII}{\Cpp{} 2003}
175-
\newcommand{\CppXI}{\Cpp{} 2011}
176-
\newcommand{\CppXIV}{\Cpp{} 2014}
174+
\newcommand{\CppIII}{\Cpp~2003}
175+
\newcommand{\CppXI}{\Cpp~2011}
176+
\newcommand{\CppXIV}{\Cpp~2014}
177177
\newcommand{\opt}[1]{#1{\ensuremath{_\mathit{opt}}}}
178178
\newcommand{\dcr}{-{-}}
179179
\newcommand{\bigoh}[1]{\ensuremath{\mathscr{O}(#1)}}

0 commit comments

Comments
 (0)