For one of our large thesis project we are in need to add a duplicate TOC in tabular format with some square boxes like \Box
. I am looking for solution where the output will be something to this:
\documentclass[letterpapter]{report}
\usepackage{multirow}
\usepackage{latexsym}
\setcounter{secnumdepth}{5}
\setcounter{tocdepth}{5}
\begin{document}
\tableofcontents
\chapter{Chapter 1}
\section{Section}
\subsection{SubSection}
\subsubsection{SubSubSection}
\paragraph{Paragraph}
\subparagraph{SubParagraph}
\chapter{Chapter 2}
\chapter{Chapter 3}
\chapter{Chapter 4}
\chapter{Chapter 5}
\chapter{Chapter 6}
\appendix
\chapter{Grade Summary}
\begin{tabular}{ |p{2cm}|p{3cm}|p{1cm}|p{1cm}| }
\hline
\multicolumn{2}{|c|}{\textbf{Sumnmary}} &\multicolumn{2}{|c|}{\textbf{Graded}}\\
\hline
\multicolumn{2}{|c|}{}&\textbf{YES}&\textbf{NO}\\
\hline
1 &\textbf{Chapter 1}&$\Box$& $\Box$ \\
\hline
1.1 &\textbf{Section}&$\Box$& $\Box$ \\
\hline
1.1.1 &\textbf{SubSection}&$\Box$& $\Box$ \\
\hline
1.1.1.1 &SubSubSection&$\Box$& $\Box$ \\
\hline
1.1.1.1.1 &Paragraph&$\Box$& $\Box$ \\
\hline
1.1.1.1.1.1&SubParagraph&$\Box$& $\Box$ \\
\hline
2 &\textbf{Chapter 2}&$\Box$& $\Box$ \\
\hline
\end{tabular}
\end{document}
I was looking into etoc but it looks like it will change both the TOC format so not sure if that would be an option to look into.
Any help is appreciated and thanks in advance for looking into it.
etoc
will not change the main TOC format if used with document classes it knows about.