• Scholarship Overview
  • Academic Writing
  • Undergraduate Research
  • Book: Intro to Proof via IBL
  • Teaching Tidbits
  • Teaching Resources
  • Letters of Recommendation
  • Free and Open-Source Textbooks
  • Inquiry-Based Learning
  • Quick LaTeX Guide
  • Problem of the Week
  • NAU Mathematics & Statistics
  • Department Seminars
  • ACGT Seminar
  • Academy of Inquiry-Based Learning
  • Mathematics Learning by Inquiry
  • Four Corners COMMIT
  • MAA Teaching Tidbits
  • MathBlogging.org
  • Booles' Rings
  • Mathematical Association of America
  • American Mathematical Society
  • American Institute of Mathematics
  • Project NExT
  • Math Ed Matters

LaTeX Homework Template

  • Aug 20, 2012

For most of my inquiry-based learning (IBL) proof-based courses, I typically assign two types of homework assignments:

Daily Homework

Weekly homework.

I’ll briefly explain each of these.

The Daily Homework is assigned each class meeting, and students are expected to complete (or try their best to complete) each assignment before walking into the next class period. All assignments should be carefully, clearly, and cleanly written. Among other things, this means that the work should include proper grammar, punctuation, and spelling. However, the work done on these assignments is not intended to be perfect. The Daily Homework generally consists of tasks (e.g., completing exercises, proving theorems) from the course notes. On the day that a homework assignment is due, the majority of the class period is devoted to students presenting some subset (maybe all) of their proposed solutions/proofs to the tasks that are due that day. Students are allowed (in fact, strongly encouraged!) to modify their written work in light of presentations made in class; however, they are required to use a felt tip pen, which I provide at the beginning of each class. Students can annotate their work as much as they like and there is no penalty for using the felt tip pen. Students submit their their work at the end of class and the assignment is graded on a $\checkmark$-system. Whether the student receives a $\checkmark-$, $\checkmark$, or $\checkmark+$ depends on how much work they had completed before they walked in the room. The felt tip pen strategy works amazingly well.

In addition to the Daily Homework, students are also required to submit two formally-written proofs each week. During week $n$, students submit any two problems marked with a $\star$ that were turned in during week $n-1$ for the Daily Homework. The $\star$-problems are typically a subset of the medium to difficult proofs. The students are required to submit a PDF of their write-ups, and in general, the Weekly Homework assignments are due on a non-class session day (so that they don’t interfere with the Daily Homework). One huge advantage of this approach is that students are forced to reflect on the previous week’s work and it allows them another opportunity to learn the material if they didn’t master it the firs time.

If you’d like to know more about my approach to Daily and Weekly Homework, as well as the felt tip pens, check out the slides for this talk . In the future, I plan to write a more extensive blog post about the advantages of the felt tip pens and the multiple rounds of revision that the Weekly Homework promotes.

Using LaTeX for the Weekly Homework

I either require or strongly encourage my students to type up their Weekly Homework assignments using LaTeX . In case you don’t already know, LaTeX (pronounced “lay-tech”, or sometimes “la-tech”) is a markup language that is the standard for typesetting mathematics (and other technical fields). Most people find it difficult to get started with LaTeX and my students are no exception. To minimize some of the initial difficulties, I encourage them to use Overleaf , which is an awesome and free online LaTeX editor. This way students do not need to worry about installing the LaTeX backend and an editor. One advantage to Overleaf is that my students can easily share their source documents with me. Whenever they are having difficulty, I can just take a look at their file and either make a comment right in the file or do a quick debug. Another way that I try to reduce the LaTeX start-up cost is by providing my students with a LaTeX Homework Template (see below).

This template is set up exactly how I want the Weekly Homework to look. I also provide a minimal amount of guidance, as well as some examples in the template. Using the template in Overleaf is as easy as clicking the link below. Try it!

Feel free to use the template and if you have ideas for improvements, I’d love to hear about them. Lastly, I’ve written a Quick LaTeX Guide to help my students get started with the actual writing of LaTeX.

Update June 2013: I originally encouraged my students to use ScribTeX , which seems to have joined forces with ShareLaTeX . However, I now have my students use Overleaf , which my students and I have been very happy with. I modified my original post to reflect my current use of Overleaf.

Dana C. Ernst

Mathematics & Teaching

  Northern Arizona University   Flagstaff, AZ   Website   928.523.6852   Twitter   Instagram   Facebook   Strava   GitHub   arXiv   ResearchGate   Academia.edu -->   LinkedIn   Mendeley   Google Scholar   Impact Story   ORCID

Current Courses

  MAT 226: Discrete Math   MAT 690: CGT

About This Site

  This website was created using GitHub Pages and Jekyll together with Twitter Bootstrap .

  Unless stated otherwise, content on this site is licensed under a Creative Commons Attribution-Share Alike 4.0 International License .

  The views expressed on this site are my own and are not necessarily shared by my employer Northern Arizona University .

  The source code is on GitHub.

Land Acknowledgement

  Flagstaff and NAU sit at the base of the San Francisco Peaks , on homelands sacred to Native Americans throughout the region. The Peaks, which includes Humphreys Peak (12,633 feet), the highest point in Arizona, have religious significance to several Native American tribes. In particular, the Peaks form the Diné (Navajo) sacred mountain of the west, called Dook'o'oosłííd, which means "the summit that never melts". The Hopi name for the Peaks is Nuva'tukya'ovi, which translates to "place-of-snow-on-the-very-top". The land in the area surrounding Flagstaff is the ancestral homeland of the Hopi , Ndee/Nnēē (Western Apache), Yavapai , A:shiwi (Zuni Pueblo), and Diné (Navajo). We honor their past, present, and future generations, who have lived here for millennia and will forever call this place home.

  All work is licensed under the Creative Commons BY-SA 4.0 License .

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 =]

A LaTeX Homework Template

October 4, 2014

Writing a LaTeX document from scratch for every assignment is tedious. Especially for homework assignments, a lot of the structure is repetitive. Read on to learn about the homework template I’ve adapted for use in all my technical classes.

I’ve been using LaTeX for assignments in college for over a year now, and from the get-go I loved it; It’s a powerful way to transform plain text (which is editable in Vim!) into beautiful documents. In fact, I use LaTeX + Vim or Google Docs exclusively–no Microsoft Office. People often don’t understand why I prefer this combination, claiming that LaTeX is time consuming and tedious. But with a good template and some Vim-foo, editing LaTeX is a breeze. In a later post, I’ll elaborate how I use Vim + Unix as an IDE for LaTeX. For now, though, let’s take a look at my template!

The Template

For those who like to learn by doing, I invite you to jump over to GitHub where you can see the source, download the template, and start tinkering. The source isn’t that long, and it comes with tons of examples to get you going.

The rest of this post goes into some fancy use cases for how to get the best out of this template. If you don’t read it now, check it out later if you want to take advantage of it’s more powerful features. You can also leave comments here asking how something works, and issues on GitHub if something’s broken.

Here’s a quick overview of what the theme looks like. You’ll have to use your imagination a bit: this outline is more of a list of examples. I’d show you how nice one of my actual homeworks looks, but then I’d be giving out my homework!

homework assignment template latex

My main use case for LaTeX is (unsurprisingly) to typeset homeworks for math and CS classes. In these classes, the questions are either numbered or have specific names, and they ask for your name, lecture, recitation section, student ID, email address, etc. It turns out that there are some pretty simple ways of modularizing each of these desired features.

Personal Info

To solve the issue of entering personal information, the template defines a bunch of commands at the top of the file that enumerate all the fields you’ll likely want to include on your homework.

This is where forking comes in particularly handy . You’d like to be able to define your own defaults and push them somewhere, but you also want to be able to update the template as new changes become available. If you fork the repo, you can both have a repository where you can include your own changes as well as pull any updates as they become available. (If you’re new to forks, you should definitely check them out ).

Whenever I have an assignment to do, the questions generally come down to one of two forms: named or numbered questions. As such, there are two environments in the template that let you easily create a space to put your answers for each type of question. These are named namedquestion and numedquestion ( not numberedquestion ).

The namedquestion environment takes one required argument: the name! This environment is handy any time the questions don’t have numbers attached to them, or if the ordering of the questions doesn’t conform nicely to a sequential numbering.

The numedquestion environment takes no arguments, but that doesn’t mean you can’t configure it. By default, numedquestions begin counting at 1 and go up sequentially from there. To change this, you manually set the contents of the questionCounter counter. Using

Before the first question will start the numbering at 0. You can use this pattern (set the questionCounter to one less than the next question) to arbitrarily skip around with your numbering. There’s an example of this in the source.

There are also times when you’d like numbered questions to be of the form “X.y”, where “X” is the section number that the question comes from, and “y” is the number of the question within that section. The template tracks the value of “X” in \writtensection . By default, the template sets this to 0, which causes the section number to be omitted. If you manually set \writtensection to a non-zero value, this number will be prepended to all questions. When you do this, the value of “y” is determined by questionCounter .

Similar to what we could do with questionCounter , you can manually turn on the section counter for certain questions by including something like

in front of that particular question. Use \renewcommand{\writtensection}{0} after that question if you’d like to turn it back off.

Question Parts

All in all, these two environments will take care of 90% of what you need to do in your homework. Sometimes, though, questions have multiple parts. To handle this, there are two environments, alphaparts and arabicparts , that take care of alphabetic and numeric question parts, respectively.

The uses of these environments are pretty straightforward and have no real special cases. Each environment wraps around the enumerate environment. This means you can just use a normal \item to indicate a specific part of the question.

Induction Proofs

There’s one more thing that I’d like to mention here. Different people have different ways of typesetting induction proofs, with varying degrees of success. Personally, I like the description environment for outlining the base case, induction hypothesis, and inductive step of the proof. It works well for basically every induction proof, and looks nice and clean.

Be sure to let me know how you like this template! It works for me, but obviously I’m only using it for a small number of things on exactly one system. If something doesn’t seem to work, or if you’d like to see a particular feature implemented, comment or create a GitHub issue to let me know!

Stack Exchange Network

Stack Exchange network consists of 183 Q&A communities including Stack Overflow , the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Q&A for work

Connect and share knowledge within a single location that is structured and easy to search.

Class file for Homework/Assignments

I was wondering if there is a good general purpose homework class file/template out there. I want to use it for classes. Generally, math-centered courses. I would like if there was syntax highlighting for programming (Python, Ruby, C, Java, etc.).

Salazar's user avatar

  • 1 You might also want to look into the answers package, it is very nice =) –  N3buchadnezzar Commented Mar 19, 2012 at 23:09

3 Answers 3

For the class file itself: I actually made my own class file (adapted from the report class file) to format my homework the way I wanted. It is here, if you're interested in trying it or fiddling with it:

https://gist.github.com/1278588

You supply it with \author and \title in the preamble, and it automatically uses today's date.

This file is used by inserting \documentclass{jhwhw} at the beginning of a document.

The standard formatting for a problem looks like this:

It creates a new page for every problem. Also, if a problem has multiple "parts" the formatting might look like this

The enumerate will use letters (a), (b), etc. And \part will use (a), then (b), etc.

picture

If you want to try it out, download it, put it in your texmf folder and run texconfig rehash (if you're on a UNIX based system).

There are definitely things in this class file that are automated that people would want more control over, so I suggest fiddling around to find what works best for you.

For syntax highlighting: Werner's answer mentioning the listings package for syntax highlighting and code is great. ( That style file could be used with this class file.)

Community's user avatar

  • Hey man is there a way to prevent each problem from starting on a new page? –  Antillar Maximus Commented Sep 2, 2013 at 22:03
  • 2 Yeah, in the \newcommand*{\anyproblem}[1]{\newpage\subsection*{#1}} line of the style file (as of this writing: L60), remove the \newpage . That should prevent it from starting each problem on a new page. –  qgp07 Commented Sep 27, 2013 at 20:38

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 environment and that's that. See the listings documentation for more information on this (p 12 presents a list of supported languages, although you can define your own).

For mathematical typesetting, I would suggest using the amsmath package as well. It provides the powerful align environment for typesetting equations (numbered; otherwise, for unnumbered equations using align* ) with alignment properties. It also improves on other standard mathematical components used in LaTeX.

Here's an outline of what I'm talking about:

If, in general, your expertise in LaTeX needs a solid foundation, consider reading through the Not So Short Introduction to LaTeX2ε .

Werner's user avatar

  • Also consider the exam class ( related question ) for a question/answer structure. –  Mike Renfro Commented Oct 11, 2011 at 3:12

You can make a topic search at CTAN and under exams you will find a complete list of packages related with exercises or exams . I think most of them are compatible with listings and minted to typeset code.

Ignasi's user avatar

  • 1 The links have since rotted. Is there an alternative? –  Kat Commented Sep 20, 2014 at 23:51
  • Broken link.... –  JPCF Commented Oct 8, 2015 at 15:31
  • 2 @JPCF I've revised links. –  Ignasi Commented Oct 8, 2015 at 15:39

You must log in to answer this question.

Not the answer you're looking for browse other questions tagged templates ..

  • The Overflow Blog
  • Community Products Roadmap Update, July 2024
  • Featured on Meta
  • We spent a sprint addressing your requests — here’s how it went
  • Upcoming initiatives on Stack Overflow and across the Stack Exchange network...

Hot Network Questions

  • Is it possible to "label" Segwit spendable output ScriptPubKeys with arbitrary bytes?
  • Why does the voltage double at the end of line in a open transmission line (physical explanation)
  • Spec sheet on Shimano FC-C201 seemingly does not match my bike
  • Which of the following values can the expression NOT take?
  • Concrete works by Alexandre Grothendieck, other than Dessin d'Enfants?
  • mirrorlist.centos.org no longer resolve?
  • How shall I find the device of a phone's storage so that I can mount it in Linux?
  • confidence intervals for proportions containing a theoretically impossible value (zero)
  • Pregnancy in a hibernated state
  • Plane to train in Copenhagen
  • Evil God Challenge: What if an evil god is just trolling humanity and that explains why there's good in the world?
  • What is this thin stream coming out from somewhere near the engine?
  • What's the history of Spell Slots in D&D?
  • Solving complex opamp circuits
  • Explain why "Calf" is the answer to "Ice mass broken off a little lower?"
  • Is intuitionistic mathematics situated in time?
  • Align 3 tables neatly
  • As an advisor, how can I help students with time management and procrastination?
  • Why danach instead of darüber?
  • If a lambda is declared inside a default argument, is it different for each call site?
  • Why should I meet my advisor even if I have nothing to report?
  • How to maintain dependencies shared among microservices?
  • Error handling for singly linked list in C
  • Questions about mail-in ballot

homework assignment template latex

Getting Started with LaTeX

  • Installation
  • Creating a document
  • A sample document
  • Library Workshop Files

Introduction

Before reading this section you should have a basic understanding of how to create a LaTeX document, as well as, the basic structure of a document.

This section is about creating templates for LaTeX documents.  Templates are meant to speed up the initial creation of a LaTeX document.  Often it is the case that the same packages and document structure will be applicable to many of the documents you are working on, in this case using a template will save you the time of having to input all of this information every time you create a new document.

Using and Creating Templates

A good front end LaTeX software package will contain at least some standard templates for different document types such as articles, beamers, and books, a great one will also let you create your own template.  Templates can be very useful when there are certain documents types you need to create often such as class notes, homework assignments, and lab reports.  In these cases a template will create consistency between documents and greatly simplify the creation of the document.

Using Templates

How to use a template depends on what program you are using to write your LaTeX code.  If you are not using any front end software a template would simply be an already written .tex file you used to start your document.  It is important to make sure that you do not save over the template as you create the new document as this would destroy the template file.  Different front end software have different methods for using templates.  In TexStudio for example under "File" there is a "new from template" option.  TexStudio comes with a number of preprogrammed templates but also allows you to add your own.  TexMaker on the other hand, under file, has the option "new by copying an existing file".  In this case you would need to create your own template file,  but you would not have to worry that you might accidentally save over it.

If the template you are looking for is not built into the software you are using there are online resources such as LaTeX Templates  where you can download templates for a variety of purposes.  A more advanced LaTeX user may also want to consider creating their own template. 

Creating Templates

When creating a template there are several important questions to ask yourself:

  • It doesn't make sense to have a template if you will need to change the document class often.  It is also important to recognize which document best suits your needs (i.e. if you want sections use article but if you want chapters use book).
  • One of the best reasons to have a template is that you won't have write the preamble every time you start a new document, therefore it is very important to include all the packages you will need.  Its better to have extra packages than not enough.
  • You can save time by incorporating certain common elements into you preamble such as title, author, and date.  You may also want include certain structures in the document, for example if you were making a lab report you may already include all the sections the report requires (Introduction, Experimental Setup, Results, Conclusions, etc...).  
  • Perhaps you are using your template for a certain class that often uses matrices or a mathematical symbol with a long name.  Creating a new command as part of the template can help simplify the writing process.

Sample Template Code

% This is a template for doing homework assignments in LaTeX

\documentclass {article} % This command is used to set the type of document you are working on such as an article, book, or presenation

\usepackage { geometry } % This package allows the editing of the page layout \usepackage { amsmath }   % This package allows the use of a large range of mathematical formula, commands, and symbols \usepackage { graphicx }   % This package allows the importing of images

\newcommand { \question }[2][]{ \ begin{ flushleft }         \textbf {Question #1}: \textit {#2}

\end{ flushleft } } \newcommand { \sol }{ \textbf {Solution}:} %Use if you want a boldface solution line \newcommand { \maketitletwo }[2][]{ \begin{ center }         \Large { \textbf {Assignment #1}                          Course Title} % Name of course here          \vspace {5pt}                  \normalsize {Matthew Frenkel   % Your name here                  \today }         % Change to due date if preferred          \vspace {15pt}          \end{ center } } \begin{ document }      \maketitletwo [5]   % Optional argument is assignment number     %Keep a blank space between maketitletwo and \question[1]           \question [1]{Here is my first question}           YOUR SOLUTION HERE          \question [2]{Here is my second question}          YOUR SOLUTION HERE          \question [3]{What is the \Large { $ \int_ 0^2 x^2 \, dx $ } \normalsize {. Show all steps}}           \begin{ align* }     \int_ 0^2 x^2 &= \left. \frac {x^3}{3} \right| _0^2 \\                  &= \frac {2^3}{3}- \frac {0^3}{3} \\                  &= \frac {8}{3}      \end{ align* } \end{ document }

Sample Template Output

Screen capture of a sample template displaying text for a fictitious homework assignment

  • << Previous: Resources
  • Next: BibTex >>
  • Last Updated: Jun 4, 2024 12:58 PM
  • URL: https://guides.nyu.edu/LaTeX

LaTeX Example :: Homework Assignments (and Similar)

 – I've put together additional resources relevant to homeworks and reports. Check out: résumé/CV template. source for . help sections (which include ) at the course web pages for , , , and . I've also created a public repository for the source code to these files at

.

All of the writing that I do in graduate school is done in LaTeX and typeset in TeX . In order to rapidly learn LaTeX , I decided to submit all of my homework assignments using it. At first, this made assignments take a little longer, but once I got used to it, there were lots of benefits, and, of course, I definitely learned a lot about LaTeX and TeX .

During this time, I put together a LaTeX template for homework assignments (and other similar papers). I'm posting that here in the hope that it will make it easier for others to get started using LaTeX in their homeworks (and then hopefully also in their research publications).

In the templates posted below, I use Stephen Riehm's bracketing rules to mark places where user text should be merged into the template. In other words, wherever you see a <+ place holder +> , replace it with the appropriate text. Example text will be given in the caption of the place holder. If you are like me and use VIM , then you should be able to use <C-j> to move from place holder to place holder. (just like moving from bullet to bullet with <C-space> in WinEdt ; in fact, I used to use bullets in these files instead, but I started using VIM more than WinEdt, and VIM place holders are more descriptive than WinEdt bullets)

  • homework_tex.ascii – click here to view homework.tex in browser
  • homework_tex_example_tex.ascii – click here to view homework_tex_example.tex in browser
  • homework_tex_example.pdf – a pdf rendered from the example

NEW!!  – I have made two additional similar homework templates that may also be helpful. Both of these include a subtitle that will be excluded if the subtitle is left blank. Both also include a \matlabscript and a \scalefig macro for including MATLAB scripts and figures easily. Otherwise, the first is almost identical to the original template. The second uses a different type of homeworkProblem that is a macro rather than an environment. This macro allows for subtitles to be used on each homework problem. The titles of the homework problem will be included in the header and footer information while the subtitles will only be shown at the beginning of each problem.

There are comments within the templates that explain the usage of the new macros. See the simple examples for more help. The examples make use of \matlabscript and \scalefig .

  • homework_new_tex.ascii – click here to view homework_new.tex in browser
  • homework_new_example_tex.ascii – click here to view homework_new_example.tex in browser
  • homework_new_example.pdf – a pdf rendered from the example
  • NOTE: This example shows a subtitle being used and a caption on the MATLAB script.
  • homework_type_2_tex.ascii – click here to view homework_type_2.tex in browser
  • homework_example.m file used in source: (.m file)   (.ascii file for browser)
  • homework_type_2_example_tex.ascii – click here to view homework_new_example.tex in browser
  • homework_type_2_example.pdf – a pdf rendered from the example
  • NOTE: This example shows the use of no subtitle and no MATLAB script caption.

Get the Reddit app

Minimal latex template for homework assignments.

Hey guys, I've been using this template for a long time for my homework assignments. I thought I'd share it with you.

https://gist.github.com/marethyu/b52f0fa8a0f38c14ebcef96916146727

I hope you find it useful!

Plantillas — Homework Assignment

Plantillas tagged Homework Assignment

Show all Plantillas

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.

CS 111 Homework 1 (Review Quiz)

Related Tags

Ponte en contacto.

Have you checked our knowledge base ?

Solicitud enviada, gracias.

Email: 

Simple Math Homework Template

I had to relearn LaTeX to turn in my real analysis homework last night, so I made it into a template in case others are in the same situation.

Simple Math  Homework Template

Get in touch

Have you checked our knowledge base ?

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

Email: 

Navigation Menu

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 You must be signed in to change notification settings

A Latex template for creating Computer Science assignments

markroyer/latex-homework-template

Folders and files.

NameName
4 Commits

Repository files navigation

Latex-homework-template.

A latex template for creating Computer Science assignments.

The template file automatically tallies the question count and the number of pages. The document displays relevant homework information at the top and bottom of each page (eg, course number, date, page number, and number of questions).

A custom listing file was used for syntax markup.

The exam also makes use of the lstlisting labelling ability to refer to individual lines of code.

Make sure that you have the Debian texlive package installed.

You can build the PDF document by typing

in the root of the repository. The file homework.pdf is the generated output.

will remove all generated files.

This homework template was influenced heavily by homework formats given by Sudarshan Chawathe. You can view some of his work at his web site: cs.umaine.edu/~chaw .

The project is licensed under the terms of the GPL3 license.

  • Gnuplot 3.2%
  • Makefile 2.6%

IMAGES

  1. A LaTeX Homework Template

    homework assignment template latex

  2. Latex Homework Template

    homework assignment template latex

  3. Latex Template For Homework

    homework assignment template latex

  4. Latex Homework Template

    homework assignment template latex

  5. GitHub

    homework assignment template latex

  6. Latex Template For Homework

    homework assignment template latex

VIDEO

  1. Latex Tutorial 6: REFERENCING Citation in Amharic አማርኛ

  2. Memindahkan Teks ke dalam Template Artikel dengan format LaTex menggunakan Overleaf

  3. Creating a Professional CV with LaTeX Template

  4. Learn LaTeX 013

  5. Menulis Conference Paper dengan IEEE Template Latex

  6. Frontpage Design in Latex

COMMENTS

  1. Templates

    This template is for engineering and math homework assignments. It features structured sections for problems and solutions and supports various mathematical packages. The cover page includes all necessary academic details, and the document is formatted for A4 paper with 1-inch margins. Tamer W. Slim.

  2. LaTeX Templates

    Lachaise Assignment. This template is for teachers/instructors/educators to create assignments/homework for their students. It includes a clear title on the first page for the course, assignment and teacher's name, as well as the institution and date. Sets of questions can be grouped by headings and the template includes examples of ...

  3. Homework Template with Samples

    8 months ago. License. Creative Commons CC BY 4.0. Abstract. This is a template for completing homework assignments. It includes examples of how to use the template and how to type up various types of assignments. Tags. Homework Assignment University. Find More Templates.

  4. Examples

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

  5. latex-homework-template · GitHub Topics · GitHub

    Add this topic to your repo. To associate your repository with the latex-homework-template topic, visit your repo's landing page and select "manage topics." GitHub is where people build software. More than 100 million people use GitHub to discover, fork, and contribute to over 420 million projects.

  6. 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). Designed specifically for typesetting solutions to math and computer science problem sets that will be graded online, this homework template is intended to make typing ...

  7. LaTeX Homework Template

    The Daily Homework is assigned each class meeting, and students are expected to complete (or try their best to complete) each assignment before walking into the next class period. All assignments should be carefully, clearly, and cleanly written. Among other things, this means that the work should include proper grammar, punctuation, and spelling.

  8. Doing Your Homework in LaTeX

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

  9. A LaTeX Homework Template

    The Template; Screenshot; Usage. Personal Info; Questions; Question Parts; Induction Proofs; Feedback; Writing a LaTeX document from scratch for every assignment is tedious. Especially for homework assignments, a lot of the structure is repetitive. Read on to learn about the homework template I've adapted for use in all my technical classes ...

  10. templates

    This file is used by inserting \documentclass{jhwhw} at the beginning of a document. The standard formatting for a problem looks like this: <<statements of problem>>. <<solution>>. It creates a new page for every problem. Also, if a problem has multiple "parts" the formatting might look like this. \begin{enumerate}

  11. Homework assignment template

    Homework assignment template. This template is designed for answering single and multiple questions in an assignment or homework. It works for math and text assignments. This template was originally published on ShareLaTeX and subsequently moved to Overleaf in October 2019.

  12. A LaTeX template for homework assignments, used widely at CMU

    This is a simplistic LaTeX template for typesetting questions. It is (or a similar template) is used in a number of Computer Science classes at Carnegie Mellon University, including 15-151, 15-251, and 15-451.

  13. Research Guides: Getting Started with LaTeX: Templates

    This section is about creating templates for LaTeX documents. Templates are meant to speed up the initial creation of a LaTeX document. ... % This is a template for doing homework assignments in LaTeX \documentclass {article} % This command is used to set the type of document you are working on such as an article, book, or presenation

  14. Example LaTeX Template for Homework Assignments and Similar

    There are comments within the templates that explain the usage of the new macros. See the simple examples for more help. The examples make use of \matlabscript and \scalefig. homework_new.tex - the new template. homework_new_tex.ascii - click here to view homework_new.tex in browser. homework_new_example.tex - an example assignment using ...

  15. Professional Assignment Template

    A clean and easy to use LaTeX template for homework / assignments. Applicable at the university level for math and computer science courses. Problems and solutions are neatly organized, can be renamed, and referenced in a brief table of contents. Customizeable author, course, title information.

  16. LaTeX Homework Template

    LaTeX template useful for formatting homework assignments - jez/latex-hw-template. Skip to content. Navigation Menu Toggle navigation. Sign in Product ... LaTeX template useful for formatting homework assignments Topics. latex writing Resources. Readme License. MIT license Activity. Stars. 15 stars Watchers. 4 watching Forks. 18 forks

  17. LaTeX Templates

    Cleese Assignment. This template comes in two versions, one for teachers/instructors/educators to create assignments/homework for their students to fill out by hand, and another for students proficient in LaTeX to answer questions posed to them at school or university/college. Both versions contain simple environments for each question and ...

  18. Minimal LaTeX template for homework assignments : r/LaTeX

    Minimal LaTeX template for homework assignments Hey guys, I've been using this template for a long time for my homework assignments. I thought I'd share it with you.

  19. Assignment_Template

    Abstract. Template for math homework assignments. Allows for Questions with multiple parts (a, b, c, etc.), Theorem boxes, and solution sections. Each problem should have its own .tex file, and compiled by main.tex. Packages, settings, and declarations are handled by settings.tex. Template for math homework assignments.

  20. jdavis/latex-homework-template

    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. Title page. Problem markers. Configurable problem numbers (see the last 3 problems for an example).

  21. Templates

    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. Simple Math Homework Template

    LaTeX Project Public License 1.3c. Abstract. I had to relearn LaTeX to turn in my real analysis homework last night, so I made it into a template in case others are in the same situation. Tags. Homework Assignment Math.

  23. A Latex template for creating Computer Science assignments

    A latex template for creating Computer Science assignments. The template file automatically tallies the question count and the number of pages. The document displays relevant homework information at the top and bottom of each page (eg, course number, date, page number, and number of questions). A custom listing file was used for syntax markup.