Giter Site home page Giter Site logo

homework-template's Introduction

Jonathan Wheeler's LaTeX Homework Template

This is a template that I use to do my homework writeups at Stanford University. It was forked off of this template Check out the compiled .pdf file. If you like it, and start using it, please leave a star on GitHub so that others can find this too!

Installation

You will obviously need to have LaTeX installed on your computer. Use tools like brew to do this.

From here, there will be several other packages that will need to be installed, such as minted for code formatting, etc...

Template

I've included a sample homework file with two sample problems.

For simplicity, it is easier to split things into individual files. You can either associate all the files for a particular problem in a folder together, or you can put types of files (images, code, etc...) in folders together. This comes down to personal preference.

If you are working on a large homework assignment, and it takes time to build everything, you may consider using something like the sample Makefile.

If you clone this repository for a homework assignment, there will be a few things that you will have to do (primarily in sample.tex)

  1. Update your name
  2. Update the homework name
  3. Update the list of collaborators (if any)
  4. Create separate files for each problem.
  5. (Optional) Update the Makefile

Writing Problems

Problems can be started with the \problem directive. This creates a table of contents entry, and increments the problem number.

A problem can have subparts (which are alphabetically incremented) using the enumerate environment.

The solution can be shown using the \solution directive, which can be broken down into parts using \part.

Contributing

Feel free to fork or contribute back to this repository. If you have any questions or concerns, list them in the Github Issue tracker.

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.