The LaTeX homework Document Class

January 10, 2015

There are LaTeX document classes for typesetting books, articles, exams, presentations, and more. Now, there’s one for homework assignments, too.

Check out and download the source on GitHub .

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 the above repository and then clone that fork to a particular folder on your computer:

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

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.

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:

The class file also has a bunch of helper \usepackage s 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.

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

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

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

See homework.tex for more.

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.

Question Parts

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

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.

One of my favorite features of this document class is that it redefines the \section macros. This means you can use tools like Markdown, which have a concise syntax, together with a tool like pandoc to convert Markdown into LaTeX. As an example, consider that we have the Markdown:

Running pandoc -f markdown -t latex my-homework.md will output

And since \section is the same thing as , we’re golden, and this compiles as we’d want it to. Throw it into the blank template.tex file included in the repo, and you’ve got yourself a typeset homework.

I’ve make a lot of other LaTeX-related posts. Be sure to check them out as well! My hope is that you find something that makes developing LaTeX just that much easier.

LaTeX-Tutorial.com

Your guide to documentclass latex: types and options, what is documentclass latex.

Every LaTeX document starts with a \begin{document} command and ends with an \end{document} command. LaTeX ignores anything that follows the \end{document}. The part of the source code file that precedes the \begin{document} declaration is called the preamble .

The first command of the preamble has to be \docummentclass (although technically it can be preceded with prepended files). This command takes a single mandatory argument that is one of the predefined classes of document that LaTeX has built-in. In this tutorial, we are going to explain and see the differences and similarities of these document classes , and what should each one be used for. We will also talk about the multiple optional arguments that the \documentclass command takes, and that can be used to customize the appearance of our document .

There are also third-party document classes that are written and distributed as external packages. Some of these classes, like beamer to make presentations and memoir to extend the functionalities of the book class , are very popular and useful, but we won’t cover them here, since they are much more sophisticated and complex than the predefined classes.

LaTeX document classes and their use

The document classes available in plain LaTeX are reported in the following table:

  • The first two document classes are the basic ones; if you don’t know what document class you should use, always start with article .
  • The report class is very similar, the main difference with the article being that you can insert chapters with \chapter, while in the article class the highest element in the hierarchy of titles is the \section command .

LaTeX book class

In typographical standards, books differ from reports mainly in their front and back matter. The front matter of a book usually includes:

  • a half-title page,
  • a main title page,
  • a copyright page,
  • a preface or foreword, and a table of contents.

It may also contain:

  • acknowledgments,
  • a dedication,
  • a list of figures,
  • a list of tables,
  • a list of other books in the same series, and other editorial or promotional content.

The back matter usually includes an index and may contain an afterword, also acknowledgments, a bibliography, a colophon, and so on.

The book document class provides some commands to produce the logical structures previously discussed, that the report class isn’t able to deal with by default . However, it does not try to yield tools to all of them. Individual publishers usually have their own packages with additional commands to typeset the structures according to their manual of style.

Front matter, main matter and back matter commands

The front matter, main matter (which contains the main body of the book, starting at the first chapter or part and ending at the appendices), and back matter are begun with the three commands \frontmatter, \mainmatter, and \backmatter, respectively.

In the standard book class, front matter pages are numbered with roman numerals; main and back matter pages are numbered with arabic numerals.
In the front and back matter, the \chapter command does not produce a chapter number, but it does make a table of contents entry; this can be used, for example, to produce a preface or acknowledgments section. Inside these kind of chapters, only the starred versions of other sectioning commands (mainly \section* and \subsection*) should be used.

Illustrative example of Book class

For example, this could be a standard book structure:

You can see the table of contents produced by the previous book in Figure 1. Observe how the numbering of the pages and the sectioning commands change according to the part of the book we are in.

book document class in LaTeX

Odd and even pages in Book class

When printing books, odd and even pages are not structured in the same way. Margins, and usually also headers and footers, change to provide better readability when the book is bound. This is taken into account in the book document class, where you will see that:

  • left pages have a larger left margin, the page number at the top left of the page, and the title of the current chapter at the right, while
  • right pages have a larger right margin and only the page number at the top right of the page. Also, new chapters start always at the right page and the page head is emptied, leaving only the page numb er at the center on the foot of the page.

No built-in abstract

There is one more difference between the book class and the article and report classes : it doesn’t have a built-in abstract environment .

This environment is used in academic articles, and also reports, to give a brief description of the contents that will be treated along with the document. It is customary for this introduction to have special typesetting, with “Abstract” written in bold over it, and also it is common to find it printed just after the title and before the table of contents. As said, this environment is not implemented in the book document class.

Memoir class

It is worth mentioning here that there is a popular extension of the book document class, called memoir, written by Peter Wilson.

This package aims to integrate multiple design-related packages with the LaTeX book class. It provides:

  • a larger range of permissible font sizes,
  • a large number of page styles, and well
  • over a dozen chapter styles to choose from, as well as
  • methods for specifying your own layouts and designs.
  • It also integrates the functionality of over thirty popular packages.

Opens in a new tab.

LaTeX letter class

As with the slide document class, the letter is slightly old-fashioned. This class is used to make traditional letters, the ones that are put in an envelope and mailed, a somewhat obsolete way of communication (since the email was invented and generalized) but still used in certain official matters. Although the class was designed for traditional letters, still today there are certain documents that have the structure of a letter such as:

  • a letter of recommendation, or
  • a letter of presentation

and for which this document class may be useful. So let’s briefly discuss the details that characterize this particular document class!

With it, you can make any number of letters with a single input file:

  • Your name and address, which are likely to be the same for all letters, are specified by special declarations.
  • The return address is declared by an \address command, with multiple output lines separated by \\ commands (which is the common line-breaking command in LaTeX).
  • The \signature command declares your name, as it appears at the end of the letter, with the usual \\ separating multiple lines.

These declarations are usually put in the preamble because they are common to all letters, but they are normal declarations with the customary scoping rules and can appear anywhere in the document. In particular, this means that you can change the return address and signature at any point.

Each letter is produced by a separate letter environment, having the name and address of the recipient as its mandatory argument.

  • The letter itself begins with an \opening command that is used to generate the salutation.
  • The main body of the lecture is ordinary LaTeX input.
  • The letter closes with a \closing command that is passed the closing sentence and automatically generates the signature.

These may seem a lot of commands, but they are all very easy to use, and also very powerful since LaTeX automatically will take care of the formatting of the letter, without you having to worry about it at all.

In case you are not convinced yet, let me show you a clarifying example where all the commands are put into practice so that you can use it as a template for your letters:

You can see the letter generated in Figure 2. Note how LaTeX automatically formates everything, and even inserts the current date without you asking for it. I find generating letters with LaTeX easier than doing it by hand!

letter document class in LaTeX

We said that the date on the letters is automatically inserted by LaTeX and that it uses today’s date. We can, however, change this behavior by redefining the \today command, which is where LaTeX saves the name of the day. For example:

\renewcommand{\today}{12th of October of 1492}

will make \today print the content “12th of October of 1492”. This declaration can either be used on the preamble, to affect all letters or inside a certain letter environment, to only affect that letter.

documentclass latex options

As was stated in the introduction, there are some optional arguments that can be passed to the \documentclass command. Here we are going to explain these options:

The options 10pt, 11pt, and 12pt choose the normal type size of the document. The default value is 10pt. This option is not recognized by the slides class.

The paper size can be selected between the following options:

  • letterpaper (8.5in × 11in)
  • legalpaper (8.5in × 14in)
  • executivepaper (7.25in × 10.5in)
  • A4 (210mm × 297mm)
  • A5 (148mm × 210mm)
  • B5 (176mm × 250mm)

By default, the paper size is letterpaper.

The landscape option causes the output to be formatted for landscape printing on the selected paper size. Effectively, this option interchanges the width and the height dimensions of the paper size.

If TeX has trouble finding good places to break lines, it can produce lines that extend past the right margin (which produce the output warnings called “overfull hboxes”). The draft option causes such lines to be marked by black boxes in the output. The final option, which does not mark these lines, is the default.

Two sides printing

The oneside and twoside options format the output to be printed on one side or both sides of a page, respectively. The default is oneside, except for the book class, for which it is twoside. However, the twoside option is not available with the slides document class.

Opening page of chapters

If the openright option is used, then all chapters will begin on a right-hand page. Instead, with the openany option you can make them start on any page. These options apply only to the report class (whose default is openany) and the book class (whose default is openright).

Two column pages

The option twocolumn specifies two-column pages. The default is onecolumn, for one-column pages. The twocolumn option cannot be used with the letter or slides classes.

Page for the title

The titlepage option causes the \maketitle command to make a separate title page and the abstract environment to put the abstract on a separate page. The default is titlepage for all classes except article, for which it is notitlepage. hese options, however, are not recognized by the letter class.

Open bibliography style

openbib causes the bibliography to be formatted in an open style. This option is not recognized by the letter and slides classes.

Numbered formulas

The option leqno puts formula numbers on the left side, instead of the right, which is the default.

Formulas alignment

The option fleqn left-aligns formulas, which by default are centered.

Recent Posts

Typesetting Multiple Choice Questions in LaTeX

n this tutorial, we will see how to write a multiple-choice exam in LaTeX, using the exam document class. This document class provides multiple tools to easily typeset exams in LaTeX, and we have...

How to Write a Minimalistic CV in LaTeX: Step-by-step Guide

In this step by step tutorial, we will learn how to typeset a professional CV, and gain some more insight into how LaTeX works with a practical example.

Search code, repositories, users, issues, pull requests...

Provide feedback.

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly.

To see all available qualifiers, see our documentation .

  • Notifications

LaTeX class and template for typesetting math homework

artemmavrin/latex-homework

Folders and files, repository files navigation, the homework class.

Provides the LaTeX class homework.cls for typesetting homework in a straightforward problem-solution format. Designed to avoid this mistake .

Read on for a description of the homework class.

Table of Contents

Environments, class options, introduction.

  • Simple interface for specifying homework information (e.g., name and course).
  • Environments for writing problem statements, problem parts, and solutions.
  • Automatic title creation.
  • Compatible with article class options.
  • Loads the AMS math packages.
  • Automatic PDF author/title/bookmark metadata creation.

For an examples of homework solutions created using the homework class, see example.tex and the resulting PDF .

Getting Started

template.tex is a ready-to-use homework template that uses the homework class.

  • Download homework.cls and save it in the same directory as your homework .tex file ( alternatively , see this question to learn where to put .cls files to be globally available to TeX)
  • At the top of the homework .tex file, put \documentclass{homework} .
  • In the preamble, specify the homework information using the commands listed in the Commands section.
  • In the document, begin writing problems in problem environments and solutions in solution environments (see Environments ).

Documentation

The following commands should be used in the preamble of the homework .tex file. If these are not used, you will get an error.

  • \name{<name>} : Replace <name> with your name.
  • \course{<course>} : Replace <course> with the name of the course.
  • \term{<term>} : Replace <term> with the term when the course is held.
  • \hwnum{<number>} : Replace <number> with the number of the homework.

Thus, at a minimum , your preamble must contain

You can also change the default text of various labels that appear on the document by using the following commands.

  • \hwname{<name>} : Replace <name> with the desired label for the type of homework (e.g., Assignment or Problem Set ). The default is Homework .
  • \problemname{<name>} : Replace <name> with the desired label for problems created with the problem environment (e.g., Exercise or Question ). The default is Problem .
  • \solutionname{<name>} : Replace <name> with the desired label for solutions created with the solution environment (e.g., Proof , Answer , or a label in another language). The default is Solution .

The following environments are provided to typeset the homework.

problem : wraps individual problem statements. By default, problems are numbered beginning at 1 . To change the number of a given problem to n , use the command \problemnumber{n} before the problem environment.

solution : wraps the solution to a problem.

parts : enumerates parts of a multiple-part problem. If multiple parts environments are used in a single problem environment, labels will resume unless you use the \unresume command right after the beginning of each parts environment. New parts are declared using the \part command. The part labels can be customized by providing one of the following options to the parts environment:

  • a : (default) Lowercase letters.
  • A : Uppercase letters.
  • r : Lowercase Roman numerals.
  • R : Uppercase Roman numerals.
  • n : Numbers.

To specify your own labels to parts (for example, to only list parts b , d and e ) use the custom label as parameter as in \part[b)] .

claim , lemma , propostion , theorem , corollary , proof : organize claims made in a solution (and prove these claims). The 'claim' environment takes an optional argument that labels the claim (e.g., \begin{claim}[Conjecture] will make the claim be labelled "Conjecture"). The other listed environments are derived from the 'claim' environment.

To use a class option, write

at the beginning of your homework file, where <options> is a comma-separated list of the options that you wish to use.

All the options of the article class may be used. In addition, the homework class provides the following options.

  • boxes : Use this option if you want the problem environment to enclose problem statements in boxes.
  • hidesolutions : Use this option to hide solutions in the output. With this option enabled, you can still write solutions in the solution environment, but these solutions will not show up in the final document.
  • qed : Use this option if you want an end-of-proof symbol printed at the end of solutions.

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

Contributors 4

@artemmavrin

  • Makefile 1.6%

Robert J. Won

Department of Mathematics, The George Washington University

How to TeX your homework

The TeX template used in the video is included at the bottom of this post. You can paste this into a .tex file locally, or into Overleaf.

  • If you’re just starting out, I recommend using  Overleaf  as your TeX editor.
  • You can use  Detexify  to hand-draw a symbol to find the LaTeX command for it.
  • There is also a nice  WikiBook  on LaTeXing mathematics.
  • When in doubt, Google is your friend!

You will frequently have problems with TeX which will make the document unable to compile. You should remember to compile often so that you can pinpoint your errors. Here are some things to check.

  • Remember to place math within dollar signs, so $x^2$ typesets as  x 2 .
  • Make sure you have started and ended all environments in the appropriate spots.
  • Make sure you have closed all of your curly braces { }.
  • Check to see if you used a new command that requires a new package.

Leave a Reply Cancel reply

Save my name, email, and website in this browser for the next time I comment.

This site uses cookies to offer you a better browsing experience. Visit GW’s Website Privacy Notice to learn more about how GW uses cookies.

  • Library Hours
  • Strategic Plan
  • Giving to the Libraries
  • Jobs at the Libraries
  • Find Your Librarian
  • View All →
  • Google Scholar
  • Research Guides
  • Textbook/Reserves
  • Government Documents
  • Get It For Me
  • Print/Copy/Scan
  • Renew Materials
  • Study Rooms
  • Use a Computer
  • Borrow Tech Gear
  • Student Services
  • Faculty Services
  • Users with Disabilities
  • Visitors & Alumni
  • Special Collections
  • Find Information

LaTeX & BibTeX

  • Getting Started
  • LaTeX: \DocumentClass Command
  • LaTeX: \UsePackage Command
  • BibTeX-related 3 Commands
  • Workshop Agenda
  • Export from EndNote to Bibtex
  • Demo: Using Overleaf

Classes in LaTeX

The first line of code in any LaTeX souce document (in .tex document)  is  - document class declaration command. 

\ documentclass { article }

It is from here that you declare the class of which you like to build your document around. -  you specify what type of document you are working with and output: 

So a document starting   \ documentclass { article }   would generate “an article document”

A wide variety of classes have been implemented and are available online. A small list of some of the major ones are as follows: 

  • article - for articles in scientific journals, presentations, short reports, program documentation, etc...
  • IEEEtran - for articles with the IEEE Transactions format.
  • report - for longer reports containing several chapters, small books, thesis, etc...
  • boo k - for real books
  • slides - for slides.
  • letter - for writing letters.

Examples of Document Classes

In addition to the predefined formatting within a class, the user has the ability to define certain options specific to their document. Class option are to be inserted in between square brackets, [ ] , before the curly braces, {}, that define the class to be used. Multiple options are to be separated by a comma.

\documentclass [ option1,option2 ] { article }

Options available to the user are as follows:

10pt, 11pt, 12pt - Sets the size of the main font in the document. If no option is specified, 10pt is assumed.

a4paper, letterpaper, etc ... - Defines the paper size. The default size is letterpaper; However, many European distributions of TeX now come pre-set for A4, not Letter, and this is also true of all distributions of pdfLaTeX. Besides that, a5paper, b5paper, executivepaper, and legalpaper can be specified.

fleqn - Typesets displayed formulas left-aligned instead of centered.

leqno - Places the numbering of formulas on the left hand side instead of the right.

titlepage, notitlepage - Specifies whether a new page should be started after the document title or not. The article class does not start a new page by default, while report and book do.

onecolumn, twocolumn - Instructs LaTeX to typeset the document in one column or two columns.

twoside, oneside - Specifies whether double or single sided output should be generated. The classes’ article and report are single sided and the book class is double sided by default. Note that this option concerns the style of the document only. The option two side does not tell the printer you use that it should actually make a two-sided printout.

landscape - Changes the layout of the document to print in landscape mode.

openright, openany - Makes chapters begin either only on right hand pages or on the next page available. This does not work with the article class, as it does not know about chapters. The report class by default starts chapters on the next page available and the book class starts them on right hand pages.

draft - makes LaTeX indicate hyphenation and justification problems with a small square in the right-hand margin of the problem line so they can be located quickly by a human. It also suppresses the inclusion of images and shows only a frame where they would normally occur.

As an example, let’s write the document class declaration command for an article with 12pt font and two columns on letter size paper.

        \documentclass [ 12pt,twocolumn,letterpaper ]{ article }

Examples of Document Classes & Options

  • Examples of Document Classes \documentclass{letter} \documentclass{article}
  • Examples of Document-Class-Options \documentclass[option1, option2, etc.]{article} \documentclass[12pt,twocolumn,letterpaper]{article} Font size [10pt, 11pt, 12pt] Paper size and format [a4paper, letterpaper]
  • << Previous: Getting Started
  • Next: LaTeX: \UsePackage Command >>
  • Last Updated: Feb 27, 2024 4:12 PM
  • URL: https://libguides.utsa.edu/Tex
  • Library Locations
  • Staff Directory
  • 508 Compliance
  • Site Search
  • © The University of Texas at San Antonio
  • Information: 210-458-4011
  • Campus Alerts
  • Required Links
  • UTSA Policies
  • Report Fraud

because LaTeX matters

\documentclass{book, report, article or letter}.

A LaTeX document starts with the command \documentclass [option] {type} . The most common document-classes in LaTex are:

All of them are similar, except letter. The main differences can be summerised as follows:

  • An “article” does not provide “chapter”, whereas “book” and “report” do. Thus, the first structuring element of an “article” is \section{name} .
  • In a “book”, a header is automatically added to each page indicating the page number as well as the chapter name on even pages and the section name on odd pages
  • A “book” is always 2-sided whereas in a “report” or “article” you have to specify it by using the “twoside” option. In addition, in a “book” and “report” the “titlepage” and “abstract” will take a whole page each, which is not the case for “article”. In an “article”, you can use the options “titlepage” and “abstract”.
  • The “letter” provides a US-type letter format.

Available document structure commands:

Book: \part{}, \chapter{}, \section{}, \subsection{}, \subsubsection{}, \paragraph{}, \subparagraph{} .

Report: \part{}, \chapter{}, \section{}, \subsection{}, \subsubsection{}, \paragraph{}, \subparagraph{} .

Article: \part{}, \section{}, \subsection{}, \subsubsection{}, \paragraph{}, \subparagraph{} .

Letter: A letter does not know the same structuring commands as other formats, but more specific commands like \signature{}, \address{}, \opening{} and \closing{} .

Except \part{} , all structuring commands build a hierarchy. They have a standard formating and numeration.

Other less common document-classes:

  • “proc” for a protocol (two columns by default and smaller borders on the left and right)
  • “slides” for a presentations
  • “minimal, a prototype for your own document type

You can always change the standard document types, by adapting the *.cls-file to your needs.

Share this:

One comment.

' src=

16. September 2018 at 17:39

Posted eleven years ago and still relevant.

Leave a Reply Cancel reply

12 February 2014

Doing your homework in latex.

It is a common occurrence for other students to comment on my homework whenever I turn it in for one of my classes.

The complete LaTeX file (and the pdf output) can be found in my repository, latex-homework-template .

Below are a few screenshots of problems that I’ve done in the past:

Cover page

If I didn’t know how easy it was and the benefits that I get from typesetting my homework, I’d probably ask as well. However, I’d argue that using LaTeX to type up homework has made me a far better student than when I used to handwrite my homeworks.

And that is something that I care a lot about.

The Benefits

I can summarize the benefits like so:

It can be kept in Source Control. Handwriting can’t be stored in a version control system; once you erase something, it’s gone.

You can see your homework materialize in front of you. Seeing the results and the equations in their complete LaTeX-glory is a very powerful way to conceptualize things. There’s just something different about the way things look so perfect that makes the subject easier to understand.

You’ll do better in your classes. This one goes with the previous point, but having the ability to see your homework helps you understand it. By understanding it well, you’ll do better on tests. You will maximize how much you can learn as well as maximize your grade (if that matters to you).

It’s very neat & tidy. Although my handwriting has improved quite a bit, I still find myself slipping back into a rushed, messy script from the past. LaTeX gives zero doubt that the professor/TA will be able to read my solutions.

About LaTeX

A very short history.

Donald Knuth , a legendary Computer Scientist as well as one of my favorites, is well known for the system that he created called just TeX .

It is a piece of typesetting software that aids in writing documents and formulas. The power comes from the fact that the document that you write is plain source code.

The code that you write is then “typeset” into the final document in whatever form you wish.

Here’s an example of some basic LaTeX code:

With the output looking like below:

Example output

Using the Template

I’ve created a GitHub repository, latex-homework-template , just for my homework template that I’ve been using ever since I started. I found it online and used it as a base to start my template.

To use it, just download the homework.tex file and start editing. Once you need to typeset it, you’ll need LaTeX here .

After that, you just need to compile it and you’ll get your output. There are tons of different resources that I’ve found useful in learning LaTeX:

TeX StackExchange

LaTeX Wikibook

Effect on Performance

I have a solid set of anecdotal evidence in favor of using LaTeX for writing up my homework.

In all the classes that I’ve used LaTeX, I’ve come out of the class with a very strong understanding of the material as well as a good grade. Although I’m not a big fan of grades (like at all), I know it matters to some people.

This might have to do with the fact that doing the homework in LaTeX takes longer. It might have to do with the fact that I perfect the appearance and spend a lot more time looking at the subject.

The most likely reason is a combination of all that I previously mentioned plus other factors. I’m usually one to always want to quantify something, but in this case, I know it helps; that’s all I need.

Learning Curve

There definitely is a learning curve when it comes to trying to use LaTeX for homework. I felt that it was definitely worth the effort unlike how it might seem to some students.

I reasoned that when I go to graduate school, I will want to use it there. I also know how pervasive it is in textbooks. Since I love to read textbooks so much, I wanted to see what it took to write them so elegantly. I may even want to write one in the future; we’ll have to see =]

To me it seemed like a small tradeoff for the great benefits that it provided.

I cannot recommend using LaTeX for your homework enough.

The benefits go a long way. It helps you learn the material and in a way that isn’t as easily achieved when just using pencil and paper.

LaTeX is also widely used in academia and learning about the tool is almost essential if you wish to go to graduate school.

Once I graduate from university, I plan on releasing all my code for the last three semesters as open source. It includes all my LaTeX code which has really accumulated over the last year. It should provide a nice resource for others.

In the meantime, hopefully if you start using LaTeX for your homework, you won’t be able to resist doing it early because of how fun it is. Well, at least it was fun for me =]

Gallery — Homework Assignment

Gallery Items tagged Homework Assignment

Show all Gallery Items

Here we provide a selection of homework assignments templates and examples for school, college and university use. These often include a question and answer section already set out, along with space for the student name, course title, date and any other required information. Teachers and lecturers may also find these templates useful for preparing material for their classes.

simple technical documentation

Related Tags

Have you checked our knowledge base ?

Message sent! Our team will review it and reply by email.

IMAGES

  1. The LaTeX homework Document Class

    latex homework documentclass

  2. GitHub

    latex homework documentclass

  3. Week 4 Latex Tutorial Lecture 002 Document Class Options

    latex homework documentclass

  4. latex-homework-class/template.pdf at master · jez/latex-homework-class

    latex homework documentclass

  5. Latex Template For Homework

    latex homework documentclass

  6. LaTeX Programming : 005 : Parts of a Document, Document Class and Packages

    latex homework documentclass

VIDEO

  1. LaTeX Tutorial 2: Docuemnt Class Options

  2. Latex: Thesis Writing: Explained in urdu

  3. Latex# model#learn latex#latex tutorial#latex full course#latex figures#an introduction to overleaf#

  4. LaTeX

  5. latex tutorial|latex tutorial for beginners

  6. Introduction To LaTeX Tutorials For Beginners

COMMENTS

  1. Class file for Homework/Assignments

    In my opinion the (standard) article document class would work for that. The reason for not suggesting something like book or report is that they are meant for much larger texts (since they include chapters and parts). Additional syntax-highlight can be obtained by means of the listings package - you specify the language (and possibly other formatting) and put the code in a lstlisting ...

  2. The LaTeX homework Document Class

    There are LaTeX document classes for typesetting books, articles, exams, presentations, and more. Now, there's one for homework assignments, too. Source. Check out and download the source on GitHub. 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 ...

  3. Your Guide to documentclass LaTeX: Types and options

    Table 1: LaTeX document types The first two document classes are the basic ones; if you don't know what document class you should use, always start with article.; The report class is very similar, the main difference with the article being that you can insert chapters with \chapter, while in the article class the highest element in the hierarchy of titles is the \section command.

  4. LaTeX Homework Class

    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: 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 ...

  5. LaTeX Homework Template for Submitting Online

    This simple LaTeX homework template consists of a class file and shortcut package that contain best-practice document style settings and shortcut commands (respectively). ... using the template is as simple as invoking homework as the designated document class and including some additional options. For example: \documentclass[name=Jacob\ Strieb ...

  6. Templates

    Templates tagged Homework Assignment. Show all Templates. Here we provide a selection of homework assignments templates and examples for school, college and university use. These often include a question and answer section already set out, along with space for the student name, course title, date and any other required information.

  7. Overleaf Homework Template

    \documentclass{homework} \author{Musa Al`Khwarizmi} \class{CS 3141: Prof. Kamil's Algorithm Analysis} \date{\today} \title{Overleaf Homework Template} \address{Bayt El-Hikmah} \graphicspath{{./media/}} \begin{document} \maketitle \question Write down sets in order of containment. We pretend that equivalence classes are just numbers.

  8. LaTeX documentclass options illustrated

    LaTeX documentclass options illustrated. 13. February 2013by tom 22 Comments. The three most commonly used standard document-classes in LaTeX include: article, report and book. A number of global options allows customization of certain elements of the document by the author. Different document-classes might have different default settings.

  9. GitHub

    Download homework.cls and save it in the same directory as your homework .tex file (alternatively, see this question to learn where to put .cls files to be globally available to TeX) At the top of the homework .tex file, put \documentclass{homework}. In the preamble, specify the homework information using the commands listed in the Commands ...

  10. Simple Math Homework Template

    %This is my super simple Real Analysis Homework template \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[english]{babel} \usepackage[]{amsthm} %lets us use \begin{proof} \usepackage[]{amssymb} %gives us the character \varnothing \title{Homework 1} \author{Your Name} \date\today %This information doesn't actually show up on your document unless you use the maketitle command ...

  11. How to TeX your homework

    How to LaTeX (with math homework template) Watch on. The TeX template used in the video is included at the bottom of this post. You can paste this into a .tex file locally, or into Overleaf. If you're just starting out, I recommend using Overleaf as your TeX editor. You can use Detexify to hand-draw a symbol to find the LaTeX command for it.

  12. LaTeX: \DocumentClass Command

    The first line of code in any LaTeX souce document (in .tex document) is - document class declaration command. \documentclass{article} It is from here that you declare the class of which you like to build your document around. - you specify what type of document you are working with and output: So a document starting \documentclass{article ...

  13. \documentclass{book, report, article or letter}

    A LaTeX document starts with the command \documentclass [option] {type}. The most common document-classes in LaTex are: book. report. article. letter. All of them are similar, except letter. The main differences can be summerised as follows: An "article" does not provide "chapter", whereas "book" and "report" do.

  14. Document class for a simple one-page assignment

    I'm looking for a LaTeX document class which would fit a simple one-page assignment with mostly text. I'd still want sections and subsections like those in article, but would like: more vertical space; no page numbering; much smaller title, author name and date; Is there such a document class out there? I tried to do this manually in an article ...

  15. Doing Your Homework in LaTeX

    Doing Your Homework in LaTeX. It is a common occurrence for other students to comment on my homework whenever I turn it in for one of my classes. The complete LaTeX file (and the pdf output) can be found in my repository, latex-homework-template. View on GitHub. Below are a few screenshots of problems that I've done in the past: Cover page ...

  16. I found a great Documentclass for Homework! : r/LaTeX

    LaTeX can indeed help make math and physics homework look professional. It's fantastic that you were able to quickly grasp the syntax and create a well-structured document. It's also smart of you to search for solutions to improve the formatting of your LaTeX documents. The jhwh document class created by user qgp07 seems to be a great find for ...

  17. How do I create a simple page of homework in LaTeX?

    I defined some commands \idnumber and \classname for the ID number and the class name; the \makeheader command typesets the information for these two commands and \author, \title with the desired formatting. The setspace package was used to change the interline spacing. The lipsum package was only used to generate text for the example. Share.

  18. PDF Vote { Homework

    Vote { Homework Please answer the following questions. We don't expect rigorous formal proofs: rather, just a high-level argument from intuition. Please submit your answers as a PDF to Gradescope. Collaboration is allowed and encouraged, but you must write up your own answers and acknowledge your collaborators in your submission.

  19. how to create a template or document class for latex?

    Based on my comments, here is an answer. To write a document class, all you need (really) is to create a file, say, myclass.cls, and put it in the same place as your document; then it can be loaded with \documentclass{myclass} and any macros defined in it will be available to the document. The document clsguide.pdf that Higgs Boson linked describes all the various structured commands you ought ...

  20. Writing your own class

    Identification. There are two simple commands that all classes must have: \NeedsTeXFormat{ LaTeX2e } \ProvidesClass{ exampleclass } [2014/08/16 Example LaTeX class] The command \NeedsTeXFormat {LaTeX2e} sets the LaTeX version for the class to work. Additionally, a date can be added within brackets to specify the minimal release date required.

  21. Gallery

    How to use this template: 1) Change the header and the footer (Layout -> headerfooter.tex) 2) Change the title page (Layout -> titlepage.tex) 3) Write sections by going to the Sections folder and duplicating 1_Section_whatever.tex and rename. 4) Add sections to the assignment by going to main.tex and linking the files Easy peasy.

  22. big list

    The "do-it-all" classes like Koma-script and memoir are great when you actually need all those features, but I'm more of a Unix-philosophy person myself: a piece of software should do one thing and do it well. A document class should only be a document class, A package for doing X should only be a package for doing X. That way, things are modular.