Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b29a841

Browse files
committed
standardize fontspec formatting in tex source
1 parent 082e045 commit b29a841

File tree

2 files changed

+25
-20
lines changed

2 files changed

+25
-20
lines changed

cheatsheets.pdf

1.81 MB
Binary file not shown.

cheatsheets.tex

Lines changed: 25 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -51,35 +51,40 @@
5151
\usepackage[babel=true]{microtype}
5252
\defaultfontfeatures{Ligatures=TeX}
5353
\setmainfont{Source Serif Pro}[
54-
Path = fonts/source-serif-pro/SourceSerifPro-, Extension = .otf,
55-
UprightFont= Light,
56-
ItalicFont = LightIt,
57-
BoldFont = Regular,
58-
BoldItalicFont = It]
54+
Path = fonts/source-serif-pro/SourceSerifPro-,
55+
Extension = .otf,
56+
UprightFont = Light,
57+
ItalicFont = LightIt,
58+
BoldFont = Regular,
59+
BoldItalicFont = It ]
5960
\setsansfont{Roboto}[
60-
Path = fonts/roboto/Roboto-, Extension = .ttf,
61+
Path = fonts/roboto/Roboto-,
62+
Extension = .ttf,
6163
UprightFont = Light,
62-
ItalicFont = LightItalic,
63-
BoldFont = Regular ]
64+
ItalicFont = LightItalic,
65+
BoldFont = Regular ]
6466
\setmonofont{Source Code Pro}[
65-
Path = fonts/source-code-pro/SourceCodePro-, Extension = .otf,
67+
Path = fonts/source-code-pro/SourceCodePro-,
68+
Extension = .otf,
6669
UprightFont = Light,
67-
BoldFont = Regular ]
70+
BoldFont = Regular ]
6871
\newfontfamily\RobotoCon{Roboto Condensed}[
69-
Path = fonts/roboto/RobotoCondensed-, Extension = .ttf,
72+
Path = fonts/roboto/RobotoCondensed-,
73+
Extension = .ttf,
7074
UprightFont = Regular,
71-
ItalicFont = Italic,
72-
BoldFont = Bold ]
75+
ItalicFont = Italic,
76+
BoldFont = Bold ]
7377
\newfontfamily\RobotoSlab{Robot Slab} [
74-
Path = fonts/roboto-slab/RobotoSlab-,
75-
Extension = .ttf,
76-
UprightFont = Light,
77-
BoldFont = Regular ]
78+
Path = fonts/roboto-slab/RobotoSlab-,
79+
Extension = .ttf,
80+
UprightFont = Light,
81+
BoldFont = Regular ]
7882
\newfontfamily\Roboto{Roboto}[
79-
Path = fonts/roboto/Roboto-, Extension = .ttf,
83+
Path = fonts/roboto/Roboto-,
84+
Extension = .ttf,
8085
UprightFont = Regular,
81-
ItalicFont = Italic,
82-
BoldFont = Black ]
86+
ItalicFont = Italic,
87+
BoldFont = Black ]
8388

8489
% --- Arrays ------------------------------------------------------------------
8590
\usepackage{multicol}

0 commit comments

Comments
 (0)