Skip to content

Rammy module with useful LaTeX snippets and templates.

License

Notifications You must be signed in to change notification settings

TimboKZ/latex-common

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

latex-common

Useful LaTeX snippets and templates. This repository is a Rammy module.

Overview

Here you will find a brief overview of each snippet and template. Check the source code of each file for more info. To make it easier to preview templates, compiled .pdfs have been included in the templates/ folder.

Templates:

  • lecture-notes (./templates/lecture-notes.tex) Template for lecture notes with a lot of useful snippets.
  • problem-set (./templates/problem-set.tex) Template for problem set solutions.

Snippets:

  • compact-header (./snippets/compact-header.tex) Compact header for a document.
  • problem-set-header (./snippets/problem-set-header.tex) Header for the problem-set template.
  • symbols (./snippets/symbols.tex) Common math symbols and shorthand commands.
  • urls (./snippets/urls.tex) hyperref package with blue links.
  • figures (./snippets/figures.tex) Collection of TeX packages for figure management.
  • code (./snippets/code.tex) Packages and style adjustments for source code.
  • misc (./snippets/misc.tex) Convenient miscellaneous commands.

Using with Rammy

If you have Node.js installed, you can use templates and snippets in this repo via Rammy. Installation instructions:

# Install Rammy
npm install -g rammy

# Prepare a folder for the project, clone this repo into it
mkdir my-project
cd my-project

# Initialise a Rammy project, add this repo as a module
rammy init
rammy add TimboKZ/latex-common

# List templates and inputs Rammy discovered
rammy list

# Create TeX file for lecture notes using a template
rammy create notes.tex lectures-notes

Using a Git submodule

It might be useful to at this repository as a Git submodule to your LaTeX project. Run this command in the root folder of your project:

git submodule add https://github.com/TimboKZ/latex-common.git latex-common

You can now add files from the snippets/ folder to your file using the \input{./path/to/snippet.tex} command.

About

Rammy module with useful LaTeX snippets and templates.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages