summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/litebook/doc/cha/cha1.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/litebook/doc/cha/cha1.tex')
-rw-r--r--macros/latex/contrib/litebook/doc/cha/cha1.tex93
1 files changed, 52 insertions, 41 deletions
diff --git a/macros/latex/contrib/litebook/doc/cha/cha1.tex b/macros/latex/contrib/litebook/doc/cha/cha1.tex
index 2f946f844b..09ca12e996 100644
--- a/macros/latex/contrib/litebook/doc/cha/cha1.tex
+++ b/macros/latex/contrib/litebook/doc/cha/cha1.tex
@@ -22,7 +22,7 @@ The test environments are macOS + Mac\TeX{} 2024 / Overleaf and they all work fi
Just like the cover of this document, there are 5 lines of information on the cover and a cover image, the corresponding commands are
\begin{verbatim}
- \title{The \pkg{LiteBook} Template} \subtitle{Version 0.1a \today}
+ \title{The \pkg{LiteBook} Template} \subtitle{Version 0.1b \today}
\press{The University of Chicago Press} \author{Hsia Mingyu}
\bioinfo{Hangzhou Dianzi University} \cover{Beautiful-realities.jpeg}
\end{verbatim}
@@ -33,13 +33,13 @@ Here, the same as the \pkg{book} class, the command \cmd{title} could not be omi
This package has been preset with the following packages:
\begin{table}[!ht]
\centering
- \begin{tabular}{l l l l l l}
+ \begin{tabular}{l l l l l l l}
\toprule
- \pkg{amsmath} & \pkg{amssymb} & \pkg{mathrsfs} & \pkg{esvect} & \pkg{physics2,fixdif} & \pkg{bm}\\
+ \pkg{amsmath} & \pkg{amssymb} & \pkg{mathrsfs} & \pkg{esvect} & \pkg{physics2} & \pkg{fixdif} & \pkg{bm}\\
\midrule
- \pkg{derivative} & \pkg{cancel} & \pkg{extarrows} & \pkg{siunitx} & \pkg{nicefrac} & \pkg{nicematrix}\\
+ \pkg{derivative} & \pkg{cancel} & \pkg{extarrows} & \pkg{siunitx} & \pkg{nicefrac} & \pkg{nicematrix} & \pkg{booktabs}\\
\midrule
- \pkg{booktabs} & \pkg{tabularx} & \pkg{diagbox} & \pkg{multicol} & \pkg{multirow} & \pkg{refstyle}\\
+ \pkg{tabularx} & \pkg{diagbox} & \pkg{multicol} & \pkg{multirow} & \pkg{refstyle} & \pkg{tcolorbox} & \pkg{fontawesome5}\\
\bottomrule
\end{tabular}
\end{table}
@@ -49,36 +49,54 @@ You can click on them to go to the homepage to view the documentation.
And commands \verb|\i|, \verb|\e|, \verb|\T| has been defined to input
$\i$, $\e$ in roman (non-italic) text and matrix transpose symbol $\T$, which can help you typeset math quickly.
-The template has been preset the following reference command with the \pkg{refstyle} package: \verb|\eqref{#1}|, \verb|\figref{#1}| and \verb|tabref{#1}|, you can add other commands like these with the \pkg{refstyle} package.
+The template has been preset the following reference command via \pkg{refstyle} package: \verb|\eqref{#1}|, \verb|\figref{#1}| and \verb|\tabref{#1}|, you can add other commands like these via \pkg{refstyle} package.
\section{Preset Environments}
-The template has been preset the following envrionments with the \pkg{amsthm} package
-
-\begin{tcblisting}{sidebyside}
- \begin{theorem}
- A theorem environment.
- \end{theorem}
-\end{tcblisting}
-
-\begin{tcblisting}{sidebyside}
- \begin{example}
- An example environment.
- \end{example}
-\end{tcblisting}
-
-\begin{tcblisting}{sidebyside}
- \begin{problem}
- A problem environment.
- \end{problem}
-\end{tcblisting}
-
-\begin{tcblisting}{sidebyside}
- \begin{solution}
- A solution environment.
- \end{solution}
-\end{tcblisting}
-
-You can add other envrionments like these with the \pkg{amsthm} package.
+The following environments have been preset, you can add other environments via the \pkg{amsthm} package.
+
+\begin{multicols}{2}
+
+\begin{definition}
+ A definition environment.
+\end{definition}
+
+\begin{theorem}
+ A theorem environment.
+\end{theorem}
+
+\begin{lemma}
+ A lemma environment.
+\end{lemma}
+
+\begin{corollary}
+ A corollary environment.
+\end{corollary}
+
+\begin{postulate}
+ A postulate environment.
+\end{postulate}
+
+\begin{axiom}
+ An axiom environment.
+\end{axiom}
+
+\begin{proposition}
+ A proposition environment.
+\end{proposition}
+
+\begin{example}
+ An example environment.
+\end{example}
+
+\begin{problem}
+ A problem environment.
+\end{problem}
+
+\begin{solution}
+ A solution environment.
+\end{solution}
+
+\end{multicols}
\section{Equation Test}
\begin{equation}
@@ -115,11 +133,4 @@ The Klein-Gordon \eqref{1.6.1}.
\end{minipage}
\end{figure}
-\figref{1.1} shows the Light Cone.
-
-\section{Warnings}
-
-Due to the template has used the \pkg{FadingImage} package to add a fading image on the cover, when you use the \hologo{pdfLaTeX} compiler, should run it for two times or the cover image will not appear on the correct location, also, there will be a double question mark when referring to labels.
-
-
-% amsthm \ No newline at end of file
+\figref{1.1} shows the Light Cone. \ No newline at end of file