\documentclass{report}
\usepackage{hyperref}
% WARNING: THIS SHOULD BE MODIFIED DEPENDING ON THE LETTER/A4 SIZE
\oddsidemargin 0cm
\evensidemargin 0cm
\marginparsep 0cm
\marginparwidth 0cm
\parindent 0cm
\textwidth 16.5cm

\ifpdf
  \usepackage[pdftex]{graphicx}
\else
  \usepackage[dvips]{graphicx}
\fi

% definitons for warning and note tag
\usepackage[most]{tcolorbox}
\newtcolorbox{tcbwarning}{
 breakable,
 enhanced jigsaw,
 top=0pt,
 bottom=0pt,
 titlerule=0pt,
 bottomtitle=0pt,
 rightrule=0pt,
 toprule=0pt,
 bottomrule=0pt,
 colback=white,
 arc=0pt,
 outer arc=0pt,
 title style={white},
 fonttitle=\color{black}\bfseries,
 left=8pt,
 colframe=red,
 title={Warning:},
}
\newtcolorbox{tcbnote}{
 breakable,
 enhanced jigsaw,
 top=0pt,
 bottom=0pt,
 titlerule=0pt,
 bottomtitle=0pt,
 rightrule=0pt,
 toprule=0pt,
 bottomrule=0pt,
 colback=white,
 arc=0pt,
 outer arc=0pt,
 title style={white},
 fonttitle=\color{black}\bfseries,
 left=8pt,
 colframe=yellow,
 title={Note:},
}

\begin{document}
% special variable used for calculating some widths.
\newlength{\tmplength}
\chapter{Unit ok{\_}external{\_}class{\_}hierarchy}
\section{Overview}
\begin{description}
\item[\texttt{\begin{ttfamily}TMyClass0\end{ttfamily} Class}]
\item[\texttt{\begin{ttfamily}TMyClass1\end{ttfamily} Class}]
\item[\texttt{\begin{ttfamily}TMyClass3\end{ttfamily} Class}]TMyClass2 is not defined in the source code.
\end{description}
\section{Classes, Interfaces, Objects and Records}
\subsection*{TMyClass0 Class}
\subsubsection*{\large{\textbf{Hierarchy}}\normalsize\hspace{1ex}\hfill}
TMyClass0 {$>$} TObject
%%%%Description
\subsection*{TMyClass1 Class}
\subsubsection*{\large{\textbf{Hierarchy}}\normalsize\hspace{1ex}\hfill}
TMyClass1 {$>$} TObject
%%%%Description
\subsection*{TMyClass3 Class}
\subsubsection*{\large{\textbf{Hierarchy}}\normalsize\hspace{1ex}\hfill}
TMyClass3 {$>$} TMyClass2
\subsubsection*{\large{\textbf{Description}}\normalsize\hspace{1ex}\hfill}
TMyClass2 is not defined in the source code. But we define in ok{\_}external{\_}class{\_}hierarchy.txt that TMyClass2 descends from TMyClass1.\end{document}
