Grade de Horários (Timetable)
Author
Luis Gustavo Lang Gaiato
Last Updated
3 years ago
License
Creative Commons CC BY 4.0
Abstract
A simple timetable.
\documentclass[extrafontsizes, 20pt]{memoir}
\usepackage{xcolor}
\usepackage{colortbl}
\usepackage[c4paper,left=0.5in, right=0.5in, top=0.5in, bottom=0.5in, landscape]{geometry}
\usepackage[sc]{mathpazo}
\linespread{1.05}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[brazilian]{babel}
\usepackage{multicol, multirow}
\usepackage{array}
\usepackage{nicematrix}
\newcolumntype{x}[1]{%
>{\centering\hspace{0pt}}p{#1}}%
\newcolumntype{y}[1]{%
>{\raggedleft\hspace{0pt}}p{#1}}%
\newcommand{\tn}{\tabularnewline}
\title{Timetable 2022/2}
\author{Lorem Ipsum}
\definecolor{MAT01057}{HTML}{ffb3ba}
\definecolor{FIS01008}{HTML}{ffdcb3}
\definecolor{FIS01207}{HTML}{ffffb3}
\definecolor{FIS01209}{HTML}{b3ffb3}
\definecolor{FIS02213}{HTML}{b3ccff}
\definecolor{INF01046}{HTML}{dfb3ff}
\newcommand{\subject}[1]{#1\cellcolor{#1}}
\begin{document}
\pagenumbering{gobble}
\centering
{\LARGE
Timetable 2022/2\\
}
01/17 to 05/18
\vfill
\begin{table}[!h]
\centering
\begin{NiceTabular}{|c|x{4.7cm}|x{4.7cm}|x{4.7cm}|x{4.7cm}|x{4.7cm}|}[first-row,last-row,first-col]
& & Monday & Tuesday & Wednesday & Thursday & Friday \tn\bottomrule
\multirow{4}{*}{\rotatebox[origin=c]{90}{Morning}}&
08h30 & & & & & \tn
&10h10& & & & & \tn
&10h30& & \subject{MAT01057} & & \subject{MAT01057} & \tn
&12h10& & & & & \tn\bottomrule
\multirow{5}{*}{\rotatebox[origin=c]{90}{Evening}}&
13h30& \subject{FIS01209} & & \subject{FIS01209} & & \subject{FIS01209} \tn
&13h30& \subject{INF01046} & & \subject{INF01046} & & \subject{FIS01209} \tn
&15h10& & & & & \tn
&15h30& \subject{FIS01207} & & \subject{FIS01207} & & \subject{FIS01207} \tn
&17h10& & & & & \tn\bottomrule
\multirow{3}{*}{\rotatebox[origin=c]{90}{Night}}&
18h30& & \subject{FIS02213} & & \subject{FIS02213} & \tn
&18h30& & \subject{FIS01008} & & \subject{FIS01008} & \tn
&20h10& & & & & \tn\toprule\\
\end{NiceTabular}
\end{table}
%\vfill
\vspace{-0.8cm}
\begin{table}[!h]
\centering
\begin{tabular}{!{\vrule width 1pt}x{3.5cm}!{\vrule width 1pt}p{8cm}!{\vrule width 1pt}x{3.5cm}!{\vrule width 1pt}p{8cm}!{\vrule width 1pt}}\bottomrule
\subject{MAT01057} & Real Analysis A\cellcolor{MAT01057} & \subject{FIS01008} & Quantum Physics I\cellcolor{FIS01008} \tn
\subject{FIS01207} & Mathematical Physics I\cellcolor{FIS01207} & \subject{FIS01209} & Classical Mechanics II\cellcolor{FIS01209} \tn
\subject{FIS02213} &\multicolumn{3}{l!{\vrule width 1pt}}{Astrophysics B\cellcolor{FIS02213}} \tn
\subject{INF01046} & \multicolumn{3}{l!{\vrule width 1pt}}{Fundamentals of Image Processing\cellcolor{INF01046}} \tn\toprule
\end{tabular}
\end{table}
\vfill
\end{document}