Fixing a broken font size in \code environments. This caused all the text to shrink.

Fixes #83
This commit is contained in:
Igal Tabachnik 2017-10-31 11:17:45 +02:00
parent 9bec25693d
commit 97fd5b198d
2 changed files with 2 additions and 2 deletions

View File

@ -453,7 +453,7 @@ the Haskell library \code{Data.Char} is full of predicates like
\code{} that defines, among others, \code{isalpha} and \code{} that defines, among others, \code{isalpha} and
\code{isdigit}, but these return an \code{int} rather than a \code{isdigit}, but these return an \code{int} rather than a
Boolean. The actual predicates are defined in \code{std::ctype} and 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. \code{ctype::is(digit, c)}, etc.
\section{Challenges} \section{Challenges}

View File

@ -122,7 +122,7 @@
\newcommand{\acronym}[1]{\textsc{\fontspec[Numbers={OldStyle}]{Linux Libertine O}\MakeLowercase{#1}}} \newcommand{\acronym}[1]{\textsc{\fontspec[Numbers={OldStyle}]{Linux Libertine O}\MakeLowercase{#1}}}
\newcommand{\newterm}[1]{\index{#1}\emph{#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{\heading}[1]{{\sffamily\bfseries #1}}
\newcommand{\mono}[1]{\hbox{\ttfamily\scriptsize #1}} \newcommand{\mono}[1]{\hbox{\ttfamily\scriptsize #1}}
\newcommand{\monoit}[1]{\hbox{\ttfamily\itshape\scriptsize #1}} \newcommand{\monoit}[1]{\hbox{\ttfamily\itshape\scriptsize #1}}