Skip to content

LaTeX and Typst templates (with styles) for notes, letters, forms.

Notifications You must be signed in to change notification settings

ckunte/templates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Templates

This repository contains the following reference templates.

  1. note.tex for writing articles, notes, and papers — requires ckunte.sty.
  2. letter.tex, letter-template.typ and letter.typ for writing old-fashioned letters, cover pages, etc.

To insert a template in Sublime Text on the fly:

  1. Set file-type to LaTeX, and then
  2. Type a tab trigger (note or letter) and press tab

See editing aids below.

Fillable forms

  1. remit.tex for remittance — requires remit.sty

Style (.sty) files can either be co-located with .tex files, or installed system-wide. For system-wide installation please see installing custom style.

See also snippets for reference.

Packages required

Using TeX Live Utility, install the following packages:

  1. datetime for date and time options
  2. ebgaramond-maths font for math support
  3. ebgaramond font
  4. enumitem for formatting enumitems
  5. erewhon font with newtx for math support
  6. fmtcount for display value of LaTex counter
  7. ly1 for postscript font encoding
  8. pdfpages for embedding pdf pages/documents
  9. pgfplots for PGF plots
  10. placeins for section positioning
  11. pythonhighlight for embedding python code
  12. sectsty for styling sections
  13. titling for titling options
  14. xstring for string manipulation

To install them all in on go, run the following command in terminal:

sudo tlmgr install datetime ebgaramond ebgaramond-maths enumitem erewhon fmtcount ly1 newtx pdfpages pgfplots placeins sectsty titling xstring

Installing custom style(s)

  1. Run these following in terminal:

    git clone https://github.com/ckunte/templates.git ~/templates
    mkdir -p ~/texmf && cp ~/templates/texmf/* ~/texmf/.
    sudo texhash ~/texmf
  2. Add the following to ~/.bashrc or ~/.zshrc, and then reload the file by running . ~/.bashrc, for example, in terminal:

    if [ -d ~/texmf ] ; then
        export TEXMFHOME=::~/texmf
        export TEXINPUTS=::~/texmf
    fi
  3. Test to check if texmf folder is mapped correctly to TEXMFHOME by running kpsewhich -var-value TEXMFHOME. This would be $HOME/texmf in macOS, Linux, Cygwin (on Windows), etc.

Editing aids

User defined Sublime Text LaTeX snippets and Vim LaTeX snippets are available for use.

About

LaTeX and Typst templates (with styles) for notes, letters, forms.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published