/samtex

My LaTeX classes and packages

Primary LanguageTeX

Installation

This repository is a Nix flake, so:

texliveFull.withPackages (_: [ inputs.samtex.packages.${pkgs.system}.default.tex ])

I seem to need the .tex on the end, though I'm not sure why. If you get errors, try it without the .tex at the end.

macOS

mkdir -p ~/Library/texmf/tex/latex
cd ~/Library/texmf/tex/latex
git clone https://github.com/Samasaur1/samtex

Linux

mkdir -p ~/Library/texmf/tex/latex
cd ~/Library/texmf/tex/latex
git clone https://github.com/Samasaur1/samtex

Windows

  1. Ensure that the directory C:\Users\<user name>\texmf\tex\latex exists
  2. Download or clone this repository to a new directory named samtex inside the above directory

Usage

samtex-cheatsheet

\documentclass{samtex-cheatsheet}
\usepackage{lipsum}

\begin{document}
    \section{Intro section}

    \lipsum

    \subsection{A subsection}

    \lipsum[2]

    \section{Main section}

    \lipsum
    \lipsum
\end{document}

Or see the example/manual PDF here