Skip to content

WillJardee/compact_latex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Compact Latex

Collection of starter sty, cls, tex, and bib examples.

Adding to MikTex

Most of these styles should be usable out of the box. The TEXMF root directory must be registered. If you are using MikTex, as I do on my Windows machine, you need to register it through the console. You only want to register the mytexmf folder.

Adding to Texlive

This is going to depend on your device specific distribution tree. A good guide can be found through the Arch Linux wiki, and a ton of information can be gathered both from TEX FAQ and Reddit.

To get TeXLive to recognize your .sty file, you need to put them onto the path it searches. You can test for where that is with

kpewhich -var-value TEXMFLOCAL

for system wide install and

kpewhich -var-value TEXMFHOME

for user specific files. If these are not defined, you might need to manipulate your variables (I prefer to use XDG Base Directories).

As long as the files end up in this path, you're fine. You can copy the files directly into this base directory or subdirectory, clone this repository directly into this directory, or symlink it in. I personally prefer the last option.

  1. Clone this repo into somewhere convenient for you.
  2. Link all the files into TEXMFHOME
mkdir -p $TEXMFHOME/texmf/latex
ln -s /path/to/compact_latex/mytexmf/tex/latex/* $TEXMFHOME/texmf/latex/

If you only care about one project, you might want to copy the raw files over. The current directory should be added to the search path. So, if you copy the .sty file or directory into the working directory it should find it.

The best solution I currently have for Overleaf is to take the last strategy and copy it into the highest level directory of the Overleaf project.

TODO:

LATEX notes

  • add \tracinglostchars=3 to preamble
  • draft toggle to document

About

Collection of sty, cls, tex, and bib examples.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages