Skip to content

paulhenry46/LaTeX-classes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LaTeX-classes

LaTeX classes I use for maths posts of Fiches et Cartes website.

Setup

  1. Install the fonts in the fonts folder
  2. Place the contents of the package folder in :
    • ~/texmf/tex/latex/ if you use UNIX systems with texlive
    • localtexmf/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.
  3. Enjoy

Warning

You need to use XeLaTeX to work with the classes. Compiling with pdf-LaTeX will throw errors.

Usage

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.

Bonus

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/.

About

LaTeX classes I use for maths posts

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages