-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtemplate.tex
45 lines (39 loc) · 1.16 KB
/
template.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
% Author: CSC Officers
\documentclass[11pt]{article}
\usepackage{fullpage}
\usepackage{listings}
\usepackage{needspace}
\usepackage{color}
\usepackage{ifthen}
\usepackage{graphicx}
\usepackage{csc}
\lstset{ %
basicstyle=\footnotesize, % the size of the fonts that are used for the code
numbers=left, % where to put the line-numbers
stepnumber=1, % the step between two line-numbers. If it's 1 each line will be numbered
numbersep=5pt, % how far the line-numbers are from the code
showspaces=false, % show spaces adding particular underscores
showstringspaces=false, % underline spaces within strings
tabsize=4, % sets default tabsize to 4 spaces
}
\ifthenelse{\isundefined{\isAnswerKey}}
{
\newenvironment{answer}{\large\lstset{basicstyle=\tiny}\color{white}}{}
}
{
\newenvironment{answer}{\large\lstset{basicstyle=\large}\color{red}}{}
}
\title{TITLE}
\author{Computer Science Community}
\date{\today}
\makeatletter
\let\thetitle\@title
\let\theauthor\@author
\let\thedate\@date
\makeatother
\begin{document}
\header
\begin{enumerate}
\item
\end{enumerate}
\end{document}