-
Notifications
You must be signed in to change notification settings - Fork 5
Install
You need a LaTeX distribution installed, with the following packages :
-
calc: allows us to do arithmetic operations on length -
ifthen: allows us to do logic operations -
graphicx: allows us to use pictures, etc. -
geometry: allows us to control the geometry of the pages -
xcolor: allows us to create and mix colors -
xargs: allows us to create fancy commands and shortcuts for you
To install LaTeX, depending on your system you should :
-
linux:
sudo apt-get install texlive-full - windows: install MiKTeX and do the full install
- macOS: install MacTeX and do the full install
The dependencies should be installed, you just have to install the polytechnique-beamer package. Depending on your system you have to put the source folder at the right location, then update the database. see:Google for now
Launch the installation script (in the install/ folder) corresponding to your OS. You have to be administrator.
install/unix.sh
install/windows.batThis will automatically install the fonts and the source files in the right folders.
First you need to figure out where is your texmf folder.
- On unix and many windows install, you can open a terminal and run
kpsewhich -var-value=TEXMFLOCAL. It will give you the path to texmf. - On other windows installs, you can use this forum to find the
CommonDatapath or execute the same command as in unix in a terminal. A terminal can be launched by pressingWin+Rthen typingcmd.
Then you need to create the two folders :
-
texmf/tex/latex/beamerxfor the source files -
texmf/fonts/truetypefor the font files
Once this is done, copy the content of the source/ folder to texmf/tex/latex/beamerx/, and the content of the fonts/ folder to texmf/fonts/truetype/. Then the tree in you texmf folder should look like
texmf
├── fonts
│ └── truetype
│ ├── DroidSerif
│ │ ├── DroidSerif-BoldItalic.ttf
│ │ ├── DroidSerif-Bold.ttf
│ │ ├── DroidSerif-Italic.ttf
│ │ └── DroidSerif.ttf
│ ├── Muli
│ │ ├── Muli-BoldItalic.ttf
│ │ ├── Muli-Bold.ttf
│ │ ├── Muli-Italic.ttf
│ │ └── Muli-Regular.ttf
│ └── RobotoMono
│ ├── RobotoMono-BoldItalic.ttf
│ ├── RobotoMono-Bold.ttf
│ ├── RobotoMono-Italic.ttf
│ └── RobotoMono-Regular.ttf
└── tex
└── latex
└── beamerx
├── beamerxarmes.pdf
├── beamerxbackground.jpg
├── beamerxfiletcourt.pdf
├── beamerxlogo.pdf
├── beamerx.sty
├── beamerxx.pdf
├── pei.jpg
└── welcome.jpg
Finally, you need to update your TEXMF tree. On unix, this is done by sudo texhash or sudo mktexlsr depending on your distribution. On windows, you can refer to the MiKTeX documentation.