A latex assignment template for Software Engineering Student
-
concise
no excessive extra package imported in the class file, you can manage your package with comfort -
makes your tex file tidy
use class, nottex
file template, which makes yourmain.tex
file tidy. -
easy to make your own template based on it
just download the assignment.cls
file.
Alternatively, download the whole demo project using the green code
button above(code
-> Download Zip
) or git
.
Just put assignment.cls
file into your latex workspace root.
First define your document class as assignment
:
\documentclass{assignment}
Then use assignmentTitle
command to create a banner for your assignment
\begin{document}
\assignmentTitle{Your Name}{Your Student Id}{logo image path}{Course Name}{Assignment 1}
% ...
\end{document}
One simple example is the main.tex document
-
assignmentTitle
:
used to create a banner at the top
usage:\assignmentTitle{Your Name}{Your Student Id}{logo.png}{Course Name}{Assignment 1}
-
hword
:
highlight words or phrase in a box
usage:\hword{highlight word box}
- Predefined
lstinputlisting
andlstlisting
style for all (programming) languages recognized bylstlisting
package.