\documentclass[a4paper]{article}
\usepackage{enumitem}
\usepackage[colorlinks=true]{hyperref}
\usepackage{graphicx}
\usepackage{listings}
\usepackage{palatino}
\usepackage[T1]{fontenc}

\lstset{
	basicstyle=\ttfamily\small,
	tabsize=2,
}

\begin{document}

	{
		\centering
		{\scalebox{3}[3]{Beamer-Textbox-Emph}}\\
		\vspace{0.5\baselineskip}
		{\Large Package Document (Version 1.0)}\\
	}

	\section{Overview}

	\emph{Beamer-Textbox-Emph} provides useful textbox environments for Beamer presentations. It was initially developed as an extension of \href{https://github.com/jolars/moloch}{moloch} and \href{https://github.com/matze/mtheme}{metropolis}, serving as an alternative to some of their default textbox environments: \textit{definition}, \textit{theorem}, \textit{alertblock}, and \textit{exampleblock}. However, it works not only on them but also on other Beamer themes.

	It incorporates simple design. On a lightly colored background, each environment has double lines on the left side; apart from that, nothing is attached. Such a design allows you to emphasize important points modestly and makes your slides more stylish.

	\section{Dependencies}

	The package depends on
	\begin{description}[labelwidth=20truemm]
		\item[moloch] for the selection of colors.
		\item[metropolis] for the selection of colors.
		\item[tcolorbox] to create textbox environments.
	\end{description}

	\section{Installation}

	If \TeX Live is fully installed, the package is already available. If not, obtain it using tlmgr as follows:
	\begin{description}[labelwidth=25truemm]
		\item[Windows] Execute the following command in Windows Powershell.\\
		\verb|tlmgr install beamer-textbox-emph|
		\item[Mac or Linux] Execute the following command in your shell.\\
		\verb|sudo tlmgr install beamer-textbox-emph|
	\end{description}

	\section{Usage}

	Before use, load the package in preamble:\\
	\verb|\usepackage{beamer-textbox-emph}|

	The textbox environments are defined by tcolorbox's \verb|\NewTcbTheorem|. Therefore, the usage also follows it. There are 12 environments in the package. The following list shows what environments are suitable for some colorthemes. Of course, you do not necessarily need to follow it and can use them freely.
	\begin{itemize}
		\item For the default theme of moloch and metropolis, you can use \verb|defsimple|, \verb|thmsimple|, \verb|altsimple|, and \verb|exsimple|.
		\item For highcontrast, tomorrow, and paper theme of moloch, you can use \verb|defluxsimple|, \verb|thmluxsimple|, \verb|altluxsimple|, and \verb|exluxsimple|
		\item For catppuccin theme of moloch, you can use \verb|defcatsimple|, \verb|thmcatsimple|, \verb|altcatsimple|, and \verb|excatsimple|.
	\end{itemize}

	Each of them is available as shown below:

\begin{verbatim}
\begin{environment name}{title}{label name}
	content
\end{environment name}
\end{verbatim}

	You can insert the title by the first argument (\verb|title|). If you leave it empty, no title will be shown.
	The second argument (\verb|label name|) is useful to refer to the textbox from different positions of your slides, which utilizes tcolorbox's original function. The keys to refer are as listed below\footnote{In this list, ``*'' represents ``'' (empty), ``lux'', or ``cat''.}:
	\begin{description}[labelwidth=20truemm]
		\item[def*simple] \verb|bedf:(label name)|, e.g., \verb|bedf:lorem|
		\item[thm*simple] \verb|beth:(label name)|, e.g., \verb|beth:lorem|
		\item[alt*simple] \verb|beal:(label name)|, e.g., \verb|beal:ipsum|	
		\item[ex*simple] \verb|beex:(label name)|, e.g., \verb|beex:ipsum|
	\end{description}

	Examples of use are shown in Appendix.

	\section{License}

	The license conforms to that of moloch and metropolis, because the selection of colors is based on them. Therefore, \emph{beamer-textbox-emph} is licensed under a \href{https://creativecommons.org/licenses/by-sa/4.0/}{Creative Commons Attribution-ShareAlike 4.0 International License}. This means that if you change the package and re-distribute it, you must retain the copyright notice header and license it under the same CC-BY-SA license. This does not affect any presentations that you create with the package.

	\section{Contribution}
	
	We welcome your contribution. If you find issues or have any suggestions, report them to ``Issues'' of the official GitHub repository. The links are available on the \href{https://ctan.org/pkg/beamer-textbox-emph}{CTAN package information page}.

	\section{Version Information}

	\begin{description}
		\item[November 15, 2026] Version 1.0
	\end{description}

	\newpage

	\appendix

	\section{Example of Use}

	Here we show examples\footnote{In these examples, we use \textit{lipsum} package to fill the textboxes with dummy text.}. Note: The slide images are generated as follows:\\
	\verb|pdftoppm -rx 350 -ry 350 -png -singlefile pdf_file image_name|

	\subsection{Example 1 (Moloch Default Theme)}

	\lstinputlisting{example1.tex}

	\begin{figure}[h]
		\centering
		\includegraphics[scale=0.8]{./example1.png}
	\end{figure}

	\newpage
	
	\subsection{Example 2 (Moloch Highcontrast Theme)}

	\lstinputlisting{example2.tex}

	\begin{figure}[h]
		\centering
		\includegraphics[scale=0.8]{./example2.png}
	\end{figure}

	\newpage

	\subsection{Example 3 (Moloch Catppuccin Theme)}

	\lstinputlisting{example3.tex}

	\begin{figure}[h]
		\centering
		\includegraphics[scale=0.8]{./example3.png}
	\end{figure}

	\newpage

	\subsection{Example 4 (Berlin)}

	\lstinputlisting{example4.tex}

	\begin{figure}[h]
		\centering
		\includegraphics[scale=0.8]{./example4.png}
	\end{figure}

\end{document}