Skip to content

Commit

Permalink
Add local copy of TeX Gyre Pagella font
Browse files Browse the repository at this point in the history
  • Loading branch information
zeramorphic committed Sep 6, 2023
1 parent f65e12c commit cfe0386
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions cmd/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ func build(compileBook bool, singleThreaded bool, hideProofs bool, noColourBoxes
var wg sync.WaitGroup

size := int64(len(Files))
errorChan := make(chan string, size)
if compileBook {
size++
size = int64(len(FilesWithBook))
}
errorChan := make(chan string, size)
bar := progressbar.Default(size)

var fs []TexFile
Expand Down
Binary file added fonts/TeXGyrePagellaMath.otf
Binary file not shown.
3 changes: 1 addition & 2 deletions util.sty
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@
BoldItalicFont=*-BoldItalic,
]{STIXTwoText}
\setmathfont[Path=../../fonts/]{STIXTwoMath-Regular}
% \setmathfont[range={bb, bbit}]{TeX Gyre Pagella Math}
\setmathfont[range=\star]{TeX Gyre Pagella Math}
\setmathfont[Path=../../fonts/,range=\star]{TeXGyrePagellaMath}

\usepackage{wrapfig}
\usepackage{physics}
Expand Down

0 comments on commit cfe0386

Please sign in to comment.