Skip to content

Commit bf852e3

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

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

0 commit comments

Comments
 (0)