Skip to content

Commit 8c422d1

Browse files
committed
Replicating PR#164 on LAS 1.5 branch.
Font fixes for fixed-width (code) rendering (#131, #162) Add missing Courier font Make Times font explicit. Reduce font size from 12pt to 11pt
1 parent 57a7fe7 commit 8c422d1

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/pdf.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ jobs:
1919
run: |
2020
python3 --version
2121
sphinx-build --version
22+
DEBIAN_FRONTEND=noninteractive apt-get update -y
23+
DEBIAN_FRONTEND=noninteractive apt-get install texlive-fonts-recommended -y
2224
- name: Lint .rst files
2325
run: |
2426
if find . -name '*.rst' | xargs grep -P '\t'; then echo 'Tabs are bad, please use four spaces in .rst files.'; false; fi

source/conf.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,8 @@ def get_git_revision_short_hash():
149149
150150
\usepackage{titling}
151151
\usepackage{fancyhdr}
152+
\usepackage{times}
153+
\usepackage{courier}
152154
\makeatletter
153155
\fancypagestyle{normal}{
154156
\fancyhf{}
@@ -261,7 +263,7 @@ def get_git_revision_short_hash():
261263

262264
# The font size ('10pt', '11pt' or '12pt').
263265
#
264-
'pointsize': '12pt',
266+
'pointsize': '11pt',
265267

266268
# Other document class options - ensure uniform header/footer
267269
'classoptions': ',oneside,openany',

0 commit comments

Comments
 (0)