Giter Club home page Giter Club logo

latex-boilerplate's Introduction

About LaTeX-boilerplate

Screenshot

(Here is an example PDF)

I built this LaTeX template as the starting point for all of my homework assignments. I've used it with much success over the past couple years -- speeding up my workflow -- but it is not 100% perfect.

I used to create LaTeX documents from scratch at the start of every assignment, but I would spend hours tweaking the same things on each assignment (i.e. margins, fonts, captions, etc). I also found that I was copy-and-pasting between projects to save time. Over time, it just made sense to build an official template -- this is it!

This template is an opinionated work in progress. It was designed to work around my needs, but I appreciate feedback in order to make this more useful for everyone.

The design choices I made center around the tools I use. Here are a few of them:

  • Vim
  • gnumake
  • Preview.app (OS X document viewer)
  • Markdown (via Pandoc)

My workflow is efficient, but there are some concessions.

1.) The primary document is written in markdown, but not everything comes out exactly as I like (e.g. code, headers, graphics, and tables). But since Pandoc just ignores LaTeX, I can include it in my markdown and it falls through to the generated document. Thus, I use copious amounts of LaTeX in my markdown files.

2.) Not everyone likes calling make test to build their document, but I find it handy. Inside Vim I've bound a key sequence to quickly build a PDF and show it to me. The Vim command do this is :map ,t :w\|:!make test<cr>. With this, I can write a sentence, hit escape, and then comma and t, and I see the changes I made immediately.

3.) This template is largely configured for OS X, although I am moving towards supporting Linux as well. Currently I use an applescript called focus which refreshes the PDF document in Preview.app. This is handy for OS X, but I have not written a similar script for Linux yet.

If you have any recommendations I'd like to hear them.

Thanks.

How to use it?

Do this and you should have be ready to go.

cd ~/Documents
git clone git://github.com/gbluma/latex-boilerplate.git newdocument
cd newdocument
make && make open

# do work
make test

# check text for sloppy word usage
make check

latex-boilerplate's People

Contributors

gbluma avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.