-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample.tex
More file actions
54 lines (44 loc) · 1.34 KB
/
example.tex
File metadata and controls
54 lines (44 loc) · 1.34 KB
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
46
47
48
49
50
51
52
53
54
% SPDX-FileCopyrightText: 2019 Harish Rajagopal <harish.rajagopals@gmail.com>
%
% SPDX-License-Identifier: MIT
\documentclass{solution}
\setdetails{[Course no.]}{[Course name]}{[Assignment name]}
\begin{document}
\maketitle
\begin{solution}[{[Problem No.]}]
\section{[Section]}
\subsection{[Sub-Section]}
Sample Text.
\begin{code}{c}
int sample;
int code;
\end{code}
\begin{math*}
sample =\\
math =
\end{math*}
\begin{pseudocode}{Sample-Function}{args}
\State{}sample
\State{}pseudocode
\end{pseudocode}
\begin{itemize}
\item Sample\\[-8mm]
\item Bullets
\end{itemize}
\begin{enumerate}
\item Sample
\item List
\end{enumerate}
\begin{table}[H]
\caption{Sample Table}
\begin{tabulary}{\textwidth}{C C C C}
\toprule
One & Two & Three & Four\\
\midrule
1 & 2 & 3 & 4\\
5 & 6 & 7 & 8\\
\bottomrule
\end{tabulary}
\end{table}
\end{solution}
\end{document}