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.
mkdir -p ~/Library/texmf/tex/latex
cd ~/Library/texmf/tex/latex
git clone https://github.com/Samasaur1/samtex
mkdir -p ~/Library/texmf/tex/latex
cd ~/Library/texmf/tex/latex
git clone https://github.com/Samasaur1/samtex
- Ensure that the directory
C:\Users\<user name>\texmf\tex\latex
exists - Download or clone this repository to a new directory named
samtex
inside the above directory
\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