Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/samasaur1/samtex
My LaTeX classes and packages
https://github.com/samasaur1/samtex
Last synced: 19 days ago
JSON representation
My LaTeX classes and packages
- Host: GitHub
- URL: https://github.com/samasaur1/samtex
- Owner: Samasaur1
- Created: 2024-03-05T00:01:34.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-09-04T19:40:34.000Z (4 months ago)
- Last Synced: 2024-11-05T22:38:48.251Z (2 months ago)
- Language: TeX
- Size: 78.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Installation
### [Nix](https://nixos.org)
This repository is a Nix flake, so:
```nix
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
If you have MacTeX
```bash
mkdir -p ~/Library/texmf/tex/latex
cd ~/Library/texmf/tex/latex
git clone https://github.com/Samasaur1/samtex
```If you have non-Mac-specific TexLive:
```bash
mkdir -p ~/texmf/tex/latex
cd ~/texmf/tex/latex
git clone https://github.com/Samasaur1/samtex
```### Linux
```bash
mkdir -p ~/texmf/tex/latex
cd ~/texmf/tex/latex
git clone https://github.com/Samasaur1/samtex
```### Windows
1. Ensure that the directory `C:\Users\\texmf\tex\latex` exists
2. Download or clone this repository to a new directory named `samtex` inside the above directory## Usage
### samtex-cheatsheet
```latex
\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](https://github.com/Samasaur1/samtex/blob/main/cheatsheet-class/main.pdf)