LaTeX classes I use for maths posts of Fiches et Cartes website.
- Install the fonts in the fonts folder
- Place the contents of the package folder in :
~/texmf/tex/latex/
if you use UNIX systems with texlivelocaltexmf/tex/latex/
if you're using miktex on Windows. You can create this directory wherever you want but don't forget to go to the miktex console and add localtexmf as a new root and refresh file name data base.
- Enjoy
Warning
You need to use XeLaTeX to work with the classes. Compiling with pdf-LaTeX will throw errors.
See basic example in the example folder.
The logo on the title page is optional and must be activated with "logo" option. You must place your logo in images/logo.png.
In the utils
folder you'll find the .cwl file you need to import into your favorite editor to benefit from the autocomplete feature linked to these packages. If you're using Kile on linux, place it in the ~/.local/share/kile/complete/tex/
folder or import it (settings > Kile settings > Complete > Add).
you'll also find a script to replace $$...$$
tags by \[..\]
tags and $...$
by \(\)
and a script to export all theorems, propositions and definitions of a Tex document to a csv file.
For each script, if you're using Dolphin on Linux, you can create an service menu. To do that :
- download replace_math_tags.sh and move it where you want.
- make it executable :
chmod +x script.sh
- download replace_tex_math.desktop and move it to
~/.local/share/kio/servicemenus
- make it executable :
chmod +x script.desktop
- edit script.desktop to use the path of script. Don't forget to keep the %f on the line.
- restart dolphin
There is also an Inkscape Palette with the colors of the classe. Just put the .gpl
file in the local palettes folder. If you are on Linux, it is ~/.config/inkscape/palettes/
.