summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/litesolution/doc/litesolution.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/litesolution/doc/litesolution.tex')
-rw-r--r--macros/latex/contrib/litesolution/doc/litesolution.tex85
1 files changed, 45 insertions, 40 deletions
diff --git a/macros/latex/contrib/litesolution/doc/litesolution.tex b/macros/latex/contrib/litesolution/doc/litesolution.tex
index 901dd4c49a..678e4cd4aa 100644
--- a/macros/latex/contrib/litesolution/doc/litesolution.tex
+++ b/macros/latex/contrib/litesolution/doc/litesolution.tex
@@ -1,20 +1,22 @@
-\documentclass[mtpro2]{litesolution}
+\documentclass[mtpro2,twoside,openany]{litesolution}
\usepackage[listings]{tcolorbox}
\lstset{language=[LaTeX]TeX,basicstyle=\small\ttfamily,breaklines=true,columns=flexible}
\title{\sffamily The \pkg{LiteSolution} Class}
\subtitle{\sffamily\scshape Hangzhou Dianzi University}
-\bioinfo{Mingyu Hsia (\mailto{xiamyphys@hdu.edu.cn})\quad|\quad\today\quad|\quad Version 2.2a}
+\bioinfo{Mingyu Hsia (\mailto{xiamyphys@hdu.edu.cn})\quad|\quad\today\quad|\quad Version 2.2b}
\cover[checkerboard]{schrodinger}\coverhead[3]{universe}
\begin{document}
-\maketitle[DarkSlateGray]
+\maketitle[DarkSlateGray]
+\frontmatter\tableofcontents\mainmatter
\chapterimage{\UPFadingImage*[trim={0 {.9\paperheight} 0 0},clip]{Beautiful-realities}}
-\chapter{User Manual For The \pkg{LiteSolution} Class}
-\section{Introduction}
+\chapter{Introduction to the \pkg{LiteSolution} Class}
+
+\section{Preface}
This is the document for the \pkg{LiteSolution} class, which is designed for typesetting solutions of problems in exams, textbooks, etc.
@@ -48,12 +50,14 @@ The \mode{hideanswer} mode can hide contents in \cmd{solution} environment and \
The \mode{mtpro2}, \mode{newtx} and \mode{newtxsf} modes can format the font of formulas in the document. Please check if mtpro2 font has been installed on your computer correctly before using \mode{mtpro2} mode.
-\section{Related packages}
+\section{Related Packages}
\begin{description}
\item[Package \pkg{notebeamer}] provides macros for inputting slides on note papers quickly.
\item[Package \pkg{fadingimage}] provides macros for inputting full width picture at the edges of pages quickly.
\end{description}
+\chapter{Settings \& Usages of this Class}
+
\section{Cover Configurations}
\subsection{The cover page configurations}
@@ -70,7 +74,7 @@ The \mode{mtpro2}, \mode{newtx} and \mode{newtxsf} modes can format the font of
\title{\sffamily The \pkg{LiteSolution} Class}
\subtitle{\sffamily\scshape Hangzhou Dianzi University}
\bioinfo{Mingyu Hsia (\mailto{xiamyphys@hdu.edu.cn})
- \quad|\quad\today\quad|\quad Version 2.2a}
+ \quad|\quad\today\quad|\quad Version 2.2b}
\cover[checkerboard]{schrodinger} \coverhead[5]{universe}
\begin{document} \maketitle[Midnightblue]
@@ -84,6 +88,32 @@ The \mode{mtpro2}, \mode{newtx} and \mode{newtxsf} modes can format the font of
This command can assign the format of the image at every chapters begin and you can adjust the format of the image with the \pkg{fadingimage} package.
+\section{Preset Packages}
+
+This template has preset many packages. The following packages are the common ones
+
+\begin{table}[htbp]
+ \centering\small
+ \begin{tabular}{l l l l l l l l}
+ \toprule
+ \pkg{amsthm} & \pkg{amssymb} & \pkg{bm} & \pkg{booktabs} &
+ \pkg{cancel} & \pkg{caption} & \pkg{circuitikz} & \pkg{datetime} \\
+ \midrule
+ \pkg{derivative} & \pkg{diagbox} & \pkg{esvect} & \pkg{extarrows} &
+ \pkg{fadingimage} & \pkg{fancyhdr} & \pkg{fixdif} & \pkg{fontawesome5} \\
+ \midrule
+ \pkg{geometry} & \pkg{graphics} & \pkg{graphicx} & \pkg{hyperref} &
+ \pkg{indentfirst} & \pkg{lipsum} & \pkg{mathtools} & \pkg{multicol} \\
+ \midrule
+ \pkg{multirow} & \pkg{nicematrix} & \pkg{notebeamer} & \pkg{paracol} &
+ \pkg{pgfplots} & \pkg{physics2} & \pkg{qrcode} & \pkg{refstyle} \\
+ \midrule
+ \pkg{setspace} & \pkg{siunitx} & \pkg{tabularx} & \pkg{tasks} &
+ \pkg{wallpaper} & \pkg{xcolor} & \pkg{xeCJK} & \pkg{xfrac} \\
+ \bottomrule
+ \end{tabular}
+\end{table}
+
\section{Preset Commands}
\subsection{The \cmd{ans} command}
@@ -92,7 +122,7 @@ This command can assign the format of the image at every chapters begin and you
\ans {<contents>}
\end{verbatim}
-This command can underline the answer, and if mode \mode{noans} is enabled, the answer will be hidden.
+This command can underline the answer, and if mode \mode{noans} is enabled the answer will be hidden.
\subsection{The \cmd{solute} command}
@@ -114,7 +144,7 @@ This command can create a fixable answer box when the mode \mode{noans} is enabl
\subsection{The \cmd{problem} environment}
\begin{tcblisting}{sidebyside,colback=DarkGreen!5,colframe=DarkGreen!80}
-\begin{problem}[Keywords]\leavevmode
+\begin{problem}[<Keywords>]\leavevmode
\begin{tasks}(2)
\task Choice A \task[\true] Choice B
\task Choice C \task Choice D
@@ -140,39 +170,14 @@ This command can create a fixable answer box when the mode \mode{noans} is enabl
\end{tcblisting}
\end{minipage}
-\subsection{Equation test}
-
-\[\i\hbar\partial_t\psi(\mathbf x,t)=-(\i\hbar c\bm\alpha\cdot\bm\nabla+\beta mc^2)\psi(\mathbf x,t)\]
-
-\section{Preset packages}
-
-This template has preset many packages. The following packages are the common ones
-
-\begin{table}[htbp]
- \centering\small
- \begin{tabular}{l l l l l l l l}
- \toprule
- \pkg{amsthm} & \pkg{amssymb} & \pkg{bm} & \pkg{booktabs} &
- \pkg{cancel} & \pkg{caption} & \pkg{circuitikz} & \pkg{datetime} \\
- \midrule
- \pkg{derivative} & \pkg{diagbox} & \pkg{esvect} & \pkg{extarrows} &
- \pkg{fadingimage} & \pkg{fancyhdr} & \pkg{fixdif} & \pkg{fontawesome5} \\
- \midrule
- \pkg{geometry} & \pkg{graphics} & \pkg{graphicx} & \pkg{hyperref} &
- \pkg{indentfirst} & \pkg{lipsum} & \pkg{mathtools} & \pkg{multicol} \\
- \midrule
- \pkg{multirow} & \pkg{nicematrix} & \pkg{notebeamer} & \pkg{paracol} &
- \pkg{pgfplots} & \pkg{physics2} & \pkg{qrcode} & \pkg{refstyle} \\
- \midrule
- \pkg{setspace} & \pkg{siunitx} & \pkg{tabularx} & \pkg{tasks} &
- \pkg{wallpaper} & \pkg{xcolor} & \pkg{xeCJK} & \pkg{xfrac} \\
- \bottomrule
- \end{tabular}
-\end{table}
+\section{Equation test}
-\clearpage\appendix\def\thesection{Appendix}
+\[\begin{cases}
+ \i\hbar\partial_t\psi(\mathbf x,t)=\ab(-\frac{\hbar^2}{2m}\bm\nabla^2+V)\\
+ \i\hbar\partial_t\psi(\mathbf x,t)=-(\i\hbar c\bm\alpha\cdot\bm\nabla+\beta mc^2)\psi(\mathbf x,t)
+\end{cases}\]
-\section{Original code for the cover head}
+\section*{Original Code for the Cover Head}
\setstretch{1.15}
\lstinputlisting{figure/universe.tex}