Skip to content

Commit b4607c7

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

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

source/macros.tex

+4-4
Original file line numberDiff line numberDiff line change
@@ -189,10 +189,10 @@
189189
%%--------------------------------------------------
190190
%% Macros for funky text
191191
\newcommand{\Cpp}{\texorpdfstring{C\kern-0.05em\protect\raisebox{.35ex}{\textsmaller[2]{+\kern-0.05em+}}}{C++}}
192-
\newcommand{\CppIII}{\Cpp{} 2003}
193-
\newcommand{\CppXI}{\Cpp{} 2011}
194-
\newcommand{\CppXIV}{\Cpp{} 2014}
195-
\newcommand{\CppXVII}{\Cpp{} 2017}
192+
\newcommand{\CppIII}{\Cpp~2003}
193+
\newcommand{\CppXI}{\Cpp~2011}
194+
\newcommand{\CppXIV}{\Cpp~2014}
195+
\newcommand{\CppXVII}{\Cpp~2017}
196196
\newcommand{\opt}[1]{#1{\ensuremath{_\mathit{opt}}}}
197197
\newcommand{\dcr}{-{-}}
198198
\newcommand{\bigoh}[1]{\ensuremath{\mathscr{O}(#1)}}

0 commit comments

Comments
 (0)