Skip to content

Commit cc5382b

Browse files
committed
Drop unsupported addfontfeature
1 parent 25b23dd commit cc5382b

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

concurrency-primer.tex

+2-6
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,7 @@
4646
\setkomafont{subsection}{\normalsize\itshape}
4747
\renewcommand*\thesection{\upshape\arabic{section}}
4848

49-
% Use uppercase numbers for numbered lists.
50-
% (We're using lowercase ones for the body text.)
51-
% See http://tex.stackexchange.com/a/133186
5249
\usepackage{enumitem}
53-
\setlist[enumerate]{font=\addfontfeatures{Numbers=LowercaseOff}}
5450

5551
% Custom footer
5652
\usepackage{scrlayer-scrpage}
@@ -123,8 +119,8 @@
123119

124120
% C++ looks nicer if the ++ is in a monospace font and raised a bit.
125121
% Also, use uppercase numbers to match the capital C.
126-
\newcommand{\cplusplus}[1]{C\kern-0.1ex\raisebox{0.15ex}{\texttt{++}}{\addfontfeature{Numbers=LowercaseOff}#1}}
127-
\newcommand{\clang}[1]{C{\addfontfeature{Numbers=LowercaseOff}#1}}
122+
\newcommand{\cplusplus}[1]{C\kern-0.1ex\raisebox{0.15ex}{\texttt{++}}}
123+
\newcommand{\clang}[1]{C}
128124
\newcommand{\csharp}{C\raisebox{0.25ex}{\#}}
129125

130126
\newcommand{\fig}[1]{Figure~\ref{#1}}

0 commit comments

Comments
 (0)