Skip to content

nlqd/based-latex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Paper Title

One-line abstract. Replace with the actual paper.

A LaTeX paper skeleton you can clone and build locally. One script, t, does the work.

Build

Install TinyTeX once, then restart your shell:

curl -sL https://yihui.org/tinytex/install-bin-unix.sh | sh

From the project root:

./t install   # reads your .tex files and installs the packages they need
./t build     # writes build/main.pdf

When a build fails on a missing package, it prints the fix. Run ./t --help for the rest (watch, clean, lint, fmt, check).

Write

main.tex is the whole document: preamble, body, and bibliography import in one place. refs.bib holds citations.

The build uses LuaLaTeX for OpenType math fonts, so pdfLaTeX will not work. t needs Python 3.

Overleaf

t writes its config into build/, which is gitignored, so your source tree stays clean. Copy main.tex and refs.bib into Overleaf and it builds there too, though Overleaf's TeX Live version may differ from yours.

License

Text and figures: CC BY 4.0. Code: MIT.

About

A more pleasant wrapper aroung TinyTeX

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors