Skip to content

Instantly share code, notes, and snippets.

@kalakay
Created January 23, 2021 04:55
Show Gist options
  • Save kalakay/53a39b5a20a82522ae6f0403d7227544 to your computer and use it in GitHub Desktop.
Save kalakay/53a39b5a20a82522ae6f0403d7227544 to your computer and use it in GitHub Desktop.
\renewcommand{\arraystretch}{1.25}
\newcolumntype{C}{>{\centering\arraybackslash}m{5mm}|}
\newcolumntype{F}{>{\centering\arraybackslash}m{5cm}|}
\arrayrulecolor{white}
\begin{tabular}{Cl|*{5}C}\rowcolor{MidnightBlue}
\multirow{2}{*}{\color{white}\bfseries No.}&\multicolumn{1}{F}{\multirow{2}{*}{\color{white}\bfseries Nama Siswa}}&\multicolumn{3}{c|}{\color{white}\bfseries Nilai}&\multirow{2}{*}{\color{white}\bfseries NA}&\multirow{2}{*}{\color{white}\bfseries NR}\\\rowcolor{MidnightBlue}
&&\cellcolor{SpringGreen}\bfseries PH&\cellcolor{SpringGreen}\bfseries PTS&\cellcolor{SpringGreen}\bfseries PTS&&\\
\arrayrulecolor{MidnightBlue!20}
1.&Nunung Nurhasanah&75 & 62 & 64&&\\\hline
2.&Muhammad Hisyam Al Faruq&65 & 70 & 64&&\\\hline
3.&Ayunda Kinasih Setyaningtyas&68 & 68 & 72&&\\\hline
4.&Adjie Gumarang Pujakelana&65 & 62 & 60&&\\\hline
5.&Lena Lugina Zahrani&70 & 65 & 62&&\\\hline
\end{tabular}
\captionof{table}{}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment