Skip to content

apehex/lathex-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LatHeX Template

A sober, hassle-free, LaTeX template for reports and books.

You can preview the template on a real world report.

Preview

Dark Theme Light Theme Forta Theme
Dark title page Light title page Forta title page
Dark page Light page Forta page

Usage

The template is demonstrated with the example document in the repository:

# Get the code
git clone https://github.com/apehex/lathex-template.git && cd lathex-template/

# Build
lualatex --output-dir build/ demo/book/dark.tex
makeindex build/book.idx -s indexstyle.ist
biber demo/book/dark.tex
lualatex --output-dir build/ demo/book/dark.tex

The recommended compilers are lualatex and xetex, though pdflatex will mostly work too. The only difference will be in the fonts for the Forta theme: it imports ttf files, which cannot be handled by pdflatex.

Template structure

The project has the following tree:

< PROJECT ROOT >
   |
   |-- bibliography/          # The references
   |
   |-- build/                 # Where the compiled pdf will pop, as well as temp files
   |
   |-- images/                # Assets used in the document
   |
   |-- sections/              # All the individual sections
      |
      |-- part1/              # The sections of the first part
      |
      |-- appendices/         # The appendices at the end of the document
   |
   |-- template/              # The actual template definition, independent from the document it presents
   |
   |-- context.tex            # Optional script with the metadata (author, revision, date, etc)
   |
   |-- main.tex               # The script that assembles all the parts into one document

Credits

The syntax highlighting for Solidity has been made by Sergei Tikhomirov.

The rest of the template is original work entirely. Still it has roots in the popular LaTeX scripts mentioned below.

Legrand Orange Book

The template started from the Legrand Orange template.

Latexdraw.com

The cover page started from the templates in Latexdraw.

License

This work is licensed under the GNU aGPL v3.


About

A modern book template for Latex

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages