Collection of starter sty, cls, tex, and bib examples.
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.
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.
- Clone this repo into somewhere convenient for you.
- 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.
- Add Makefile direction
- Add Overleaf directions
- Add external links
- Add comprehensive "Get Latex Running" section
- Add math examples
- Scour the internet for more styles
- Add poster examples
- Develop file hierarchy visual
- add
\tracinglostchars=3
to preamble draft
toggle to document