Last active
October 20, 2018 12:44
-
-
Save walshc/372cbaf64347cd083b710f7de533902c to your computer and use it in GitHub Desktop.
Install metropolis beamer theme
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Install Fira: | |
cd ~/ | |
git clone https://github.com/mozilla/Fira | |
mkdir -p ~/.local/share/fonts/Fira | |
mv Fira/ttf/* ~/.local/share/fonts/Fira | |
rm -rf Fira | |
fc-cache -fv | |
# Install mtheme: | |
sudo apt install -y texlive-xetex | |
git clone https://github.com/matze/mtheme | |
cd mtheme | |
make sty | |
sudo make install | |
BEAMER_DIR=`sudo find /usr -name "beamerthemedefault.sty" | xargs dirname` | |
sudo cp beamerthememetropolis.sty $BEAMER_DIR | |
sudo cp beamercolorthememetropolis.sty $BEAMER_DIR/../color | |
sudo cp beamerfontthememetropolis.sty $BEAMER_DIR/../font | |
sudo cp beamerinnerthememetropolis.sty $BEAMER_DIR/../inner | |
sudo cp beamerouterthememetropolis.sty $BEAMER_DIR/../outer | |
sudo texhash | |
cd .. | |
rm -rf mtheme |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment