Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/georglauterbach/tex
LuaLaTeX definitions, headers & more
https://github.com/georglauterbach/tex
latex latex-template
Last synced: 5 days ago
JSON representation
LuaLaTeX definitions, headers & more
- Host: GitHub
- URL: https://github.com/georglauterbach/tex
- Owner: georglauterbach
- License: mit
- Created: 2021-08-25T20:42:19.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-09-18T14:42:11.000Z (over 1 year ago)
- Last Synced: 2024-11-06T03:03:36.627Z (about 2 months ago)
- Topics: latex, latex-template
- Language: TeX
- Homepage:
- Size: 105 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# TeX with include
## About
This repository contains files in the form of "headers" to supply someone writing with TeX with the necessary templates. Like in C or Rust, you can "include" these files in your TeX project, either by downloading them or cloning this repository as a submodule and then using `\input{}`.
The order is already given by the order of the files under `include/`. Files under `include/` can only be used in the preamble. You will need to import the language files and the file containing generic code snippets to make some of the other files work, i.e. you must include
``` LATEX
% ...% choose your language
\input{tex/include/01-language_english}
\input{tex/include/01-language_german}
% import this one too
\input{tex/include/02-generic}
% ...
\input{tex/include/99-last}
% ...\begin{document}
```Files under `src/` can and must be used inside
``` LATEX
\begin{document}
...
\end{document}
```and not inside the preamble. These files mainly exists to eliminate boilerplate code.
## Disclaimer
These files were created to work with `LuaHBTeX, Version 1.14.0 (TeX Live 2022/dev/Debian)`. There is no guarantee that these files work with other versions or other drivers. You may want to have a look at `.vscode/settings.json` for an implementation into [VS Code] with the [LaTeX workshop extension].
The required packages can be installed by running:
```bash
apt-get --yes install texlive-latex-extra texlive-luatex texlive-lang-european texlive-science texlive-bibtex-extra biber
```[VS Code]: https://code.visualstudio.com/
[LaTeX workshop extension]: https://marketplace.visualstudio.com/items?itemName=James-Yu.latex-workshop