]> projects.mako.cc - beamer-mako/commitdiff
add fonts to this directory that they come with it
authorBenjamin Mako Hill <mako@atdot.cc>
Tue, 22 May 2018 23:34:16 +0000 (16:34 -0700)
committerBenjamin Mako Hill <mako@atdot.cc>
Tue, 22 May 2018 23:34:16 +0000 (16:34 -0700)
template/example.tex
template/fonts/OpenSans/OpenSans-Bold.ttf [new file with mode: 0644]
template/fonts/OpenSans/OpenSans-BoldItalic.ttf [new file with mode: 0644]
template/fonts/OpenSans/OpenSans-Italic.ttf [new file with mode: 0644]
template/fonts/OpenSans/OpenSans-Regular.ttf [new file with mode: 0644]
template/fonts/RobotoMono/RobotoMono-Bold.ttf [new file with mode: 0644]
template/fonts/RobotoMono/RobotoMono-BoldItalic.ttf [new file with mode: 0644]
template/fonts/RobotoMono/RobotoMono-Italic.ttf [new file with mode: 0644]
template/fonts/RobotoMono/RobotoMono-Regular.ttf [new file with mode: 0644]

index 5e71068fe3cd13f1b1745a523fd17d106a2f6f14..7130c82d78958d923a0c426cc21f47507cc8c5d5 100644 (file)
 \metroset{block=fill}
 % \metroset{background=light}
 
-\setsansfont{OpenSans}
-\setmonofont{Roboto}
+\setsansfont{OpenSans}[
+Path = ./fonts/OpenSans/,
+Extension = .ttf,
+UprightFont     =   *-Regular,
+BoldFont        =   *-Bold,
+ItalicFont      =   *-Italic,
+BoldItalicFont  =   *-BoldItalic
+]
+
+\setmonofont{RobotoMono}[
+Path = ./fonts/RobotoMono/,
+Extension = .ttf,
+UprightFont     =   *-Regular,
+BoldFont        =   *-Bold,
+ItalicFont      =   *-Italic,
+BoldItalicFont  =   *-BoldItalic
+]
 
 \definecolor{makopurple1}{RGB}{57,39,91}
 \definecolor{makopurple2}{RGB}{137,119,173}
@@ -236,6 +251,9 @@ An itemized list:
 
 \begin{frame}{A sample slide}
   Final Sample Slide
+
+  \texttt{Monospace font?}
+  
   \note{These are the slide 4 notes.}
 \end{frame}
 
diff --git a/template/fonts/OpenSans/OpenSans-Bold.ttf b/template/fonts/OpenSans/OpenSans-Bold.ttf
new file mode 100644 (file)
index 0000000..7b52945
Binary files /dev/null and b/template/fonts/OpenSans/OpenSans-Bold.ttf differ
diff --git a/template/fonts/OpenSans/OpenSans-BoldItalic.ttf b/template/fonts/OpenSans/OpenSans-BoldItalic.ttf
new file mode 100644 (file)
index 0000000..a670e14
Binary files /dev/null and b/template/fonts/OpenSans/OpenSans-BoldItalic.ttf differ
diff --git a/template/fonts/OpenSans/OpenSans-Italic.ttf b/template/fonts/OpenSans/OpenSans-Italic.ttf
new file mode 100644 (file)
index 0000000..e6c5414
Binary files /dev/null and b/template/fonts/OpenSans/OpenSans-Italic.ttf differ
diff --git a/template/fonts/OpenSans/OpenSans-Regular.ttf b/template/fonts/OpenSans/OpenSans-Regular.ttf
new file mode 100644 (file)
index 0000000..2e31d02
Binary files /dev/null and b/template/fonts/OpenSans/OpenSans-Regular.ttf differ
diff --git a/template/fonts/RobotoMono/RobotoMono-Bold.ttf b/template/fonts/RobotoMono/RobotoMono-Bold.ttf
new file mode 100644 (file)
index 0000000..c6a81a5
Binary files /dev/null and b/template/fonts/RobotoMono/RobotoMono-Bold.ttf differ
diff --git a/template/fonts/RobotoMono/RobotoMono-BoldItalic.ttf b/template/fonts/RobotoMono/RobotoMono-BoldItalic.ttf
new file mode 100644 (file)
index 0000000..b2261d6
Binary files /dev/null and b/template/fonts/RobotoMono/RobotoMono-BoldItalic.ttf differ
diff --git a/template/fonts/RobotoMono/RobotoMono-Italic.ttf b/template/fonts/RobotoMono/RobotoMono-Italic.ttf
new file mode 100644 (file)
index 0000000..6e4001e
Binary files /dev/null and b/template/fonts/RobotoMono/RobotoMono-Italic.ttf differ
diff --git a/template/fonts/RobotoMono/RobotoMono-Regular.ttf b/template/fonts/RobotoMono/RobotoMono-Regular.ttf
new file mode 100644 (file)
index 0000000..495a82c
Binary files /dev/null and b/template/fonts/RobotoMono/RobotoMono-Regular.ttf differ

Benjamin Mako Hill || Want to submit a patch?