Skip to content

Commit eb06b20

Browse files
committed
Merge pull request #639 from tkoeppe/pdf
[macros] Make \Cpp work in PDF bookmarks again
2 parents 25c928c + 4f0b604 commit eb06b20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/macros.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@
116116

117117
%%--------------------------------------------------
118118
%% Macros for funky text
119-
\newcommand{\Cpp}{C\kern-0.05em\protect\raisebox{.35ex}{\textsmaller[2]{+\kern-0.05em+}}\xspace}
119+
\newcommand{\Cpp}{\texorpdfstring{C\kern-0.05em\protect\raisebox{.35ex}{\textsmaller[2]{+\kern-0.05em+}}}{C++}\xspace}
120120
\newcommand{\CppIII}{\Cpp 2003\xspace}
121121
\newcommand{\CppXI}{\Cpp 2011\xspace}
122122
\newcommand{\CppXIV}{\Cpp 2014\xspace}

0 commit comments

Comments
 (0)