Skip to content

Instantly share code, notes, and snippets.

@KorigamiK
Created January 31, 2024 18:37
Show Gist options
  • Save KorigamiK/4e8785c08248f5d6a81bb0570c6c9e97 to your computer and use it in GitHub Desktop.
Save KorigamiK/4e8785c08248f5d6a81bb0570c6c9e97 to your computer and use it in GitHub Desktop.
tex
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[inline]{enumitem}
\usepackage[table,xcdraw]{xcolor} % for table color
\setlength\parindent{0pt}
\newcommand{\entry}[2]{\begin{tabular}{c}\\#1\\#2\\\phantom{ }\end{tabular}}
\pagenumbering{gobble}
\usepackage{geometry}
\geometry{
landscape,
totalheight=140mm,
total={250mm,140mm},
left=10mm,
top=30mm,
bottom=10mm
}
\begin{document}
\begin{center}
\begin{tabular}{|>{\columncolor[HTML]{C0C0C0}}c | c | c | c | c | c | c | c | c |}
\hline \rowcolor[HTML]{C0C0C0}
\textbf{Time} & \entry{10:00 AM -} {11:00 AM } & \entry{11:00 AM -} {12:00 PM } & \entry{12:00 PM -} {1:00 PM } & \entry{1:00 PM -} {2:00 PM } & \entry{2:00 PM -} {3:00 PM } & \entry{3:00 PM -} {4:00 PM } & \entry{4:00 PM -} {5:00 PM } & \entry{5:00 PM -} {6:00 PM }
\\ \hline
\cellcolor[HTML]{077187} Monday & \cellcolor[HTML]{ EEEBD0 } \entry{ CoS }{ Cognitive \\Systems } & \cellcolor[HTML]{ 9ECE9A } \entry{ WN }{ Wireless Networks } & \cellcolor[HTML]{ 2a9d8f } \entry{ PCC }{ Principles of \\Compiler \\Construction } & \cellcolor[HTML]{ f4a261 } \entry{ BDA }{ Big Data \\Analytics } & & \cellcolor[HTML]{ E8DDB5 } \entry{ Cognitive \\Systems }{ TUT } & \multicolumn{2}{c|}{\cellcolor[HTML]{ e9c46a } \entry{ Big Data Analytics }{ Lab G1 } }
\\ \hline
\cellcolor[HTML]{2a9d8f} Tuesday & & \cellcolor[HTML]{ BBACC1 } \entry{ CG\&M }{ Computer \\Graphics \\\& Multimedia } & & & & & \multicolumn{2}{c|}{\cellcolor[HTML]{ E4C5AF } \entry{ Computer Graphics }{ Lab G1 } }
\\ \hline
\cellcolor[HTML]{e9c46a} Wednesday & \cellcolor[HTML]{ BBACC1 } \entry{ CG\&M }{ Computer \\Graphics \\\& Multimedia } & \multicolumn{2}{c|}{\cellcolor[HTML]{ e76f51 } \entry{ Wireless Networks }{ Lab G1 \& G2 } } & \cellcolor[HTML]{ 9ECE9A } \entry{ WN }{ Wireless Networks } & \multicolumn{2}{c|}{\cellcolor[HTML]{ E4C5AF } \entry{ Computer Graphics }{ Lab G1 } } & &
\\ \hline
\cellcolor[HTML]{f4a261} Thursday & \cellcolor[HTML]{ f4a261 } \entry{ BDA }{ Big Data \\Analytics } & \cellcolor[HTML]{ 2a9d8f } \entry{ PCC }{ Principles of \\Compiler \\Construction } & \cellcolor[HTML]{ EEEBD0 } \entry{ CoS }{ Cognitive \\Systems } & \cellcolor[HTML]{ 9ECE9A } \entry{ WN }{ Wireless Networks } & \cellcolor[HTML]{ e9c46a } \entry{ Big Data Analytics }{ Lab G1 } & \cellcolor[HTML]{ E8DDB5 } \entry{ Cognitive \\Systems }{ TUT } & &
\\ \hline
\cellcolor[HTML]{e76f51} Friday & \cellcolor[HTML]{ BBACC1 } \entry{ CG\&M }{ Computer \\Graphics \\\& Multimedia } & \cellcolor[HTML]{ EEEBD0 } \entry{ CoS }{ Cognitive \\Systems } & \cellcolor[HTML]{ f4a261 } \entry{ BDA }{ Big Data \\Analytics } & \cellcolor[HTML]{ 2a9d8f } \entry{ PCC }{ Principles of \\Compiler \\Construction } & \multicolumn{2}{c|}{\cellcolor[HTML]{ 077187 } \entry{ PCC }{ Lab G1 } } & &
\\ \hline
\cellcolor[HTML]{9ECE9A} Saturday & & & & & & & &
\\ \hline
\cellcolor[HTML]{E4C5AF} Sunday & & & & & & & &
\\ \hline
\end{tabular}
\end{center}
\end{document}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment