Assignment template UOM
Author
Umal Manjitha
Last Updated
2 years ago
License
Creative Commons CC BY 4.0
Abstract
This is a simple template with a boarder to do Assignments in your university
\documentclass[12pt,a4paper]{article}
\usepackage{pgf}
% \usepackage[condensed,math]{kurier}
% \usepackage[T1]{fontenc}
\usepackage{svg}
\usepackage{tikz}
\usepackage{stanli}
\usepackage{afterpage}
\usepackage{multirow}
\usepackage{subfig}
\usepackage{pgfpages}
\usepackage{svg}
\usepackage{rotating}
%\usepackage{times}
\pgfpagesdeclarelayout{boxed}
{
\edef\pgfpageoptionborder{0pt}
}
{
\pgfpagesphysicalpageoptions
{%
logical pages=1,%
}
\pgfpageslogicalpageoptions{1}
{
border code=\pgfsetlinewidth{2pt}\pgfstroke,%
border shrink=\pgfpageoptionborder,%
resized width=.9\pgfphysicalwidth,%
resized height=.9\pgfphysicalheight,%
center=\pgfpoint{.5\pgfphysicalwidth}{.5\pgfphysicalheight}%
}%
}
\pgfpagesuselayout{boxed}
% Language setting
% Replace `english' with e.g. `spanish' to change the document language
\usepackage[english]{babel}
% Set page size and margins
% Replace `letterpaper' with `a4paper' for UK/EU standard size
\usepackage[a4paper,top=2cm,bottom=1.5cm,left=1.5cm,right=1.5cm,marginparwidth=1.75cm]{geometry}
% Useful packages
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage[colorlinks=true, allcolors=blue]{hyperref}
\title{}
\author{}
\date{}
\begin{document}
\newcommand{\subf}[2]{%
{\small\begin{tabular}[t]{@{}c@{}}
#1\\#2
\end{tabular}}%
}
\begin{titlepage}
\begin{center}
\vspace*{3cm}
\Huge
\textbf{Main Heading}
\vspace{0.3cm}
\Huge
Sub Heading
\vspace{0.8cm}
\large
%INSTRUCTED BY: MRS. A.A.S.KAUSHLYA
\vspace{0.5cm}
\LARGE
\vspace{1.5cm}
\textbf{}
\includegraphics[width=0.4\textwidth]{university.png}
\vfill
\vspace{0.8cm}
\Large
\end{center}
\Large
\begin{tabbing}
\hspace*{1em}\= \hspace*{8em} \= \kill % set the tabbings
\> Name:\> \textbf{YOUR NAME} \\
\> Group:\> B \\
\> Module:\> CE 1234 \\
\> Index No: \> 123456R \\
\> Date of Per: \> 2023.04.24\\
\> Date of Sub: \> 2023.05.05
\end{tabbing}
\end{titlepage}
\section{INTRODUCTION}
\end{document}