Report template KDU
Author
reezaw rikahs
Last Updated
6ヶ月前
License
Creative Commons CC BY 4.0
Abstract
Template with front page for Lab Assignments
\documentclass[12pt,a4paper]{article}
\usepackage{pgf}
\usepackage{svg}
\usepackage{tikz}
\usepackage{stanli}
\usepackage{afterpage}
\usepackage{multirow}
\usepackage{subfig}
\usepackage{pgfpages}
\usepackage{svg}
\usepackage{rotating}
\usepackage{titlesec}
\usepackage{times}
\usepackage[english]{babel}
\usepackage[a4paper,top=2cm,bottom=1.5cm,left=1.5cm,right=1.5cm,marginparwidth=1.75cm]{geometry}
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage[colorlinks=true, allcolors=blue]{hyperref}
\titleformat{\section}[block]{\Large\bfseries}{\thesection.}{1em}{}
% Border
\pgfpagesdeclarelayout{boxed}
{
\edef\pgfpageoptionborder{0pt}
}
{
\pgfpagesphysicalpageoptions
{%
logical pages=1,%
}
\pgfpageslogicalpageoptions{1}
{
border code=\pgfsetlinewidth{1pt}\pgfstroke,%
border shrink=\pgfpageoptionborder,%
resized width=.9\pgfphysicalwidth,%
resized height=.9\pgfphysicalheight,%
center=\pgfpoint{.5\pgfphysicalwidth}{.5\pgfphysicalheight}%
}%
}
\pgfpagesuselayout{boxed}
\title{}
\author{}
\date{}
\begin{document}
\newcommand{\subf}[2]{%
{\small\begin{tabular}[t]{@{}c@{}}
#1\\#2
\end{tabular}}%
}
%Title Page
\begin{titlepage}
\begin{center}
\vspace*{0.3cm}
\includegraphics[width=0.25\textwidth]{KDU_Logo.png}
\vspace{0.5cm}
\fontsize{22}{24}\selectfont
General Sir Jhon Kotelawala Defence University
\vspace{0.5cm}
\fontsize{20}{24}\selectfont
Faculty of Engineering
\Large
\vspace{0.2cm}
\textbf{Department of Electrical Electronic and Telecommunication Engineering}
\vspace{3cm}
\fontsize{28}{40}\selectfont
\textbf{XXXXXXXX}
\vfill
\vspace{0.8cm}
\end{center}
\Large
\begin{tabbing}
\hspace*{1em}\= \hspace*{7em} \= \hspace*{2em} \= \kill
\> Name\> : \> \textbf{} \\
\> Module Code\> : \> \\
\> Module \> : \> \\
\> Index No\> : \> \\
\end{tabbing}
\end{titlepage}
%pages
\section{INTRODUCTION}
\fontsize{12}{18}\selectfont
The Simulink model represents the water level control tank system with a controller block. he Simulink model represents the water level control tank system with a controller block.
\end{document}