Skip to content

Commit

Permalink
try passing no-math correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisfenner committed Jan 20, 2024
1 parent 6c35ea8 commit 03578ca
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
4 changes: 2 additions & 2 deletions guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -738,10 +738,10 @@ To typeset complex equations with multi-character identifiers (such as the funct
we recommend using the functions `\mathit` (for functions) and `\mathrm` (for identifiers). This avoids strange kerning issues like in @q:hmac-iso-bad-kerning:

```md
$$ \mathit{HMAC}(K, "text") \coloneq H((\bar{K} \oplus OPAD) \Vert H((\bar{K} \oplus IPAD) \Vert "text")) $$ {#eq:hmac-iso-bad-kerning}
$$ HMAC(K, "text") \coloneq H((\bar{K} \oplus OPAD) \Vert H((\bar{K} \oplus IPAD) \Vert "text")) $$ {#eq:hmac-iso-bad-kerning}
```

$$ \mathit{HMAC}(K, "text") \coloneq H((\bar{K} \oplus OPAD) \Vert H((\bar{K} \oplus IPAD) \Vert "text")) $$ {#eq:hmac-iso-bad-kerning}
$$ HMAC(K, "text") \coloneq H((\bar{K} \oplus OPAD) \Vert H((\bar{K} \oplus IPAD) \Vert "text")) $$ {#eq:hmac-iso-bad-kerning}


\beginappendices
Expand Down
8 changes: 1 addition & 7 deletions template/eisvogel.latex
Original file line number Diff line number Diff line change
Expand Up @@ -385,16 +385,10 @@ $endif$
skipabove=\parskip,
nobreak=true]{customcodeblock}

\usepackage{fontspec}
\usepackage[no-math]{fontspec}
\setmainfont{Arial}
\setsansfont{Arial}
\setmathsf{Arial}

\setmonofont{Noto Sans Mono}
\setmathtt{Noto Sans Mono}

% TODO: Understand the redundancy with the unicode-math font setting above.
\setmathrm{Latin Modern Math}

\usepackage{newunicodechar}
% Use Arial Unicode to display various unicode symbols that might be present
Expand Down

0 comments on commit 03578ca

Please # to comment.