All Projects → jez → Latex Homework Class

jez / Latex Homework Class

Licence: mit
A class for homework assignments written in LaTeX.

Projects that are alternatives of or similar to Latex Homework Class

markdown-memo
Compile simple (or not so simple) Markdown memos to html and/or pdf via LaTeX with pandoc.
Stars: ✭ 19 (-75%)
Mutual labels:  latex, writing
Pandoc Starter
📄 My pandoc markdown templates and makefiles
Stars: ✭ 443 (+482.89%)
Mutual labels:  latex, writing
Readteractive
Tool for writing and generating interactive books.
Stars: ✭ 23 (-69.74%)
Mutual labels:  latex, writing
Latex Project Report Template
LaTeX based template for college project reports
Stars: ✭ 58 (-23.68%)
Mutual labels:  latex
Atom Latex
The only LaTeX package you need for typesetting with Atom.
Stars: ✭ 60 (-21.05%)
Mutual labels:  latex
Asblocks
Share content as blocks
Stars: ✭ 70 (-7.89%)
Mutual labels:  writing
Coc Vimtex
vimtex integration for coc.nvim
Stars: ✭ 74 (-2.63%)
Mutual labels:  latex
Software Resume Template
A simple LaTeX template for software engineering resumes.
Stars: ✭ 57 (-25%)
Mutual labels:  latex
Arxiv Vanity
Renders papers from arXiv as responsive web pages so you don't have to squint at a PDF.
Stars: ✭ 1,190 (+1465.79%)
Mutual labels:  latex
Gds env
A containerised platform for Geographic Data Science
Stars: ✭ 68 (-10.53%)
Mutual labels:  latex
Milewski Ctfp Pdf
Bartosz Milewski's 'Category Theory for Programmers' unofficial PDF and LaTeX source
Stars: ✭ 9,037 (+11790.79%)
Mutual labels:  latex
Latex Template Cn
\LaTeX 中文模版收集。
Stars: ✭ 1,111 (+1361.84%)
Mutual labels:  latex
Csu Thesis
中南大学学术论文LaTex模板。Central South University Thesis LaTeX Template.
Stars: ✭ 70 (-7.89%)
Mutual labels:  latex
Latex Sketch Plugin
Bringing LaTeX to Sketch!
Stars: ✭ 60 (-21.05%)
Mutual labels:  latex
Jekyll Katex
Jekyll plugin for easy server-side math rendering via KaTeX
Stars: ✭ 73 (-3.95%)
Mutual labels:  latex
Mathjax
Beautiful and accessible math in all browsers
Stars: ✭ 8,551 (+11151.32%)
Mutual labels:  latex
Vim Pencil
Rethinking Vim as a tool for writing
Stars: ✭ 1,186 (+1460.53%)
Mutual labels:  writing
Latex2mathml
Pure Python library for LaTeX to MathML conversion
Stars: ✭ 65 (-14.47%)
Mutual labels:  latex
Latex3
The LaTeX3 Development Repository
Stars: ✭ 1,138 (+1397.37%)
Mutual labels:  latex
Tufte Latex
A Tufte-inspired LaTeX class for producing handouts, papers, and books
Stars: ✭ 1,161 (+1427.63%)
Mutual labels:  latex

LaTeX Homework Class

What

This is a LaTeX document class. That means you use it with \documentclass{homework} at the top of the document. It provides a document layout and some helper commands that make working with questions easy.

Installation

Certainly the easiest way to start using this template is to copy the .cls file to your computer in the same directory as your LaTeX project directory.

A better way to install this template is to fork this repository and then clone that fork to a particular folder on your computer:

git clone https://github.com/<your-username>/latex-hw-template

Then, whenever you need to use the template, you can copy the template to wherever you need it. Also, if there are ever any updates, you can simply run

git pull

to update the template.

Preferred Installation

The best way to install this file is to follow the instructions here, keeping in mind that you're trying to install a .cls file instead of three .sty files.

Usage

See the homework.tex file for an exhaustive list of usage examples. There are also comments explaining features for which there are no examples given.

The result is the following:

Screenshot

The class file also has a bunch of helper \usepackages that you might want to take a look at in homework.cls.

For your convenience, the file template.tex is a nearly-empty LaTeX file that contains the bare essentials to get started using the homework class.

\question

To start a question, just type \question. It will add the text "Question #" with a line underneath to the document. If you'd like to change "Question" to something else, use

\renewcommand{\questiontype}{Whatever You Want}

Similarly, if you ever need to skip numbers, you can do

\setcounter{\questionCounter}{<target number - 1>}

So, to skip to the 10th question, <target number - 1> = 9.

See homework.tex for more.

\question*

Some classes like to give their homework questions fancy names. If this is the case, you can use \question*{The Question's Name} to make a named question.

See homework.tex for more.

Question Parts

Another common thing on homework assignments is to have multi-part questions. To deal with these, use the form

\begin{alphaparts}
  \questionpart
    This will be part (a).
  \questionpart
    This will be part (b).
\end{alphaparts}

or

\begin{arabicparts}
  \questionpart
    This will be part x.1.
  \questionpart
    This will be part x.2.
\end{arabicparts}

See homework.tex for more.

Induction Proofs

In math classes, induction proofs come up a lot, and they almost always have the same form: base case, induction hypothesis, and induction step.

\begin{induction}
  \basecase
    This is my fancy base case.
  \indhyp
    Assume some claim.
  \indstep
    Finish off the proof
\end{induction}

Anonymous Submissions

Certain classes prefer to disassociate names from questions for a more fair grade assessment. To have your name placed only on a separate title page, include the anonymous option in the \documentclass line:

\documentclass[11pt,anonymous]{homework}

For truly anonymous submissions, make sure you remove all personally identifying information from your preamble.

One question per page

If you'd like each question to begin on a new page, include the newpage option:

\documentclass[11pt,newpage]{homework}

Spacious margins

To enhance the readability of your documents, you can add the largemargins option to your documents. This fits less content on a single page, but makes it much more comfortable for your eyes to scan across the lines.

\documentclass[11pt,largemargins]

This is the default in the template and the example file. Remove this option to have your text fill more space on the page.

License

MIT License, see LICENSE.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].