summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/litesolution/doc/litesolution-doc.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/litesolution/doc/litesolution-doc.tex')
-rw-r--r--macros/latex/contrib/litesolution/doc/litesolution-doc.tex45
1 files changed, 23 insertions, 22 deletions
diff --git a/macros/latex/contrib/litesolution/doc/litesolution-doc.tex b/macros/latex/contrib/litesolution/doc/litesolution-doc.tex
index c358895d8e..41e608614c 100644
--- a/macros/latex/contrib/litesolution/doc/litesolution-doc.tex
+++ b/macros/latex/contrib/litesolution/doc/litesolution-doc.tex
@@ -2,10 +2,13 @@
\fancyhead[L]{\,\color{H7}\href{https://github.com/xiamyphys/litesolution}{\faIcon{github}\;\leftmark}}
\fancyhead[R]{\color{H7}\rightmark\,}
-\centerline{Xia Mingyu, \href{https://www.hdu.edu.cn}{Hangzhou Dianzi University}}
+\centerline{Hsia Mingyu, \href{https://www.hdu.edu.cn}{Hangzhou Dianzi University}}
\yyyymmdddate
-\centerline{\mailto{xiamyphys@gmail.com}}
-\centerline{\today,\quad Version 1.2a}
+\begin{center}
+ \mailto{xiamyphys@gmail.com}
+
+ \today,\quad Version 1.3a
+\end{center}
This is the document for \pkg{LiteSolution} template, which provides a lite design of the solution of test paper.
@@ -81,7 +84,8 @@ This command can add watermark to the document.
\subsection{Other customer commands}
In order to facilitate input, the following commands are scheduled. You can add others in the \verb|*.cls| file as you like.
\vskip1em
-\begin{center}
+\begin{table}[!ht]
+ \centering
\begin{tabular}{l|l|l|l|l|l}
\toprule
Command & Output & Command & Output & Command & Output\\
@@ -90,12 +94,12 @@ In order to facilitate input, the following commands are scheduled. You can add
\hline
\verb|\sokka{#1}| & 故本题选择\#1项 & \verb|\d| & $\mathrm{d}$ & \verb|\e| & $\mathrm{e}$\\
\hline
- \verb|\xSim[#1]{#2}| & $\xSim[r_1\times2]{r_2+r_1}$ & \verb|\ee{#1}| & $\ee{-34}$ & \verb|\mat{#1}^\T| & $\mat{A}^\T$\\
+ \verb|\xSim[#1]{#2}| & $\xSim[r_1\times2]{r_2+r_1}$ & \verb|\num{e#1}| & $\num{e-34}$ & \verb|\mat{#1}^\T| & $\mat{A}^\T$\\
\hline
\verb|\rank{#1}| & $\rank{\mat{AB}}$ & \verb|\QED| & \QED & \verb|$5\unit{kg}$| & $5\unit{kg}$\\
\bottomrule
- \end{tabular}
-\end{center}
+ \end{tabular}
+\end{table}
\section{Environments of \pkg{LiteSolution}}
\subsection{The \cmd{choice} environment}
@@ -161,7 +165,7 @@ Sightly different from the cmd{choice} environment: the two variables are points
\begin{problem}[Keywords]
If you want to add keywords only.
\end{problem}
- \begin{problem}*[][5]
+ \begin{problem} [5]
If you want to add points only.
\end{problem}
\end{tcblisting}
@@ -224,7 +228,6 @@ If a star (*) is added after the \verb|\begin{solution}|, then the content will
This is the answer for the problem.
\end{solution}
\end{tcblisting}
-
If a star (*) is added after the \verb|\begin{solution}|, then the content will follow the
\begin{tcblisting}{sidebyside}
\begin{solution}*
@@ -235,20 +238,13 @@ If a star (*) is added after the \verb|\begin{solution}|, then the content will
If mode \mode{noans} is enabled, the solution will disappear, leaving only a blank box with the same height as the solution, and the name of the box will change to \emph{\textcolor{1号色}{\textbf{\faIcon{pen-square} 答题区域}}}.
\section{Known Issues}
-\TeX Live will return errors when you enable the mode \mode{noans} and use the \cmd{solution} environment in \cmd{paracol} environment.
-
-\section{Version History}
-This template is used to type the mid-term and final exam solutions of \emph{College Physics}. Initially, I used the \href{https://www.ctan.org/pkg/elegantbook}{ElegantBook} template for layout, however, it's no longer be maintained since January 1st, 2023, so I turn to use the \href{https://github.com/Azure1210/VividBooK}{\pkg*{VividBooK}} instead. But this template is too bloated and some functions \& designs need to be redesigned, so I started developing \pkg{LiteSolution}.
-
-\textsf{\bfseries Version 0.1a} was finished developing on 29 June, 2023 and released on \href{https://mp.weixin.qq.com/s/kd4StYk3XybhNQZkAfoY6A}{\faIcon{weixin} WeChat Public Account: 物理问题作} with the name \emph{FreshSolution}. This version redesigned the \cmd{exercise} environment and the \cmd{solution} environment in terms of designs and functions, and improvements have been made to the design of the chapterimage part.
+Sometimes \TeX Live will return errors when you enable the mode \mode{noans} and use the \cmd{solution} environment in \cmd{paracol} environment.
-\textsf{\bfseries Version 0.1b} was finished developing on 6 July, 2023 and released on \href{https://www.latexstudio.net/index/details/index/mid/3553.html}{LaTeX Studio} (Xiaoshan, Hangzhou) and \href{http://xhslink.com/YBuuuw}{Xiaohongshu}, where won the favor of many people. This version has added the global option to make the page number be remaked or continuous between chapters, and command \cmd{watermark} has been added in this version.
+\clearpage
-\textsf{\bfseries Version 1.0a} was finished developing on 15 November, 2023. This version has redesigned the \cmd{chapterimage} part, \cmd{choice} and replaced the \cmd{exercise} environment with the \cmd{problem} environment.
-
-\textsf{\bfseries Version 1.2a} was finished developing on \textcolor{H1}{13 November, 2023}. This version has integrated the chapter design of \href{https://www.ctan.org/pkg/elegantbook}{\pkg*{ElegantBook}} into the star (*) key value of this template \cmd{chapter}. And some commands friendly for matrices typesetting were added in. The command \cmd{chapterfont} was redesigned that it can call the font in the local path or call system font with(out) a star (*) after it. Also, the environment \cmd{proof} was redesigned, and the mode \mode{noans} in this version supports hide the solution box and replace it with a fixable solution box. Today (\textcolor{H1}{2023/12/13}) is \emph{The National public memorial day of Nanjing Massacre}. Hope for world peace.
+\section{Version History}
+This template is used to type the mid-term and final exam solutions of \emph{College Physics}. Initially, I used the \pkg*{ElegantBook} template for layout, however, it's no longer be maintained since January 1st, 2023, so I turn to use the \href{https://github.com/Azure1210/VividBooK}{\pkg*{VividBooK}} instead. But this template is too bloated and some functions \& designs need to be redesigned, so I started developing \pkg{LiteSolution}.
-\newpage
\subsection*{Update Announcements}
\datechange{2023/07/06}{Version 0.1b}
\begin{itemize}
@@ -264,17 +260,22 @@ This template is used to type the mid-term and final exam solutions of \emph{Col
\item Added the \cmd{note} environment and some customer commands.
\end{itemize}
-\datechange{\today}{Version 1.2a}
+\datechange{2023/12/13}{Version 1.2a}
\begin{itemize}
\item Fixed the bug that the gap around the chapter image.
\item Added some commands for matrices.
\item Redesigned the \cmd{chapterfont} command.
\item Redesigned the \cmd{proof} environment.
\item Supports to adjust the height of solution box when output the exam paper without answer.
- \item Add the \emph{排版规范} in \emph{中文(简体)} after the package document.
\item Fixed the bug that warnings of the packages \pkg{xeCJK} and \pkg{fontspec}.
\end{itemize}
+\datechange{\today}{Version 1.3a}
+\begin{itemize}
+ \item Added the mode \mode{tcolorbox}, which you can choose whether the tcolorbox breakable or not.
+ \item This version separate the chapterimage part to a single \verb|titleimage.sty| file, which will be posted on \nolinkurl{ctan.org} soon to make this template more maintainable.
+\end{itemize}
+
\subsection*{Future Plans}
\begin{itemize}
\item Plan to add the \mode{dark} mode to this template to make the text color light while make the page color dark to protect eyesight.