Skip to content

Commit 468dcdb

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

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
@@ -179,9 +179,9 @@
179179
%%--------------------------------------------------
180180
%% Macros for funky text
181181
\newcommand{\Cpp}{\texorpdfstring{C\kern-0.05em\protect\raisebox{.35ex}{\textsmaller[2]{+\kern-0.05em+}}}{C++}}
182-
\newcommand{\CppIII}{\Cpp{} 2003}
183-
\newcommand{\CppXI}{\Cpp{} 2011}
184-
\newcommand{\CppXIV}{\Cpp{} 2014}
182+
\newcommand{\CppIII}{\Cpp~2003}
183+
\newcommand{\CppXI}{\Cpp~2011}
184+
\newcommand{\CppXIV}{\Cpp~2014}
185185
\newcommand{\opt}[1]{#1{\ensuremath{_\mathit{opt}}}}
186186
\newcommand{\dcr}{-{-}}
187187
\newcommand{\bigoh}[1]{\ensuremath{\mathscr{O}(#1)}}

0 commit comments

Comments
 (0)