Skip to content

Commit 1bf763d

Browse files
committed
[cpp.predefined] Make double-underscore names searchable by switching from a
thin space to a kerning gap between the underscores.
1 parent 1f92e0b commit 1bf763d

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

source/macros.tex

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -211,9 +211,10 @@
211211
\newcommand{\unspecalloctype}{\UNSP{unspecified allocator type}}
212212

213213
%% Double underscore
214-
\newcommand{\unun}{\_\,\_}
215-
\newcommand{\xname}[1]{\unun\,#1}
216-
\newcommand{\mname}[1]{\tcode{\unun\,#1\,\unun}}
214+
\newcommand{\ungap}{\kern.5pt}
215+
\newcommand{\unun}{\_\ungap\_}
216+
\newcommand{\xname}[1]{\unun\ungap#1}
217+
\newcommand{\mname}[1]{\tcode{\unun\ungap#1\ungap\unun}}
217218

218219
%% Ranges
219220
\newcommand{\Range}[4]{\tcode{#1\brk{}#3,\brk{}#4\brk{}#2}\xspace}

0 commit comments

Comments
 (0)