Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dlesbre/tex
LaTeX style files, templates and helper scripts
https://github.com/dlesbre/tex
latex latex-beamer latex-package tex
Last synced: 27 days ago
JSON representation
LaTeX style files, templates and helper scripts
- Host: GitHub
- URL: https://github.com/dlesbre/tex
- Owner: dlesbre
- License: mit
- Created: 2021-03-28T16:39:35.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-07-01T22:03:29.000Z (4 months ago)
- Last Synced: 2024-09-29T04:42:04.361Z (about 1 month ago)
- Topics: latex, latex-beamer, latex-package, tex
- Language: TeX
- Homepage:
- Size: 278 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# LaTeX files
This repository contains files I use for LaTeX and beamer styling, as well
as simple document templates.## Installation
For use with a simple documents, simply place the `.sty` files you need in
the same folder as your `.tex` documentFor general use on Linux, place the `.sty` files in `~/texmf/tex/latex/` or any subdirectory thereof.
To install the script, add an `alias texmgr='path/to/texmgr'` to your `~/.bashrc`.
## Contents
**Color theme:**
- [styles/beamercolorthemeeye.sty](./styles/beamercolorthemeeye.sty): The eye color theme for beamer metropolis (dark blue, dark red, dark green, yellow or cyan). See [previews](./previews) for sample pdf ouputs.**Style files:**
- [styles/my-preamble.sty](./styles/my-preamble.sty): common imports and some useful functions
- [styles/my-math.sty](./styles/my-math.sty): math shortcut definitions, theorems and operators
- [styles/my-metropolis.sty](./styles/my-math.sty): configures beamer metropolis to add section pages**Templates:** simple prefilled document to avoid retyping common things
- [templates/document.tex](./template/document.tex)
- [templates/beamer.tex](./template/document.tex)**Scripts:**
- [scripts/texmgr.py](scripts/texmgr.py): python script to compile/initialize and clean texfiles.
- [scripts/texmgr](scripts/texmgr): executable that calls the `texmgr.py` script's `main`Usage: texmgr [--flags] [file list]
Compiles all files in the file list (defaut, all *.tex files
in current working directory).
Compiles once, runs bibtex, then compiles twice.Flags:
-n --no-clean don't remove build files after compiling-i --init doesn't compile, creates files in file list
-b --init-beamer same as --init, but uses the beamer template to create files
-t --open-tex doesn't compile, opens tex files in editor (can run with -i/-b)
-p --open-pdf compiles and opens PDF files in viewer-w --watch watches the tex file and recompiles when it is changed
-l --clean-last only clean build files when watcher is stopped
-f --find-deps print dependencies (\input{...}) of a LaTeX file-c --clean doesn't compile, removes build files
Files removed match a .tex file in the list
and have the following extensions:
aux, bak, bbl, blg, fdb_latexmk, fls, log, nav, out, snm, synctex.gz, synctez.gz, toc, vrb, vtc-v --verbose print the commands called
-s --silent don't show info messages (keeps tex output and error messages)
-d --dry-run print the commands but don't run them
--version show version number
-h --help show this help**Old scripts:**
- [scripts/old/newtex](./scripts/old/newtex): bash script to generate a new tex file from template and open texmaker
- [scripts/old/texcleanup](./scripts/old/texcleanup): bash script to remove tex build files in a build directory