Skip to content

Commit

Permalink
Change PDF doc main font to Noto Serif
Browse files Browse the repository at this point in the history
  • Loading branch information
cyderize committed Oct 1, 2024
1 parent 95f093d commit fa02ebc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ You need the following tools to build the documentation:
`pip install sphinx_rtd_theme`
* 404 Page generator `pip install sphinx-notfound-page`
* If you want to build the PDF documentation, you also need a LaTeX
distribution that includes xetex, and install the following fonts: Charter,
distribution that includes xetex, and install the following fonts: Noto Serif,
Lato and Inconsolata.

To build the HTML documentation, simply run `make html`. To build the PDF, run `make latexpdf`.
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@
#
"papersize": "a4paper",
"fontpkg": r"""
\IfFontExistsTF{XCharter}{\setmainfont{XCharter}}{\setmainfont{Charter}}
\setmainfont{Noto Serif}
\setsansfont{Lato}
\setmonofont{Inconsolata}
""",
Expand Down

0 comments on commit fa02ebc

Please sign in to comment.