Giter Site home page Giter Site logo

jdavis / latex-homework-template Goto Github PK

View Code? Open in Web Editor NEW
1.1K 23.0 451.0 989 KB

๐ŸŽ“๐Ÿ“„ The LaTeX file that I used as the base for all my homework in university.

Home Page: https://joshldavis.com/2014/02/12/doing-your-homework-in-latex/

License: MIT License

TeX 100.00%
latex homework-template latex-homework-template compsci

latex-homework-template's Introduction

latex-homework-template

The LaTeX file that I use as the base for all my homeworks in university. You should follow me on Twitter.

Features

Here are just a few features of this homework template.

  1. Title page.
  2. Problem markers.
  3. Configurable problem numbers (see the last 3 problems for an example).
  4. Some commonly used math macros.

Screenshots

The Cover Page:

Cover page

Big Oh Example Problem:

Example problems 1

Automata & Pseudocode Problems:

Example problems 2

Statistics Problem:

Example problems 3

Proof Problem:

Example problems 4

Adjustable Problem Numbers

Example problem numbering

Installing

  1. First you'll need LaTeX. Instructions on obtaining it can be found here: http://latex-project.org/ftp.html

  2. Compiling from the command line will look like the following:

    $ latexmk homework.tex
  3. Or you can use TeXShop or a similar native client to typeset the LaTeX file.

Credit

When first starting with LaTeX, I came across this template and used it as a base for starting my template. As you can see, it is pretty similar.

License

This code is distributed under the MIT license. For more info, read the LICENSE file distributed with the source code.

latex-homework-template's People

Contributors

jdavis avatar jppgks 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  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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

latex-homework-template's Issues

Adjustable problem numbers don't affect header until the second page

Hey,

One of my professors likes to number his problems as if the homework was really one giant homework, instead of multiple weekly assignments. As in, problem 1 on homework 2 is really problem 7 for example.

I noticed that the header still says problem 1 on the first page instead of problem x, though the problem numbers are correct from the second page onwards.

It's not a biggie, but hopefully, it can be fixed soon :)

Put dependancies in readme

The latex will not compile without the texlive-science package, and possibly some others. Can you put the dependencies in the readme to avoid extra time spent troubleshooting?

Decimal argument for Problem numbers.

First off, this template looks very neat, good job!

Question: from what I understood in your LaTeX code, the section count automatically increments. The counter is used for the numbering, but it is also possible to specify the number by argument when beginning a new problem. How hard would it be to enable this:

\begin{homeworkProblem}[2.2] % I AM STARTING PROBLEM 2.2 !!!
    Give an appropriate positive constant \(c\) such that \(f(n) \leq c \cdot
    ....
\end{homeworkProblem}

add more than one name

I would like to be able to add more than one name in authors for teamed assignements.

Latex Compiling Error

I realize this is probably me setting it up wrong, but when I try and run: latexmk homework.tex it stops and says:

[2]
Underfull \hbox (badness 10000) in paragraph at lines 217--220



! LaTeX Error: Unknown float option `e'.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.225     \begin{figure}[here]

I'm relatively new to LaTeX, but I really hope to begin using it. What am I missing here?

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.