Skip to content

Commit

Permalink
Drop unsupported addfontfeature
Browse files Browse the repository at this point in the history
  • Loading branch information
jserv committed Apr 6, 2024
1 parent 25b23dd commit cc5382b
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions concurrency-primer.tex
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,7 @@
\setkomafont{subsection}{\normalsize\itshape}
\renewcommand*\thesection{\upshape\arabic{section}}

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

% Custom footer
\usepackage{scrlayer-scrpage}
Expand Down Expand Up @@ -123,8 +119,8 @@

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

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

0 comments on commit cc5382b

Please sign in to comment.