I have the simple following document:
\documentclass[10pt,a4paper]{report}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{graphicx}
\setcounter{secnumdepth}{4}
\setcounter{tocdepth}{4}
\usepackage{algorithm,algcompatible}
\begin{document}
\tableofcontents
\listoffigures
\listoftables
\listofalgorithms
\chapter{Chapter First}
This is my chapter first.
\chapter{Chapter Two}
This is my chapter two.
\section{sec 1}
\begin{table}
\centering
\caption{my table}
\label{tab1}
\begin{tabular}{|c|c|}
\hline 1 & 2 \\
\hline 3 & 4 \\
\hline
\end{tabular}
\end{table}
\subsection{subsec 1}
\begin{algorithm}
\caption{(\textit{The EGl-FOM})}
\label{myalg}
\begin{algorithmic}[1]
\STATE Choose
\STATE Use the
\STATE Compute $\alpha_m$
\STATE Compute $\lVert R_m\rVert_F=h_{m, m+1}|e_m^T\alpha_m|$.
\end{algorithmic}
\end{algorithm}
\subsubsection{subsubsec 1}
\end{document}
I am going to hide chapter, section, subsection and subsubsection titles about chapter two from table of contents. Furthermore, I want to hide tables, figures and algorithms titles about chapter two from list of tables, figures and algorithms. Is there a proper way to do these things?
chapter two
is easy, but not the stealth mode for figures etc.