mirror of
https://github.com/hmemcpy/milewski-ctfp-pdf.git
synced 2024-11-23 12:24:40 +03:00
Fixing a broken font size in \code environments. This caused all the text to shrink.
Fixes #83
This commit is contained in:
parent
9bec25693d
commit
97fd5b198d
@ -453,7 +453,7 @@ the Haskell library \code{Data.Char} is full of predicates like
|
||||
\code{} that defines, among others, \code{isalpha} and
|
||||
\code{isdigit}, but these return an \code{int} rather than a
|
||||
Boolean. The actual predicates are defined in \code{std::ctype} and
|
||||
have the form \code{ctype::is(alpha, c)},
|
||||
have the form \code{ctype::is(alpha, c)},\\
|
||||
\code{ctype::is(digit, c)}, etc.
|
||||
|
||||
\section{Challenges}
|
||||
|
@ -122,7 +122,7 @@
|
||||
|
||||
\newcommand{\acronym}[1]{\textsc{\fontspec[Numbers={OldStyle}]{Linux Libertine O}\MakeLowercase{#1}}}
|
||||
\newcommand{\newterm}[1]{\index{#1}\emph{#1}}
|
||||
\newcommand{\code}[1]{\small\texttt{#1}}
|
||||
\newcommand{\code}[1]{\Verb+{#1}+}
|
||||
\newcommand{\heading}[1]{{\sffamily\bfseries #1}}
|
||||
\newcommand{\mono}[1]{\hbox{\ttfamily\scriptsize #1}}
|
||||
\newcommand{\monoit}[1]{\hbox{\ttfamily\itshape\scriptsize #1}}
|
||||
|
Loading…
Reference in New Issue
Block a user