├── README.md ├── Makefile ├── report.tex └── .gitignore /README.md: -------------------------------------------------------------------------------- 1 | # tex 2 | Latex template for uni works 3 | -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- 1 | .PHONY: clean 2 | 3 | clean: 4 | cat .gitignore | grep -v -E "#|^$$" | xargs -I % bash -c "rm -f %*" 5 | rm *.pdf -------------------------------------------------------------------------------- /report.tex: -------------------------------------------------------------------------------- 1 | \documentclass[a4paper]{article} 2 | 3 | \usepackage{graphicx, verbatim, listings, fancyvrb, color, float, pdfpages} 4 | 5 | % Definitions % 6 | \newcommand{\quotes}[1]{``#1''} 7 | % Shrug % 8 | \def\shrug{\texttt{\raisebox{0.75em}{\char`\_}\char`\\\char`\_\kern-0.5ex(\kern-0.25ex\raisebox{0.25ex}{\rotatebox{45}{\raisebox{-.75ex}"\kern-1.5ex\rotatebox{-90})}}\kern-0.5ex)\kern-0.5ex\char`\_/\raisebox{0.75em}{\char`\_}}} 9 | \definecolor{mygreen}{rgb}{0,0.6,0} 10 | \definecolor{mygray}{rgb}{0.5,0.5,0.5} 11 | \definecolor{mymauve}{rgb}{0.58,0,0.82} 12 | 13 | \graphicspath{figures} 14 | 15 | % Syntax highlighting % 16 | \lstset{ 17 | backgroundcolor=\color{white}, % choose the background color 18 | basicstyle=\footnotesize\ttfamily, % size of fonts used for the code 19 | captionpos=b, % sets the caption-position to bottom 20 | commentstyle=\color{mygreen}, % comment style 21 | escapeinside={\%*}{*)}, % if you want to add LaTeX within your Code 22 | showspaces=false, % show spaces everywhere adding particular underscores; it overrides 'showstringspaces' 23 | showstringspaces=false, % underline spaces within strings only 24 | extendedchars=true, % lets you use non-ASCII characters; for 8-bits encodings only, does not work with UTF-8 25 | breaklines=true, % sets automatic line breaking 26 | keywordstyle=\color{blue}, % keyword style 27 | stringstyle=\color{mymauve}, % string literal style 28 | } 29 | 30 | 31 | \title{\Huge{TITLE}\\\vspace{0.35em}\large{MODULE}} 32 | \author{ 33 | Habib Rehman\\ 34 | \texttt{1748869}\\ 35 | \texttt{K1763960} 36 | } 37 | \date{DATE} 38 | 39 | 40 | \begin{document} 41 | % Title page % 42 | \maketitle 43 | \newpage 44 | % Start of body % 45 | \section{SECTION} 46 | \shrug 47 | 48 | % End of body % 49 | \appendix 50 | \section{Appendix} 51 | 52 | \end{document} 53 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | ### LaTeX ### 2 | ## Core latex/pdflatex auxiliary files: 3 | *.aux 4 | *.lof 5 | *.log 6 | *.lot 7 | *.fls 8 | *.out 9 | *.toc 10 | *.fmt 11 | *.fot 12 | *.cb 13 | *.cb2 14 | .*.lb 15 | 16 | ## Intermediate documents: 17 | *.dvi 18 | *.xdv 19 | *-converted-to.* 20 | # these rules might exclude image files for figures etc. 21 | # *.ps 22 | # *.eps 23 | # *.pdf 24 | 25 | ## Generated if empty string is given at "Please type another file name for output:" 26 | .pdf 27 | 28 | ## Bibliography auxiliary files (bibtex/biblatex/biber): 29 | *.bbl 30 | *.bcf 31 | *.blg 32 | *-blx.aux 33 | *-blx.bib 34 | *.run.xml 35 | 36 | ## Build tool auxiliary files: 37 | *.fdb_latexmk 38 | *.synctex* 39 | *.pdfsync 40 | 41 | ## Build tool directories for auxiliary files 42 | # latexrun 43 | latex.out/ 44 | 45 | ## Auxiliary and intermediate files from other packages: 46 | # algorithms 47 | *.alg 48 | *.loa 49 | 50 | # achemso 51 | acs-*.bib 52 | 53 | # amsthm 54 | *.thm 55 | 56 | # beamer 57 | *.nav 58 | *.pre 59 | *.snm 60 | *.vrb 61 | 62 | # changes 63 | *.soc 64 | 65 | # comment 66 | *.cut 67 | 68 | # cprotect 69 | *.cpt 70 | 71 | # elsarticle (documentclass of Elsevier journals) 72 | *.spl 73 | 74 | # endnotes 75 | *.ent 76 | 77 | # fixme 78 | *.lox 79 | 80 | # feynmf/feynmp 81 | *.mf 82 | *.mp 83 | *.t[1-9] 84 | *.t[1-9][0-9] 85 | *.tfm 86 | 87 | #(r)(e)ledmac/(r)(e)ledpar 88 | *.end 89 | *.?end 90 | *.[1-9] 91 | *.[1-9][0-9] 92 | *.[1-9][0-9][0-9] 93 | *.[1-9]R 94 | *.[1-9][0-9]R 95 | *.[1-9][0-9][0-9]R 96 | *.eledsec[1-9] 97 | *.eledsec[1-9]R 98 | *.eledsec[1-9][0-9] 99 | *.eledsec[1-9][0-9]R 100 | *.eledsec[1-9][0-9][0-9] 101 | *.eledsec[1-9][0-9][0-9]R 102 | 103 | # glossaries 104 | *.acn 105 | *.acr 106 | *.glg 107 | *.glo 108 | *.gls 109 | *.glsdefs 110 | 111 | # uncomment this for glossaries-extra (will ignore makeindex's style files!) 112 | # *.ist 113 | 114 | # gnuplottex 115 | *-gnuplottex-* 116 | 117 | # gregoriotex 118 | *.gaux 119 | *.gtex 120 | 121 | # htlatex 122 | *.4ct 123 | *.4tc 124 | *.idv 125 | *.lg 126 | *.trc 127 | *.xref 128 | 129 | # hyperref 130 | *.brf 131 | 132 | # knitr 133 | *-concordance.tex 134 | # TODO Comment the next line if you want to keep your tikz graphics files 135 | *.tikz 136 | *-tikzDictionary 137 | 138 | # listings 139 | *.lol 140 | 141 | # luatexja-ruby 142 | *.ltjruby 143 | 144 | # makeidx 145 | *.idx 146 | *.ilg 147 | *.ind 148 | 149 | # minitoc 150 | *.maf 151 | *.mlf 152 | *.mlt 153 | *.mtc[0-9]* 154 | *.slf[0-9]* 155 | *.slt[0-9]* 156 | *.stc[0-9]* 157 | 158 | # minted 159 | _minted* 160 | *.pyg 161 | 162 | # morewrites 163 | *.mw 164 | 165 | # nomencl 166 | *.nlg 167 | *.nlo 168 | *.nls 169 | 170 | # pax 171 | *.pax 172 | 173 | # pdfpcnotes 174 | *.pdfpc 175 | 176 | # sagetex 177 | *.sagetex.sage 178 | *.sagetex.py 179 | *.sagetex.scmd 180 | 181 | # scrwfile 182 | *.wrt 183 | 184 | # sympy 185 | *.sout 186 | *.sympy 187 | sympy-plots-for-*.tex/ 188 | 189 | # pdfcomment 190 | *.upa 191 | *.upb 192 | 193 | # pythontex 194 | *.pytxcode 195 | pythontex-files-*/ 196 | 197 | # tcolorbox 198 | *.listing 199 | 200 | # thmtools 201 | *.loe 202 | 203 | # TikZ & PGF 204 | *.dpth 205 | *.md5 206 | *.auxlock 207 | 208 | # todonotes 209 | *.tdo 210 | 211 | # vhistory 212 | *.hst 213 | *.ver 214 | 215 | # easy-todo 216 | *.lod 217 | 218 | # xcolor 219 | *.xcp 220 | 221 | # xmpincl 222 | *.xmpi 223 | 224 | # xindy 225 | *.xdy 226 | 227 | # xypic precompiled matrices 228 | *.xyc 229 | 230 | # endfloat 231 | *.ttt 232 | *.fff 233 | 234 | # Latexian 235 | TSWLatexianTemp* 236 | 237 | ## Editors: 238 | # WinEdt 239 | *.bak 240 | *.sav 241 | 242 | # Texpad 243 | .texpadtmp 244 | 245 | # LyX 246 | *.lyx~ 247 | 248 | # Kile 249 | *.backup 250 | 251 | # KBibTeX 252 | *~[0-9]* 253 | 254 | # auto folder when using emacs and auctex 255 | ./auto/* 256 | *.el 257 | 258 | # expex forward references with \gathertags 259 | *-tags.tex 260 | 261 | # standalone packages 262 | *.sta 263 | 264 | ### LaTeX Patch ### 265 | # glossaries 266 | *.glstex --------------------------------------------------------------------------------