mirror of
https://github.com/ElegantLaTeX/ElegantBook.git
synced 2026-01-26 04:14:35 +08:00
version 3.10
This commit is contained in:
@@ -1,11 +1,11 @@
|
|||||||
\documentclass[cn,11pt,chinese,founder,hide]{elegantbook}
|
\documentclass[cn,11pt,chinese]{elegantbook}
|
||||||
|
|
||||||
\title{ElegantBook:优美的 \LaTeX{} 书籍模板}
|
\title{ElegantBook:优美的 \LaTeX{} 书籍模板}
|
||||||
\subtitle{Elegant\LaTeX{} 经典之作}
|
\subtitle{Elegant\LaTeX{} 经典之作}
|
||||||
|
|
||||||
\author{Ethan Deng \& Liam Huang}
|
\author{Ethan Deng \& Liam Huang}
|
||||||
\institute{Elegant\LaTeX{} Program}
|
\institute{Elegant\LaTeX{} Program}
|
||||||
\date{\today}
|
\date{February 10, 2020}
|
||||||
\version{3.10}
|
\version{3.10}
|
||||||
\bioinfo{自定义}{信息}
|
\bioinfo{自定义}{信息}
|
||||||
|
|
||||||
@@ -14,13 +14,12 @@
|
|||||||
\logo{logo-blue.png}
|
\logo{logo-blue.png}
|
||||||
\cover{cover.jpg}
|
\cover{cover.jpg}
|
||||||
|
|
||||||
|
% 本文档命令
|
||||||
\usepackage{array}
|
\usepackage{array}
|
||||||
|
|
||||||
\newcommand{\ccr}[1]{\makecell{{\color{#1}\rule{1cm}{1cm}}}}
|
\newcommand{\ccr}[1]{\makecell{{\color{#1}\rule{1cm}{1cm}}}}
|
||||||
|
% 修改目录深度
|
||||||
\setcounter{tocdepth}{2}
|
\setcounter{tocdepth}{2}
|
||||||
\newcommand{\cd}{\lstinline}
|
|
||||||
\begin{document}
|
\begin{document}
|
||||||
|
|
||||||
\maketitle
|
\maketitle
|
||||||
@@ -45,7 +44,7 @@
|
|||||||
|
|
||||||
\begin{flushright}
|
\begin{flushright}
|
||||||
Ethan Deng\\
|
Ethan Deng\\
|
||||||
February 8, 2020
|
February 10, 2020
|
||||||
\end{flushright}
|
\end{flushright}
|
||||||
|
|
||||||
\tableofcontents
|
\tableofcontents
|
||||||
@@ -78,16 +77,16 @@ Elegant\LaTeX{} 项目组致力于打造一系列美观、优雅、简便的模
|
|||||||
\textbf{重要提示}:原先通过 \lstinline{newtxmath} 宏包设置的数学字体改为 \LaTeX{} 默认数学字体,如果需要保持原来的字体,需要显式声明数学字体(\lstinline{math=newtx});
|
\textbf{重要提示}:原先通过 \lstinline{newtxmath} 宏包设置的数学字体改为 \LaTeX{} 默认数学字体,如果需要保持原来的字体,需要显式声明数学字体(\lstinline{math=newtx});
|
||||||
\item 新增中文字体选项 \lstinline{chinesefont},可选项为 \lstinline{ctexfont}、\lstinline{founder} 和 \lstinline{nofont}。
|
\item 新增中文字体选项 \lstinline{chinesefont},可选项为 \lstinline{ctexfont}、\lstinline{founder} 和 \lstinline{nofont}。
|
||||||
\item 将封面作者信息设置为可选,并且增加自定义信息命令 \lstinline{\bioinfo};
|
\item 将封面作者信息设置为可选,并且增加自定义信息命令 \lstinline{\bioinfo};
|
||||||
\item 在说明文档中增加版本历史,新增 \lstinline{\datechange} 命令和 \lstinline{change} 环境;
|
\item 在说明文档中增加版本历史,新增 \lstinline{\datechange} 命令和 \lstinline{change} 环境;
|
||||||
\item 增加汉化章节选项 \lstinline{scheme},可选项为汉化 \lstinline{chinese};
|
\item 增加汉化章节选项 \lstinline{scheme},可选项为汉化 \lstinline{chinese};
|
||||||
\item 由于 \lstinline{\lvert} 问题已经修复,重新调整 \lstinline{ctex} 宏包和 \lstinline{amsmath} 宏包位置。
|
\item 由于 \lstinline{\lvert} 问题已经修复,重新调整 \lstinline{ctex} 宏包和 \lstinline{amsmath} 宏包位置。
|
||||||
\item 修改页眉设置,去除了 \lstinline{\lastpage} 以避免 page anchor 问题,加入 \lstinline{\frontmatter}。
|
\item 修改页眉设置,去除了 \lstinline{\lastpage} 以避免 page anchor 问题,加入 \lstinline{\frontmatter}。
|
||||||
\item 修改参考文献选项 \lstinline{cite},可选项为数字 \lstinline{number}、 作者-年份 \lstinline{authoryear} 以及上标 \lstinline{super}。
|
\item 修改参考文献选项 \lstinline{cite},可选项为数字 \lstinline{number}、 作者-年份 \lstinline{authoryear} 以及上标 \lstinline{super}。
|
||||||
\item 新增参考文献样式选项 \lstinline{bibstyle},并将英文模式下参考文献样式 \lstinline{apalike} 设置为默认值,中文仍然使用 \lstinline{gbt7714} 宏包设置。
|
\item 新增参考文献样式选项 \lstinline{bibstyle},并将英文模式下参考文献样式 \lstinline{apalike} 设置为默认值,中文仍然使用 \lstinline{gbt7714} 宏包设置。
|
||||||
\end{enumerate}
|
\end{enumerate}
|
||||||
|
|
||||||
\begin{note}
|
\begin{note}
|
||||||
2.x 版本的用户请仔细查看\href{https://github.com/ElegantLaTeX/ElegantBook/wiki/convert}{跨版本转换}。
|
如果你之前使用了本模板,在使用新版本时,需要删除文档中的 \lstinline|\hypersetup{pageanchor=true}|,并且在 \lstinline{\maketitle} 和 \lstinline{\tableofcontents} 之间添加 \lstinline{\frontmatter}。2.x 版本的用户请仔细查看\href{https://github.com/ElegantLaTeX/ElegantBook/wiki/convert}{跨版本转换}。
|
||||||
\end{note}
|
\end{note}
|
||||||
|
|
||||||
\section{模板安装与更新}
|
\section{模板安装与更新}
|
||||||
@@ -165,7 +164,7 @@ Elegant\LaTeX{} 系列模板从创立至今已经有 9 年了,我们的模板
|
|||||||
另外,也感谢 \href{https://github.com/stone-zeng}{Xiangdong Zeng}、\href{https://github.com/latexers}{逐鹿人}等人帮忙群管理。
|
另外,也感谢 \href{https://github.com/stone-zeng}{Xiangdong Zeng}、\href{https://github.com/latexers}{逐鹿人}等人帮忙群管理。
|
||||||
|
|
||||||
\section{致谢}
|
\section{致谢}
|
||||||
2019 年 5 月 20 日,ElegantBook 模板在 GitHub 上的收藏数(star)达到了 100\footnote{截止 2020 年 2 月 8 日 3.10 版本正式发布,star 数为 372。}。在此特别感谢 China\TeX{} 以及 \href{http://www.latexstudio.net/}{\LaTeX{} 工作室}对于本系列模板的大力宣传与推广。\LaTeX{} 工作室网站上有很多精彩的帖子和精致的模板,欢迎大家去挖掘里面的宝藏,这也是国内最全面的 \LaTeX{} 相关的网站。
|
2019 年 5 月 20 日,ElegantBook 模板在 GitHub 上的收藏数(star)达到了 100\footnote{截止 3.10 版本正式发布,star 数为 374。}。在此特别感谢 China\TeX{} 以及 \href{http://www.latexstudio.net/}{\LaTeX{} 工作室}对于本系列模板的大力宣传与推广。\LaTeX{} 工作室网站上有很多精彩的帖子和精致的模板,欢迎大家去挖掘里面的宝藏,这也是国内最全面的 \LaTeX{} 相关的网站。
|
||||||
|
|
||||||
如果你喜欢我们的模板,你可以在 GitHub 上收藏我们的模板。
|
如果你喜欢我们的模板,你可以在 GitHub 上收藏我们的模板。
|
||||||
%\begin{figure}[htbp]
|
%\begin{figure}[htbp]
|
||||||
@@ -215,7 +214,7 @@ Elegant\LaTeX{} 系列模板从创立至今已经有 9 年了,我们的模板
|
|||||||
F*5 & 10 RMB & 2020/01/03 & 微信 & S*m & 20.20 RMB & 2020/01/03 & 微信 \\
|
F*5 & 10 RMB & 2020/01/03 & 微信 & S*m & 20.20 RMB & 2020/01/03 & 微信 \\
|
||||||
二代青雉 & 13 RMB & 2020/01/14 & 支付宝 & *? & 66 RMB & 2020/01/15 & 微信 \\
|
二代青雉 & 13 RMB & 2020/01/14 & 支付宝 & *? & 66 RMB & 2020/01/15 & 微信 \\
|
||||||
Mr. Xiong & 20 RMB & 2020/01/17 & 微信 & *博 & 15 RMB & 2020/01/18 & 微信 \\
|
Mr. Xiong & 20 RMB & 2020/01/17 & 微信 & *博 & 15 RMB & 2020/01/18 & 微信 \\
|
||||||
*者 & 10 RMB & 2020/02/02 & 微信 & & & & \\
|
*者 & 10 RMB & 2020/02/02 & 微信 & Jackie & 88.80 RMB & 2020/02/09 & 微信 \\
|
||||||
\hline
|
\hline
|
||||||
\end{tabular}%
|
\end{tabular}%
|
||||||
\label{tab:donation}%
|
\label{tab:donation}%
|
||||||
@@ -580,9 +579,9 @@ The content of introduction.
|
|||||||
|
|
||||||
% equation
|
% equation
|
||||||
\marginpar{
|
\marginpar{
|
||||||
\begin{equation}
|
\begin{equation}
|
||||||
a^2 + b^2 = c^2
|
a^2 + b^2 = c^2
|
||||||
\end{equation}
|
\end{equation}
|
||||||
}
|
}
|
||||||
\end{lstlisting}
|
\end{lstlisting}
|
||||||
|
|
||||||
@@ -591,18 +590,18 @@ The content of introduction.
|
|||||||
\begin{lstlisting}
|
\begin{lstlisting}
|
||||||
% graph with centerline command
|
% graph with centerline command
|
||||||
\marginpar{
|
\marginpar{
|
||||||
\centerline{
|
\centerline{
|
||||||
\includegraphics[width=0.2\textwidth]{logo.png}
|
\includegraphics[width=0.2\textwidth]{logo.png}
|
||||||
}
|
}
|
||||||
\captionof{figure}{your figure caption}
|
\captionof{figure}{your figure caption}
|
||||||
}
|
}
|
||||||
|
|
||||||
% graph with center environment
|
% graph with center environment
|
||||||
\marginpar{
|
\marginpar{
|
||||||
\begin{center}
|
\begin{center}
|
||||||
\includegraphics[width=0.2\textwidth]{logo.png}
|
\includegraphics[width=0.2\textwidth]{logo.png}
|
||||||
\captionof{figure}{your figure caption}
|
\captionof{figure}{your figure caption}
|
||||||
\end{center}
|
\end{center}
|
||||||
}
|
}
|
||||||
\end{lstlisting}
|
\end{lstlisting}
|
||||||
|
|
||||||
@@ -612,7 +611,7 @@ The content of introduction.
|
|||||||
\chapter{字体选项}
|
\chapter{字体选项}
|
||||||
字体选项独立成章的原因是,我们希望本模板的用户关心模板使用的字体,知晓自己使用的字体以及遇到字体相关的问题能更加便捷地找到答案。
|
字体选项独立成章的原因是,我们希望本模板的用户关心模板使用的字体,知晓自己使用的字体以及遇到字体相关的问题能更加便捷地找到答案。
|
||||||
|
|
||||||
\textcolor{red}{\bfseries 重要提示}:从 2020 年 2 月 8 日 3.10 版本更新之后,沿用至今的 newtx 系列字体被重新更改为 cm 字体。并且新增中文字体(\lstinline{chinesefont})选项。
|
\textcolor{red}{\bfseries 重要提示}:从 3.10 版本更新之后,沿用至今的 newtx 系列字体被重新更改为 cm 字体。并且新增中文字体(\lstinline{chinesefont})选项。
|
||||||
|
|
||||||
\section{数学字体选项}
|
\section{数学字体选项}
|
||||||
|
|
||||||
@@ -635,12 +634,12 @@ The content of introduction.
|
|||||||
|
|
||||||
如果使用 \lstinline{newtx} 系列字体宏包,需要注意下连字符的问题。
|
如果使用 \lstinline{newtx} 系列字体宏包,需要注意下连字符的问题。
|
||||||
\begin{equation}
|
\begin{equation}
|
||||||
\int_{R^q} f(x,y) dy.\emph{of\kern0pt f}
|
\int_{R^q} f(x,y) dy.\emph{of\kern0pt f}
|
||||||
\end{equation}
|
\end{equation}
|
||||||
的代码为
|
的代码为
|
||||||
\begin{lstlisting}
|
\begin{lstlisting}
|
||||||
\begin{equation}
|
\begin{equation}
|
||||||
\int_{R^q} f(x,y) dy.\emph{of \kern0pt f}
|
\int_{R^q} f(x,y) dy.\emph{of \kern0pt f}
|
||||||
\end{equation}
|
\end{equation}
|
||||||
\end{lstlisting}
|
\end{lstlisting}
|
||||||
|
|
||||||
@@ -674,6 +673,10 @@ LaTeX Error:
|
|||||||
\item \lstinline{nofont}:调用 \lstinline{ctex} 宏包并且使用 \lstinline{fontset=none} 选项,不设定中文字体,用户可以自行设置中文字体,具体见后文。
|
\item \lstinline{nofont}:调用 \lstinline{ctex} 宏包并且使用 \lstinline{fontset=none} 选项,不设定中文字体,用户可以自行设置中文字体,具体见后文。
|
||||||
\end{enumerate}
|
\end{enumerate}
|
||||||
|
|
||||||
|
\begin{remark}
|
||||||
|
使用 \lstinline{founder} 选项或者 \lstinline{nofont} 时,必须使用 \hologo{XeLaTeX} 进行编译。
|
||||||
|
\end{remark}
|
||||||
|
|
||||||
\subsection{方正字体选项}
|
\subsection{方正字体选项}
|
||||||
由于使用 \lstinline{ctex} 宏包默认调用系统已有的字体,部分系统字体缺失严重,因此,用户希望能够使用其它字体,我们推荐使用方正字体。方正的{\songti 方正书宋}、{\heiti 方正黑体}、{\kaishu 方正楷体}、{\fangsong 方正仿宋}四款字体均可免费试用,且可用于商业用途。
|
由于使用 \lstinline{ctex} 宏包默认调用系统已有的字体,部分系统字体缺失严重,因此,用户希望能够使用其它字体,我们推荐使用方正字体。方正的{\songti 方正书宋}、{\heiti 方正黑体}、{\kaishu 方正楷体}、{\fangsong 方正仿宋}四款字体均可免费试用,且可用于商业用途。
|
||||||
|
|
||||||
@@ -781,9 +784,9 @@ Lebesgue 积分有几种不同的定义方式。我们将采用逐步定义非
|
|||||||
我们知道最小二乘法可以用来处理一组数据,可以从一组测定的数据中寻求变量之间的依赖关系,这种函数关系称为经验公式。本课题将介绍最小二乘法的精确定义及如何寻求点与点之间近似成线性关系时的经验公式。假定实验测得变量之间的 $n$ 个数据,则在平面上,可以得到 $n$ 个点,这种图形称为 “散点图”,从图中可以粗略看出这些点大致散落在某直线近旁, 我们认为其近似为一线性函数,下面介绍求解步骤。
|
我们知道最小二乘法可以用来处理一组数据,可以从一组测定的数据中寻求变量之间的依赖关系,这种函数关系称为经验公式。本课题将介绍最小二乘法的精确定义及如何寻求点与点之间近似成线性关系时的经验公式。假定实验测得变量之间的 $n$ 个数据,则在平面上,可以得到 $n$ 个点,这种图形称为 “散点图”,从图中可以粗略看出这些点大致散落在某直线近旁, 我们认为其近似为一线性函数,下面介绍求解步骤。
|
||||||
|
|
||||||
\begin{figure}[htbp]
|
\begin{figure}[htbp]
|
||||||
\centering
|
\centering
|
||||||
\includegraphics[width=0.6\textwidth]{scatter.pdf}
|
\includegraphics[width=0.6\textwidth]{scatter.pdf}
|
||||||
\caption{散点图示例 $\hat{y}=a+bx$ \label{fig:scatter}}
|
\caption{散点图示例 $\hat{y}=a+bx$ \label{fig:scatter}}
|
||||||
\end{figure}
|
\end{figure}
|
||||||
|
|
||||||
以最简单的一元线性模型来解释最小二乘法。什么是一元线性模型呢?监督学习中,如果预测的变量是离散的,我们称其为分类(如决策树,支持向量机等),如果预测的变量是连续的,我们称其为回归。回归分析中,如果只包括一个自变量和一个因变量,且二者的关系可用一条直线近似表示,这种回归分析称为一元线性回归分析。如果回归分析中包括两个或两个以上的自变量,且因变量和自变量之间是线性关系,则称为多元线性回归分析。对于二维空间线性是一条直线;对于三维空间线性是一个平面,对于多维空间线性是一个超平面。
|
以最简单的一元线性模型来解释最小二乘法。什么是一元线性模型呢?监督学习中,如果预测的变量是离散的,我们称其为分类(如决策树,支持向量机等),如果预测的变量是连续的,我们称其为回归。回归分析中,如果只包括一个自变量和一个因变量,且二者的关系可用一条直线近似表示,这种回归分析称为一元线性回归分析。如果回归分析中包括两个或两个以上的自变量,且因变量和自变量之间是线性关系,则称为多元线性回归分析。对于二维空间线性是一条直线;对于三维空间线性是一个平面,对于多维空间线性是一个超平面。
|
||||||
@@ -841,29 +844,29 @@ Lebesgue 积分有几种不同的定义方式。我们将采用逐步定义非
|
|||||||
|
|
||||||
根据用户的反馈,我们不断修正和完善模板。截止到此次更新,ElegantBook 模板在 GitHub 上有将近 100 次提交,正式发行版本(release)有 16 次。
|
根据用户的反馈,我们不断修正和完善模板。截止到此次更新,ElegantBook 模板在 GitHub 上有将近 100 次提交,正式发行版本(release)有 16 次。
|
||||||
|
|
||||||
\datechange{2020/02/08}{版本 3.10 正式发布}
|
\datechange{2020/02/10}{版本 3.10 正式发布}
|
||||||
|
|
||||||
\begin{change}
|
\begin{change}
|
||||||
\item 增加数学字体选项 \lstinline{math},可选项为 \lstinline{newtx} 和 \lstinline{cm}。\\
|
\item 增加数学字体选项 \lstinline{math},可选项为 \lstinline{newtx} 和 \lstinline{cm}。\\
|
||||||
\textbf{重要提示}:原先通过 \lstinline{newtxmath} 宏包设置的数学字体改为 \LaTeX{} 默认数学字体,如果需要保持原来的字体,需要显式声明数学字体(\lstinline{math=newtx});
|
\textbf{重要提示}:原先通过 \lstinline{newtxmath} 宏包设置的数学字体改为 \LaTeX{} 默认数学字体,如果需要保持原来的字体,需要显式声明数学字体(\lstinline{math=newtx});
|
||||||
\item 新增中文字体选项 \lstinline{chinesefont},可选项为 \lstinline{ctexfont}、\lstinline{founder} 和 \lstinline{nofont}。
|
\item 新增中文字体选项 \lstinline{chinesefont},可选项为 \lstinline{ctexfont}、\lstinline{founder} 和 \lstinline{nofont}。
|
||||||
\item 将封面作者信息设置为可选,并且增加自定义信息命令 \lstinline{\bioinfo};
|
\item 将封面作者信息设置为可选,并且增加自定义信息命令 \lstinline{\bioinfo};
|
||||||
\item 在说明文档中增加版本历史,新增 \lstinline{\datechange} 命令和 \lstinline{change} 环境;
|
\item 在说明文档中增加版本历史,新增 \lstinline{\datechange} 命令和 \lstinline{change} 环境;
|
||||||
\item 增加汉化章节选项 \lstinline{scheme},可选项为汉化 \lstinline{chinese};
|
\item 增加汉化章节选项 \lstinline{scheme},可选项为汉化 \lstinline{chinese};
|
||||||
\item 由于 \lstinline{\lvert} 问题已经修复,重新调整 \lstinline{ctex} 宏包和 \lstinline{amsmath} 宏包位置。
|
\item 由于 \lstinline{\lvert} 问题已经修复,重新调整 \lstinline{ctex} 宏包和 \lstinline{amsmath} 宏包位置。
|
||||||
\item 修改页眉设置,去除了 \lstinline{\lastpage} 以避免 page anchor 问题,加入 \lstinline{\frontmatter}。
|
\item 修改页眉设置,去除了 \lstinline{\lastpage} 以避免 page anchor 问题,加入 \lstinline{\frontmatter}。
|
||||||
\item 修改参考文献选项 \lstinline{cite},可选项为数字 \lstinline{number}、 作者-年份 \lstinline{authoryear} 以及上标 \lstinline{super}。
|
\item 修改参考文献选项 \lstinline{cite},可选项为数字 \lstinline{number}、 作者-年份 \lstinline{authoryear} 以及上标 \lstinline{super}。
|
||||||
\item 新增参考文献样式选项 \lstinline{bibstyle},并将英文模式下参考文献样式 \lstinline{apalike} 设置为默认值,中文仍然使用 \lstinline{gbt7714} 宏包设置。
|
\item 新增参考文献样式选项 \lstinline{bibstyle},并将英文模式下参考文献样式 \lstinline{apalike} 设置为默认值,中文仍然使用 \lstinline{gbt7714} 宏包设置。
|
||||||
\end{change}
|
\end{change}
|
||||||
|
|
||||||
\datechange{2019/08/18}{版本 3.09 正式发布}
|
\datechange{2019/08/18}{版本 3.09 正式发布}
|
||||||
|
|
||||||
\begin{change}
|
\begin{change}
|
||||||
\item 由于 \lstinline{\elegantpar} 存在一些问题,暂时性删除 \lstinline{\elegantpar} 命令,并提示用户改用 \lstinline{\marginnote} 和 \lstinline{\marginpar} 旁注/边注命令。
|
\item 由于 \lstinline{\elegantpar} 存在一些问题,暂时性删除 \lstinline{\elegantpar} 命令,并提示用户改用 \lstinline{\marginnote} 和 \lstinline{\marginpar} 旁注/边注命令。
|
||||||
\item 积分操作符统一更改为 \lstinline{esint} 宏包设置;
|
\item 积分操作符统一更改为 \lstinline{esint} 宏包设置;
|
||||||
\item 新增目录选项 \lstinline{toc},可选项为单栏 \lstinline{onecol} 和双栏 \lstinline{twocol};
|
\item 新增目录选项 \lstinline{toc},可选项为单栏 \lstinline{onecol} 和双栏 \lstinline{twocol};
|
||||||
\item 手动增加参考文献选项 \lstinline{cite},可选项为上标形式 \lstinline{super};
|
\item 手动增加参考文献选项 \lstinline{cite},可选项为上标形式 \lstinline{super};
|
||||||
\item 修正章节习题(\lstinline{problemset})环境。
|
\item 修正章节习题(\lstinline{problemset})环境。
|
||||||
\end{change}
|
\end{change}
|
||||||
|
|
||||||
\nocite{*}
|
\nocite{*}
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
\documentclass[11pt,simple]{elegantbook}
|
\documentclass[lang=en,11pt]{elegantbook}
|
||||||
|
|
||||||
\title{An Elegant \LaTeX{} Template for Books}
|
\title{An Elegant \LaTeX{} Template for Books}
|
||||||
\subtitle{Classic Elegant\LaTeX{} Template}
|
\subtitle{Classic Elegant\LaTeX{} Template}
|
||||||
|
|
||||||
\author{Ethan Deng \& Liam Huang}
|
\author{Ethan Deng \& Liam Huang}
|
||||||
\institute{Elegant\LaTeX{} Program}
|
\institute{Elegant\LaTeX{} Program}
|
||||||
\date{\today}
|
\date{February 10, 2020}
|
||||||
\version{3.10*}
|
\version{3.10}
|
||||||
\bioinfo{Bio}{Information}
|
\bioinfo{Bio}{Information}
|
||||||
|
|
||||||
\extrainfo{Victory won\rq t come to us unless we go to it. }
|
\extrainfo{Victory won\rq t come to us unless we go to it. }
|
||||||
@@ -15,6 +15,7 @@
|
|||||||
\cover{cover.jpg}
|
\cover{cover.jpg}
|
||||||
|
|
||||||
\begin{document}
|
\begin{document}
|
||||||
|
|
||||||
\maketitle
|
\maketitle
|
||||||
|
|
||||||
\frontmatter
|
\frontmatter
|
||||||
@@ -26,34 +27,36 @@ Elegant\LaTeX{} Program developers are intended to provide you beautiful, elegan
|
|||||||
|
|
||||||
Contact Infos:
|
Contact Infos:
|
||||||
\begin{itemize}
|
\begin{itemize}
|
||||||
\item Homepage: \href{https://elegantlatex.org/}{https://elegantlatex.org/}
|
\item Homepage: \href{https://elegantlatex.org/}{https://elegantlatex.org/}
|
||||||
\item Github: \href{https://github.com/ElegantLaTeX/}{https://github.com/ElegantLaTeX/}
|
\item Github: \href{https://github.com/ElegantLaTeX/}{https://github.com/ElegantLaTeX/}
|
||||||
\item CTAN: \href{https://ctan.org/pkg/elegantbook}{https://ctan.org/pkg/elegantbook}
|
\item CTAN: \href{https://ctan.org/pkg/elegantbook}{https://ctan.org/pkg/elegantbook}
|
||||||
\item Wiki: \href{https://github.com/ElegantLaTeX/ElegantBook/wiki}{https://github.com/ElegantLaTeX/ElegantBook/wiki}
|
\item Wiki: \href{https://github.com/ElegantLaTeX/ElegantBook/wiki}{https://github.com/ElegantLaTeX/ElegantBook/wiki}
|
||||||
\item Download: \href{https://github.com/ElegantLaTeX/ElegantBook/releases}{release}, \href{https://github.com/ElegantLaTeX/ElegantBook/archive/master.zip}{latest version}
|
\item Download: \href{https://github.com/ElegantLaTeX/ElegantBook/releases}{release}, \href{https://github.com/ElegantLaTeX/ElegantBook/archive/master.zip}{latest version}
|
||||||
\item Weibo: Elegant\LaTeX{}
|
\item Weibo: Elegant\LaTeX{}
|
||||||
\item Wechat: Elegant\LaTeX{}
|
\item Wechat: Elegant\LaTeX{}
|
||||||
\item QQ: 692108391
|
\item QQ: 692108391
|
||||||
\item Email: \email{elegantlatex2e@gmail.com}
|
\item Email: \email{elegantlatex2e@gmail.com}
|
||||||
\end{itemize}
|
\end{itemize}
|
||||||
|
|
||||||
|
|
||||||
\section{ElegantBook Updates}
|
\section{ElegantBook Updates}
|
||||||
What\rq s new in this version:
|
What\rq s new in this version:
|
||||||
\begin{enumerate}
|
\begin{enumerate}
|
||||||
\item Introduce \lstinline{math} for math font, optional styles are Times-ish \lstinline{newtx}, Computer Modern-ish \lstinline{cm}. \textbf{Notice}: The math font \lstinline{newtxmath} in previous versions is reset to default \LaTeX{} math font, to keep previous math font, please declare \lstinline{math=newtx}.
|
\item Introduce \lstinline{math} for math font, optional styles are \lstinline{newtx} and \lstinline{cm}.\\
|
||||||
\item Introduce \lstinline{chinesefont} for Chinese font, optional fonts are \lstinline{founder}, \lstinline{ctexfont} and \lstinline{nofont}.
|
\textbf{Notice}: The math font \lstinline{newtxmath} in previous versions is reset to default \LaTeX{} math font, to keep previous math font, please declare \lstinline{math=newtx}.
|
||||||
\item Turn author information on the cover optional and add customized command \lstinline{\bioinfo}.
|
\item Introduce \lstinline{chinesefont} option, with \lstinline{founder}, \lstinline{ctexfont} and \lstinline{nofont} available.
|
||||||
\item Add version time line in this documentation with command \lstinline{\datechange} and environment \lstinline{change}.
|
\item Turn author information on the cover optional and add customized command \lstinline{\bioinfo}.
|
||||||
\item Add Chinese chapter style \lstinline{scheme} with option \lstinline{chinese}.
|
\item Add version history with command \lstinline{\datechange} and environment \lstinline{change}.
|
||||||
\item Since the bug raised by \lstinline{\lvert} is fixed, exchange package positions of \lstinline{ctex} and \lstinline{amsmath}.
|
\item Add Chinese chapter style \lstinline{scheme} with option \lstinline{chinese}.
|
||||||
\item Revise header settings by dropping \lstinline{\lastpage} to avoid page anchor bug and adding \lstinline{\frontmatter}.
|
\item Since the bug raised by \lstinline{\lvert} is fixed, exchange package positions of \lstinline{ctex} and \lstinline{amsmath}.
|
||||||
\item Revise bibliography option \lstinline{cite} with optional styles \lstinline{number},\lstinline{authoryear} and \lstinline{super}.
|
\item Drop \lstinline{\lastpage} from header to avoid page anchor bug and adding \lstinline{\frontmatter}.
|
||||||
\item Introduce bibliography style option \lstinline{bibstyle}, with default style \lstinline{apalike} for English and \lstinline{gbt7714} for Chinese.
|
\item Revise bibliography option \lstinline{cite} with optional styles \lstinline{numbers},\lstinline{authoryear} and \lstinline{super}.
|
||||||
|
\item Introduce bibliography style option \lstinline{bibstyle}, with default bib style \lstinline{apalike} for English mode and \lstinline{gbt7714} package for Chinese mode.
|
||||||
\end{enumerate}
|
\end{enumerate}
|
||||||
|
|
||||||
|
|
||||||
\begin{note}
|
\begin{note}
|
||||||
Users for 2.x, please refer to \href{https://github.com/ElegantLaTeX/ElegantBook/wiki/convert}{conversion}.
|
If you are using previous version, please delete \lstinline|\hypersetup{pageanchor=true}| and add \lstinline{\frontmatter} after \lstinline{\maketitle} and before \lstinline{\tableofcontents}. Users for 2.x, please refer to \href{https://github.com/ElegantLaTeX/ElegantBook/wiki/convert}{conversion}.
|
||||||
\end{note}
|
\end{note}
|
||||||
|
|
||||||
\section{Installation and Update}
|
\section{Installation and Update}
|
||||||
@@ -63,7 +66,7 @@ Both portable version and installation package are available for this template,
|
|||||||
Visit \href{https://www.overleaf.com/}{Overleaf} to use our template online anywhere and anytime without local installation. To find our template, search \lstinline{elegantlatex} in the \lstinline{templates} or simply visit \href{https://www.overleaf.com/latex/templates?addsearch=elegantlatex}{search result}, choose the template you prefer and \lstinline{Open as Template} to own a copy yourself to edit freely. To learn more about Overleaf, please refer to \href{https://www.overleaf.com/learn}{Documentation}.
|
Visit \href{https://www.overleaf.com/}{Overleaf} to use our template online anywhere and anytime without local installation. To find our template, search \lstinline{elegantlatex} in the \lstinline{templates} or simply visit \href{https://www.overleaf.com/latex/templates?addsearch=elegantlatex}{search result}, choose the template you prefer and \lstinline{Open as Template} to own a copy yourself to edit freely. To learn more about Overleaf, please refer to \href{https://www.overleaf.com/learn}{Documentation}.
|
||||||
|
|
||||||
\begin{remark}
|
\begin{remark}
|
||||||
On Overleaf, please use \hologo{XeLaTeX} to compile articles in Chinese and \hologo{pdfLaTeX} to compile articles in English.
|
On Overleaf, please use \hologo{XeLaTeX} to compile articles in Chinese and \hologo{pdfLaTeX} to compile articles in English.
|
||||||
\end{remark}
|
\end{remark}
|
||||||
|
|
||||||
\subsection{To Use Portable Version}
|
\subsection{To Use Portable Version}
|
||||||
@@ -73,9 +76,9 @@ For portable version, simply download lastest ElegantBook-master from Github or
|
|||||||
If you are a \TeX{} Live 2019 user, using the \lstinline{tlshell}\footnote{namely, \TeX{} Live Manager} of \TeX{} Live 2019 direct installation package is strongly recommended. Simply search and open \lstinline{tlshell}, click on \lstinline{File -> Load Default Repository} or customize repository by \lstinline{Options}. Wait till the repository loads successfully, search \lstinline{elegantbook} by name, installation and update is just a click away.
|
If you are a \TeX{} Live 2019 user, using the \lstinline{tlshell}\footnote{namely, \TeX{} Live Manager} of \TeX{} Live 2019 direct installation package is strongly recommended. Simply search and open \lstinline{tlshell}, click on \lstinline{File -> Load Default Repository} or customize repository by \lstinline{Options}. Wait till the repository loads successfully, search \lstinline{elegantbook} by name, installation and update is just a click away.
|
||||||
|
|
||||||
\begin{figure}[htbp]
|
\begin{figure}[htbp]
|
||||||
\centering
|
\centering
|
||||||
\includegraphics[width=0.7\textwidth]{tlshell.png}
|
\includegraphics[width=0.7\textwidth]{tlshell.png}
|
||||||
\caption{Use \TeX{} Live Shell to Install ElegantBook Template}
|
\caption{Use \TeX{} Live Shell to Install ElegantBook Template}
|
||||||
\end{figure}
|
\end{figure}
|
||||||
|
|
||||||
\subsection{Update Templates}
|
\subsection{Update Templates}
|
||||||
@@ -87,7 +90,7 @@ tlmgr update --self
|
|||||||
tlmgr update --all
|
tlmgr update --all
|
||||||
\end{lstlisting}
|
\end{lstlisting}
|
||||||
|
|
||||||
To learn more, please refer to {https://tex.stackexchange.com/questions/55437/how-do-i-update-my-tex-distribution}{How do I update my \TeX{} distribution?}
|
To learn more, please refer to \href{https://tex.stackexchange.com/questions/55437/how-do-i-update-my-tex-distribution}{How do I update my \TeX{} distribution?}
|
||||||
|
|
||||||
\subsection{Other Release Versions}
|
\subsection{Other Release Versions}
|
||||||
If you are a \TeX{} Live 2018 user and would like to update to \TeX{} Live 2019, the official solution is to uninstall 2018. If you want to save the bother of uninstallation and installation, please copy \lstinline{elegantbook.cls} to the installation directory of \TeX{} Live 2018 (default: \lstinline|C:\texlive\2018\texmf-dist\tex\latex\elegantbook| ), run \lstinline{texhash} in cmd.
|
If you are a \TeX{} Live 2018 user and would like to update to \TeX{} Live 2019, the official solution is to uninstall 2018. If you want to save the bother of uninstallation and installation, please copy \lstinline{elegantbook.cls} to the installation directory of \TeX{} Live 2018 (default: \lstinline|C:\texlive\2018\texmf-dist\tex\latex\elegantbook| ), run \lstinline{texhash} in cmd.
|
||||||
@@ -97,83 +100,83 @@ Excuse me? You are a C\TeX{} user? Sorry, this template is incompatible with C
|
|||||||
For more details about the installation and usage of \TeX{} Live 2019, the compatibility of C\TeX{} and \TeX{} Live, please refer to OG (Official Guide) and/or \href{https://github.com/OsbertWang/install_latex/releases}{Install LaTeX v5.1} by OsbertWang.
|
For more details about the installation and usage of \TeX{} Live 2019, the compatibility of C\TeX{} and \TeX{} Live, please refer to OG (Official Guide) and/or \href{https://github.com/OsbertWang/install_latex/releases}{Install LaTeX v5.1} by OsbertWang.
|
||||||
|
|
||||||
\section{User\rq s Selected Works Plan}
|
\section{User\rq s Selected Works Plan}
|
||||||
Eight years have passed since the found of Elegant\LaTeX{} Program. It\rq s an honor that our templates are preferred by a lot of users. Hence, in order to promote more interactions among our users and know more about what you need, we are planning to provide a platform to display selected works of our users on Github or our homepage. If you want to show us your work(s), contact us via Email or other ways. Or if you have upload your work(s) on Github or Gitee etc., share the URL(s) with us. Current available works are (\href{https://github.com/ElegantLaTeX/Archive/tree/master/Collections}).
|
Eight years have passed since the found of Elegant\LaTeX{} Program. It\rq s an honor that our templates are preferred by a lot of users. Hence, in order to promote more interactions among our users and know more about what you need, we are planning to provide a platform to display selected works of our users on Github or our homepage. If you want to show us your work(s), contact us via Email or other ways. Or if you have upload your work(s) on Github or Gitee etc., share the URL(s) with us. You can visit current available works \href{https://github.com/ElegantLaTeX/Archive/tree/master/Collections}{here}.
|
||||||
|
|
||||||
\section{About Pull Request}
|
\section{About Pull Request}
|
||||||
For some reasons, pull request is unacceptable since May 20, 2019. For those who want to help revise the templates, submit issues or clone to your own repository to modify under the constriction of LPPL-1.3c.
|
For some reasons, pull requests will NOT by accepted since May 20, 2019. For those who want to help improve the templates, submit issues or clone to your own repository to modify under LPPL-1.3c.
|
||||||
|
|
||||||
\section{Recruit Support Members}
|
\section{Recruit Support Members}
|
||||||
Recruit Support Members for Elegant\LaTeX{} to translate template OGs(Chinese -> English), maintain wiki entries using Markdown, update Wechat articles. No deadline for this recruitment.
|
Recruit support members for Elegant\LaTeX{} to translate template OGs, maintain wiki entries using Markdown, update Wechat articles. No deadline for this recruitment.
|
||||||
|
|
||||||
So far, Elegant\LaTeX{} has four Support Members:
|
So far, Elegant\LaTeX{} has four Support Members:
|
||||||
\begin{itemize}
|
\begin{itemize}
|
||||||
\item OG Translator: \href{https://github.com/peggy2006xzyz}{YPY};
|
\item OG Translator: \href{https://github.com/peggy2006xzyz}{YPY};
|
||||||
\item Wiki Maintainer: \href{https://github.com/izinngo}{Ingo Zinngo}, \href{https://github.com/xiaohao890809}{Xiaohao890809};
|
\item Wiki Maintainer: \href{https://github.com/izinngo}{Ingo Zinngo}, \href{https://github.com/xiaohao890809}{Xiaohao890809};
|
||||||
\item QQ Group Manager \& FAQ Maintainer: \href{https://github.com/sikouhjw}{Sikouhjw}.
|
\item QQ Group Manager \& FAQ Maintainer: \href{https://github.com/sikouhjw}{Sikouhjw}.
|
||||||
\end{itemize}
|
\end{itemize}
|
||||||
|
|
||||||
BTW, thank \href{https://github.com/stone-zeng}{Xiangdong Zeng}, \href{https://github.com/latexers}{Zhuluren},etc. for help.
|
BTW, thank \href{https://github.com/stone-zeng}{Xiangdong Zeng}, \href{https://github.com/latexers}{Zhuluren}, etc. for their help.
|
||||||
|
|
||||||
\section{Acknowledgement}
|
\section{Acknowledgement}
|
||||||
The number of stars on Github for ElegantBook reached 100 on May 20, 2019\footnote{189 stars by August 18, 2019!}.Thank China\TeX{} and \href{http://www.latexstudio.net/}{\LaTeX{} studio} for their promotion. \LaTeX{} studio offers tons of valuable posts and templates for discovery. It is the most comprehensive website on \LaTeX{} in China.
|
The number of stars on Github for ElegantBook reached 100 on May 20, 2019\footnote{372 stars by February 8, 2020!}.Thank China\TeX{} and \href{http://www.latexstudio.net/}{\LaTeX{} studio} for their promotion. \LaTeX{} studio offers tons of valuable posts and templates for discovery. It is the most comprehensive website on \LaTeX{} in China.
|
||||||
|
|
||||||
If you like our template, star on Github.
|
If you like our template, star on Github.
|
||||||
|
|
||||||
\section{Donation}
|
\section{Donation}
|
||||||
To express your love for our templates and/or our developers, please do not hesitate to tip us. Since last release of 3.08, we have received about 1,500 RMB! (The emergence of a millionaire is on the way. Loading... )
|
To express your love for our templates and/or our developers, please do not hesitate to tip us. Since last release of 3.08, we have received about 1,500 RMB! (The emergence of a millionaire is on the way. Loading... )
|
||||||
\begin{figure}[!htbp]
|
\begin{figure}[!htb]
|
||||||
\centering
|
\centering
|
||||||
\includegraphics[width=0.45\textwidth]{donate.jpg}
|
\includegraphics[width=0.45\textwidth]{donate.jpg}
|
||||||
\end{figure}
|
\end{figure}
|
||||||
|
|
||||||
The explanation right of the tip usage belongs to Elegant\LaTeX{} with no supervision. Feel free to tip us. Those who donate more than 10 RMB will be recorded in the Donation List. Thank all the tippers!
|
The explanation right of the tip usage belongs to Elegant\LaTeX{} with no supervision. Feel free to tip us. Those who donate more than 10 RMB will be recorded in the Donation List. Thank all the tippers!
|
||||||
|
|
||||||
\begin{table}[!htb]
|
\begin{table}[!htb]
|
||||||
\centering
|
\centering
|
||||||
\caption{Donation List}
|
\caption{Donation List}
|
||||||
\begin{tabular}{*{4}{>{\scriptsize}c}|*{4}{>{\scriptsize}c}}
|
\begin{tabular}{*{4}{>{\scriptsize}c}|*{4}{>{\scriptsize}c}}
|
||||||
\toprule
|
\toprule
|
||||||
\textbf{Tipper} & \textbf{Amount} & \textbf{Date} & \textbf{Channel} & \textbf{Tipper} & \textbf{Amount} & \textbf{Date} & \textbf{Channel} \\
|
\textbf{Tipper} & \textbf{Amount} & \textbf{Date} & \textbf{Channel} & \textbf{Tipper} & \textbf{Amount} & \textbf{Date} & \textbf{Channel} \\
|
||||||
\midrule
|
\midrule
|
||||||
Lerh & 10 RMB & 2019/05/15 & Wechat & yueguodipingxian & 10 RMB & 2019/05/15 & Wechat \\
|
Lerh & 10 RMB & 2019/05/15 & Wechat & yueguodipingxian & 10 RMB & 2019/05/15 & Wechat \\
|
||||||
yinsang & 20 RMB & 2019/05/27 & Wechat & *kong & 10 RMB & 2019/05/30 & Wechat \\
|
yinsang & 20 RMB & 2019/05/27 & Wechat & *kong & 10 RMB & 2019/05/30 & Wechat \\
|
||||||
latexstudio.net & 666 RMB & 2019/06/05 & Alipay & A*n & 40 RMB & 2019/06/15 & Wechat \\
|
latexstudio.net & 666 RMB & 2019/06/05 & Alipay & A*n & 40 RMB & 2019/06/15 & Wechat \\
|
||||||
* xia & 22 RMB & 2019/06/15 & Wechat & * qian & 21 RMB & 2019/06/15 & Wechat \\
|
* xia & 22 RMB & 2019/06/15 & Wechat & * qian & 21 RMB & 2019/06/15 & Wechat \\
|
||||||
Cassis & 11 RMB & 2019/06/30 & Wechat & * jun & 10 RMB & 2019/07/23 & Wechat \\
|
Cassis & 11 RMB & 2019/06/30 & Wechat & * jun & 10 RMB & 2019/07/23 & Wechat \\
|
||||||
P*u & 50 RMB & 2019/07/30 & Wechat & * meng & 19 RMB & 2019/08/28 & Wechat \\
|
P*u & 50 RMB & 2019/07/30 & Wechat & * meng & 19 RMB & 2019/08/28 & Wechat \\
|
||||||
Qu Doudou & 10 RMB & 2019/08/28 & Wechat & Li Bo & 100 RMB & 2019/10/06 & Wechat \\
|
Qu Doudou & 10 RMB & 2019/08/28 & Wechat & Li Bo & 100 RMB & 2019/10/06 & Wechat \\
|
||||||
Njustsll & 10 RMB & 2019/10/11 & Wechat & Liu Zhikuo & 99.99 RMB & 2019/10/15 & Alipay \\
|
Njustsll & 10 RMB & 2019/10/11 & Wechat & Liu Zhikuo & 99.99 RMB & 2019/10/15 & Alipay \\
|
||||||
* tao & 16 RMB & 2019/10/17 & Wechat & Chini & 12 RMB & 2019/10/17 & Alipay \\
|
* tao & 16 RMB & 2019/10/17 & Wechat & Chini & 12 RMB & 2019/10/17 & Alipay \\
|
||||||
zhuixunyuanfengjing & 10 RMB & 2019/10/28 & Wechat & Guo Deliang & 88 RMB & 2019/11/03 & Wechat \\
|
yuanfengjing & 10 RMB & 2019/10/28 & Wechat & Guo Deliang & 88 RMB & 2019/11/03 & Wechat \\
|
||||||
ziqiangbuxi & 20 RMB & 2019/11/04 & Alipay & dushuzhichong & 20 RMB & 2019/11/18 & Wechat \\
|
ziqiangbuxi & 20 RMB & 2019/11/04 & Alipay & dushuzhichong & 20 RMB & 2019/11/18 & Wechat \\
|
||||||
* deng & 10 RMB & 2019/11/18 & Wechat & * zhe & 20 RMB & 2019/11/18 & Wechat \\
|
* deng & 10 RMB & 2019/11/18 & Wechat & * zhe & 20 RMB & 2019/11/18 & Wechat \\
|
||||||
anonymous & 10 RMB & 2019/11/24 & Wechat & Jiye Qian & 66 RMB & 2019/12/04 & Wechat \\
|
anonymous & 10 RMB & 2019/11/24 & Wechat & Jiye Qian & 66 RMB & 2019/12/04 & Wechat \\
|
||||||
* yang & 20 RMB & 2019/12/05 & Wechat & Catcher & 11 RMB & 2019/12/08 & Alipay \\
|
* yang & 20 RMB & 2019/12/05 & Wechat & Catcher & 11 RMB & 2019/12/08 & Alipay \\
|
||||||
xierbotementu & 10 RMB & 2019/12/09 & Alipay & * wei & 10 RMB & 2019/12/09 & Wechat \\
|
xierbotementu & 10 RMB & 2019/12/09 & Alipay & * wei & 10 RMB & 2019/12/09 & Wechat \\
|
||||||
Simon & 20 RMB & 2019/12/11 & Alipay & liushangqianyi & 66.60 RMB & 2019/12/18 & Alipay \\
|
Simon & 20 RMB & 2019/12/11 & Alipay & liushangqianyi & 66.60 RMB & 2019/12/18 & Alipay \\
|
||||||
yu & 10 RMB & 2019/12/20 & Alipay & *chen & 15 RMB & 2019/12/20 & Wechat \\
|
yu & 10 RMB & 2019/12/20 & Alipay & *chen & 15 RMB & 2019/12/20 & Wechat \\
|
||||||
suifeng & 20 RMB & 2019/12/27 & Alipay & Ws & 23.30 RMB & 2019/12/28 & Wechat \\
|
suifeng & 20 RMB & 2019/12/27 & Alipay & Ws & 23.30 RMB & 2019/12/28 & Wechat \\
|
||||||
chuba & 100 RMB & 2020/01/02 & Alipay & p*e & 20 RMB & 2020/01/03 & Wechat \\
|
chuba & 100 RMB & 2020/01/02 & Alipay & p*e & 20 RMB & 2020/01/03 & Wechat \\
|
||||||
Shunmx & 100 RMB & 2020/01/03 & Wechat & hj & 10 RMB & 2020/01/03 & Wechat \\
|
Shunmx & 100 RMB & 2020/01/03 & Wechat & hj & 10 RMB & 2020/01/03 & Wechat \\
|
||||||
F*5 & 10 RMB & 2020/01/03 & Wechat & S*m & 20.20 RMB & 2020/01/03 & Wechat \\
|
F*5 & 10 RMB & 2020/01/03 & Wechat & S*m & 20.20 RMB & 2020/01/03 & Wechat \\
|
||||||
erdaiqingzhi & 13 RMB & 2020/01/14 & Alipay & *? & 66 RMB & 2020/01/15 & Wechat \\
|
erdaiqingzhi & 13 RMB & 2020/01/14 & Alipay & *? & 66 RMB & 2020/01/15 & Wechat \\
|
||||||
Mr. Xiong & 20 RMB & 2020/01/17 & Wechat & *bo & 15 RMB & 2020/01/18 & Wechat \\
|
Mr. Xiong & 20 RMB & 2020/01/17 & Wechat & *bo & 15 RMB & 2020/01/18 & Wechat \\
|
||||||
*zhe & 10 RMB & 2020/02/02 & Wechat & & & & \\
|
*zhe & 10 RMB & 2020/02/02 & Wechat & Jackie & 88.80 RMB & 2020/02/09 & Wechat \\
|
||||||
\bottomrule
|
\bottomrule
|
||||||
\end{tabular}%
|
\end{tabular}%
|
||||||
\label{tab:donation}%
|
\label{tab:donation}%
|
||||||
\end{table}%
|
\end{table}%
|
||||||
|
|
||||||
BTW, we provide Certificate of Donation for those who donated, tippers please leave your name(nickname) and email address for us to send the certificates.
|
BTW, we provide Certificate of Donation for those who donated, tippers please leave your name(nickname) and email address for us to send the certificates.
|
||||||
|
|
||||||
\begin{figure}[!htbp]
|
\begin{figure}[!htb]
|
||||||
\centering
|
\centering
|
||||||
\includegraphics[width=0.7\textwidth]{cert.jpg}
|
\includegraphics[width=0.7\textwidth]{cert.pdf}
|
||||||
\end{figure}
|
\end{figure}
|
||||||
|
|
||||||
\chapter{ElegantBook Settings}
|
\chapter{ElegantBook Settings}
|
||||||
|
|
||||||
This template is based on the Standard \LaTeX{} book class, so the options of book class work as well (Note that the option of papersize has no effect due to \lstinline{device} option). The default encoding is UTF-8 while \TeX{} Live is recommended. The test environment is Win10 + \TeX{} Live 2019, either \lstinline{PDFLaTeX} or \lstinline{XeLaTeX} works fine.
|
This template is based on the Standard \LaTeX{} book class, so the options of book class work as well (Note that the option of papersize has no effect due to \lstinline{device} option). The default encoding is UTF-8 while \TeX{} Live is recommended. The test environment is Win10 + \TeX{} Live 2019, either \hologo{pdfLaTeX} or \lstinline{XeLaTeX} works fine. \lstinline{XeLaTeX} is preferred for Chinese articles.
|
||||||
|
|
||||||
\section{Languages}
|
\section{Languages}
|
||||||
We defined one option named \lstinline{lang} which has two alternative values, \lstinline{lang=en} (default) and \lstinline{lang=cn}. Different values will alter the captions of figure/table, abstract name, refname, etc. You can use this option as
|
We defined one option named \lstinline{lang} which has two alternative values, \lstinline{lang=en} (default) and \lstinline{lang=cn}. Different values will alter the captions of figure/table, abstract name, refname, etc. You can use this option as
|
||||||
@@ -183,11 +186,11 @@ We defined one option named \lstinline{lang} which has two alternative values, \
|
|||||||
\end{lstlisting}
|
\end{lstlisting}
|
||||||
|
|
||||||
\begin{remark}
|
\begin{remark}
|
||||||
Chinese Characters are acceptable whenever \lstinline{lang=en} or \lstinline{lang=cn}. If you would like to include Chinese characters under (\lstinline{lstlisting}) environment, please use \lstinline{XeLaTeX} to compile.
|
Chinese Characters are acceptable whenever \lstinline{lang=en} or \lstinline{lang=cn}. If you would like to include Chinese characters under (\lstinline{lstlisting}) environment, please use \hologo{XeLaTeX} to compile.
|
||||||
\end{remark}
|
\end{remark}
|
||||||
|
|
||||||
\section{Device Mode Option}
|
\section{Device Mode Option}
|
||||||
The option for device (\lstinline{device}) was originally used in ElegantNote, now we include this option in ElegantBook\footnote{Pictures have to be modified accordingly} as well. Activate iPad mode in the following way\footnote{Default size: normal, A4 paper}:
|
The option for device (\lstinline{device}) was originally used in ElegantNote, now we include this option in ElegantBook\footnote{Pictures have to be modified accordingly.} as well. Activate iPad mode in the following way\footnote{Default size: normal, A4 paper.}:
|
||||||
\begin{lstlisting}
|
\begin{lstlisting}
|
||||||
\documentclass[pad]{elegantbook} %or
|
\documentclass[pad]{elegantbook} %or
|
||||||
\documentclass[device=pad]{elegantbook}
|
\documentclass[device=pad]{elegantbook}
|
||||||
@@ -206,37 +209,37 @@ This template contains 5 color themes, i.e. \textcolor{structure1}{\lstinline{gr
|
|||||||
\centering
|
\centering
|
||||||
\begin{tabular}{ccccccc}
|
\begin{tabular}{ccccccc}
|
||||||
\toprule
|
\toprule
|
||||||
& \textcolor{structure1}{green}
|
& \textcolor{structure1}{green}
|
||||||
& \textcolor{structure2}{cyan}
|
& \textcolor{structure2}{cyan}
|
||||||
& \textcolor{structure3}{blue}
|
& \textcolor{structure3}{blue}
|
||||||
& \textcolor{structure4}{gray}
|
& \textcolor{structure4}{gray}
|
||||||
& \textcolor{structure5}{black}
|
& \textcolor{structure5}{black}
|
||||||
& Main Environments\\
|
& Main Environments\\
|
||||||
\midrule
|
\midrule
|
||||||
structure & \makecell{{\color{structure1}\rule{1cm}{1cm}}}
|
structure & \makecell{{\color{structure1}\rule{1cm}{1cm}}}
|
||||||
& \makecell{{\color{structure2}\rule{1cm}{1cm}}}
|
& \makecell{{\color{structure2}\rule{1cm}{1cm}}}
|
||||||
& \makecell{{\color{structure3}\rule{1cm}{1cm}}}
|
& \makecell{{\color{structure3}\rule{1cm}{1cm}}}
|
||||||
& \makecell{{\color{structure4}\rule{1cm}{1cm}}}
|
& \makecell{{\color{structure4}\rule{1cm}{1cm}}}
|
||||||
& \makecell{{\color{structure5}\rule{1cm}{1cm}}}
|
& \makecell{{\color{structure5}\rule{1cm}{1cm}}}
|
||||||
& chapter section subsection \\
|
& chapter section subsection \\
|
||||||
main & \makecell{{\color{main1}\rule{1cm}{1cm}}}
|
main & \makecell{{\color{main1}\rule{1cm}{1cm}}}
|
||||||
& \makecell{{\color{main2}\rule{1cm}{1cm}}}
|
& \makecell{{\color{main2}\rule{1cm}{1cm}}}
|
||||||
& \makecell{{\color{main3}\rule{1cm}{1cm}}}
|
& \makecell{{\color{main3}\rule{1cm}{1cm}}}
|
||||||
& \makecell{{\color{main4}\rule{1cm}{1cm}}}
|
& \makecell{{\color{main4}\rule{1cm}{1cm}}}
|
||||||
& \makecell{{\color{main5}\rule{1cm}{1cm}}}
|
& \makecell{{\color{main5}\rule{1cm}{1cm}}}
|
||||||
& definition exercise problem \\
|
& definition exercise problem \\
|
||||||
second & \makecell{{\color{second1}\rule{1cm}{1cm}}}
|
second & \makecell{{\color{second1}\rule{1cm}{1cm}}}
|
||||||
& \makecell{{\color{second2}\rule{1cm}{1cm}}}
|
& \makecell{{\color{second2}\rule{1cm}{1cm}}}
|
||||||
& \makecell{{\color{second3}\rule{1cm}{1cm}}}
|
& \makecell{{\color{second3}\rule{1cm}{1cm}}}
|
||||||
& \makecell{{\color{second4}\rule{1cm}{1cm}}}
|
& \makecell{{\color{second4}\rule{1cm}{1cm}}}
|
||||||
& \makecell{{\color{second5}\rule{1cm}{1cm}}}
|
& \makecell{{\color{second5}\rule{1cm}{1cm}}}
|
||||||
& theorem lemma corollary\\
|
& theorem lemma corollary\\
|
||||||
third & \makecell{{\color{third1}\rule{1cm}{1cm}}}
|
third & \makecell{{\color{third1}\rule{1cm}{1cm}}}
|
||||||
& \makecell{{\color{third2}\rule{1cm}{1cm}}}
|
& \makecell{{\color{third2}\rule{1cm}{1cm}}}
|
||||||
& \makecell{{\color{third3}\rule{1cm}{1cm}}}
|
& \makecell{{\color{third3}\rule{1cm}{1cm}}}
|
||||||
& \makecell{{\color{third4}\rule{1cm}{1cm}}}
|
& \makecell{{\color{third4}\rule{1cm}{1cm}}}
|
||||||
& \makecell{{\color{third5}\rule{1cm}{1cm}}}
|
& \makecell{{\color{third5}\rule{1cm}{1cm}}}
|
||||||
& proposition\\
|
& proposition\\
|
||||||
\bottomrule
|
\bottomrule
|
||||||
\end{tabular}
|
\end{tabular}
|
||||||
\end{table}
|
\end{table}
|
||||||
@@ -253,15 +256,15 @@ If you want to customize the colors, please select \lstinline{nocolor} or use \l
|
|||||||
\subsection{Customized Cover}
|
\subsection{Customized Cover}
|
||||||
From v3.10, customized cover is allowed, you can choose or hide any element as you prefer. Current optional elements are:
|
From v3.10, customized cover is allowed, you can choose or hide any element as you prefer. Current optional elements are:
|
||||||
\begin{itemize}
|
\begin{itemize}
|
||||||
\item title: \lstinline{\title}
|
\item title: \lstinline{\title}
|
||||||
\item subtitle: \lstinline{\subtitle}
|
\item subtitle: \lstinline{\subtitle}
|
||||||
\item author: \lstinline{\author}
|
\item author: \lstinline{\author}
|
||||||
\item institute: \lstinline{\institute}
|
\item institute: \lstinline{\institute}
|
||||||
\item date: \lstinline{\date}
|
\item date: \lstinline{\date}
|
||||||
\item version: \lstinline{\version}
|
\item version: \lstinline{\version}
|
||||||
\item extra information: \lstinline{\extrainfo}
|
\item extra information: \lstinline{\extrainfo}
|
||||||
\item cover image: \lstinline{\cover}
|
\item cover image: \lstinline{\cover}
|
||||||
\item logo: \lstinline{\logo}
|
\item logo: \lstinline{\logo}
|
||||||
\end{itemize}
|
\end{itemize}
|
||||||
|
|
||||||
Besides, an extra command \lstinline{\bioinfo} is provided with two options--caption and content. For instance, if you want to display \lstinline{Username: 111520}, just type in
|
Besides, an extra command \lstinline{\bioinfo} is provided with two options--caption and content. For instance, if you want to display \lstinline{Username: 111520}, just type in
|
||||||
@@ -277,11 +280,11 @@ The cover image used in this template is from \href{https://pixabay.com/en/tea-t
|
|||||||
Aspect ratio of the logo is 1:1 in this guide, i.e. a square picture. To replace the logo, do remember to choose the appropriate picture.
|
Aspect ratio of the logo is 1:1 in this guide, i.e. a square picture. To replace the logo, do remember to choose the appropriate picture.
|
||||||
|
|
||||||
\subsection{Stylized Cover}
|
\subsection{Stylized Cover}
|
||||||
Want to use stylized cover? -- For instance, A4-sized PDF designed by Adobe Illustrator, please comment out \lstinline{\maketitle} and use \lstinline{pdfpages} to insert the cover. Similar for using \lstinline{titlepage}. If you would like to use the cover in version 2.x, please refer to \href{https://github.com/EthanDeng/etitlepage}{etitlepage}.
|
Want to use stylized cover?(For instance, A4-sized PDF designed by Adobe Illustrator) Please comment out \lstinline{\maketitle} and use \lstinline{pdfpages} to insert the cover. Similar for using \lstinline{titlepage}. If you would like to use the cover in version 2.x, please refer to \href{https://github.com/EthanDeng/etitlepage}{etitlepage}.
|
||||||
|
|
||||||
\section{Chapter Title Display Styles}
|
\section{Chapter Title Display Styles}
|
||||||
|
|
||||||
This template contains 2 sets of \textit{title display styles},\lstinline{hang}(default) and \lstinline{display} style. For the former, chapter title is displayed on a single line (\lstinline{hang}). For the latter, chapter title is displayed on a double line (\lstinline{display}).In this guide, we use \lstinline{hang} . To change display style
|
This template contains 2 sets of \textit{title display styles},\lstinline{hang}(default) and \lstinline{display} style. For the former, chapter title is displayed on a single line (\lstinline{hang}). For the latter, chapter title is displayed on a double line (\lstinline{display}).In this guide, we use \lstinline{hang} . To change display style, use:
|
||||||
\begin{lstlisting}
|
\begin{lstlisting}
|
||||||
\documentclass[hang]{elegantbook} %or
|
\documentclass[hang]{elegantbook} %or
|
||||||
\documentclass[titlestyle=hang]{elegantbook}
|
\documentclass[titlestyle=hang]{elegantbook}
|
||||||
@@ -307,7 +310,7 @@ In this template, we defined four different theorem class environments
|
|||||||
\end{itemize}
|
\end{itemize}
|
||||||
\item \textit{Example Environments}, including \textbf{example, exercise, problem} environment, auto numbering corresponding to chapter.
|
\item \textit{Example Environments}, including \textbf{example, exercise, problem} environment, auto numbering corresponding to chapter.
|
||||||
\item \textit{Proof Environment}, including \textbf{proof, note} environment containing introductory symbol (\textbf{note} environment) or ending symbol (\textbf{proof} environment).
|
\item \textit{Proof Environment}, including \textbf{proof, note} environment containing introductory symbol (\textbf{note} environment) or ending symbol (\textbf{proof} environment).
|
||||||
\item \textit{Conclusion Environments}, including \textbf{conclusion, assumption, property, remark, solution}\footnote{We also define an option \lstinline{result}, which can hide the \lstinline{solution} and \lstinline{proof} environments. You can switch between \lstinline{result=answer} and \lstinline{result=noanswer}} environment, all of which begin with boldfaced words, with format consistent with normal paragraphs.
|
\item \textit{Conclusion Environments}, including \textbf{conclusion, assumption, property, remark and solution}\footnote{We also define an option \lstinline{result}, which can hide the \lstinline{solution} and \lstinline{proof} environments. You can switch between \lstinline{result=answer} and \lstinline{result=noanswer}.} environments, all of which begin with boldfaced words, with format consistent with normal paragraphs.
|
||||||
\end{itemize}
|
\end{itemize}
|
||||||
|
|
||||||
\subsection{Theorem Class Environments}
|
\subsection{Theorem Class Environments}
|
||||||
@@ -428,10 +431,9 @@ To change the bibliography style, this version introduces \lstinline{bibstyle} w
|
|||||||
|
|
||||||
If you want to add a preface before the first chapter with the number of chapter unchanged, please add the preface in the following way:
|
If you want to add a preface before the first chapter with the number of chapter unchanged, please add the preface in the following way:
|
||||||
\begin{lstlisting}
|
\begin{lstlisting}
|
||||||
\chapter*{Preface}
|
\chapter*{Introduction}
|
||||||
\addcontentsline{toc}{chapter}{Preface}
|
\markboth{Introduction}{Introduction}
|
||||||
\markboth{Preface}{}
|
The content of introduction.
|
||||||
The content of Preface.
|
|
||||||
\end{lstlisting}
|
\end{lstlisting}
|
||||||
|
|
||||||
\section{Content Option and Depth}
|
\section{Content Option and Depth}
|
||||||
@@ -449,23 +451,23 @@ to make it 2.
|
|||||||
|
|
||||||
|
|
||||||
\section{Introduction Environment}
|
\section{Introduction Environment}
|
||||||
We create a introduction environment to display the structure of chapter. The basic useage is as follows
|
We create a introduction environment to display the structure of chapter. The basic useage is as follows:
|
||||||
\begin{lstlisting}
|
\begin{lstlisting}
|
||||||
\begin{introduction}
|
\begin{introduction}
|
||||||
\item Definition of Theorem
|
\item Definition of Theorem
|
||||||
\item Ask for help
|
\item Ask for help
|
||||||
\item Optimization Problem
|
\item Optimization Problem
|
||||||
\item Property of Cauchy Series
|
\item Property of Cauchy Series
|
||||||
\item Angle of Corner
|
\item Angle of Corner
|
||||||
\end{introduction}
|
\end{introduction}
|
||||||
\end{lstlisting}
|
\end{lstlisting}
|
||||||
you will get:
|
And you will get:
|
||||||
\begin{introduction}
|
\begin{introduction}
|
||||||
\item Definition of Theorem
|
\item Definition of Theorem
|
||||||
\item Ask for help
|
\item Ask for help
|
||||||
\item Optimization Problem
|
\item Optimization Problem
|
||||||
\item Property of Cauchy Series
|
\item Property of Cauchy Series
|
||||||
\item Angle of Corner
|
\item Angle of Corner
|
||||||
\end{introduction}
|
\end{introduction}
|
||||||
|
|
||||||
You can change the title of this environment by modifying the optional argument of this environment:
|
You can change the title of this environment by modifying the optional argument of this environment:
|
||||||
@@ -479,27 +481,27 @@ You can change the title of this environment by modifying the optional argument
|
|||||||
The environment \lstinline{problemset} is used at the end of each chapter to display corresponding exercises. Just type in the following sentences:
|
The environment \lstinline{problemset} is used at the end of each chapter to display corresponding exercises. Just type in the following sentences:
|
||||||
\begin{lstlisting}
|
\begin{lstlisting}
|
||||||
\begin{problemset}
|
\begin{problemset}
|
||||||
\item exercise 1
|
\item exercise 1
|
||||||
\item exercise 2
|
\item exercise 2
|
||||||
\item exercise 3
|
\item exercise 3
|
||||||
\end{problemset}
|
\end{problemset}
|
||||||
\end{lstlisting}
|
\end{lstlisting}
|
||||||
And you will get:
|
And you will get:
|
||||||
\begin{problemset}
|
\begin{problemset}
|
||||||
\item exercise 1
|
\item exercise 1
|
||||||
\item exercise 2
|
\item exercise 2
|
||||||
\item exercise 3
|
\item exercise 3
|
||||||
\item math equation test:
|
\item math equation test:
|
||||||
\begin{equation}
|
\begin{equation}
|
||||||
a^2+b^2=c_{2_{i}} (1,2) [1,23]
|
a^2+b^2=c_{2_{i}} (1,2) [1,23]
|
||||||
\end{equation}
|
\end{equation}
|
||||||
\end{problemset}
|
\end{problemset}
|
||||||
\begin{remark}
|
\begin{remark}
|
||||||
If you want to customize the title of \lstinline{problemset}, please change the optional argument like in introduction environment. In this version the \lstinline{problemset} environment automatically appears in the table of contents but not in the header or footer(to be fixed).
|
If you want to customize the title of \lstinline{problemset}, please change the optional argument like in introduction environment. In this version the \lstinline{problemset} environment automatically appears in the table of contents but not in the header or footer(to be fixed).
|
||||||
\end{remark}
|
\end{remark}
|
||||||
|
|
||||||
\begin{solution}
|
\begin{solution}
|
||||||
If you want to customize the title of \lstinline{problemset}, please change the optional argument like in introduction environment. In this version the \lstinline{problemset} environment automatically appears in the table of contents but not in the header or footer(to be fixed).
|
If you want to customize the title of \lstinline{problemset}, please change the optional argument like in introduction environment. In this version the \lstinline{problemset} environment automatically appears in the table of contents but not in the header or footer(to be fixed).
|
||||||
\end{solution}
|
\end{solution}
|
||||||
|
|
||||||
\section{Margin Notes}
|
\section{Margin Notes}
|
||||||
@@ -514,7 +516,7 @@ Note that text and equation are both available in the margin notes.
|
|||||||
% equation
|
% equation
|
||||||
\marginpar{
|
\marginpar{
|
||||||
\begin{equation}
|
\begin{equation}
|
||||||
a^2 + b^2 = c^2
|
a^2 + b^2 = c^2
|
||||||
\end{equation}
|
\end{equation}
|
||||||
}
|
}
|
||||||
\end{lstlisting}
|
\end{lstlisting}
|
||||||
@@ -524,18 +526,18 @@ For tables and figures, note that floating environment is not allowed. You have
|
|||||||
\begin{lstlisting}
|
\begin{lstlisting}
|
||||||
% graph with centerline command
|
% graph with centerline command
|
||||||
\marginpar{
|
\marginpar{
|
||||||
\centerline{
|
\centerline{
|
||||||
\includegraphics[width=0.2\textwidth]{logo.png}
|
\includegraphics[width=0.2\textwidth]{logo.png}
|
||||||
}
|
}
|
||||||
\captionof{figure}{your figure caption}
|
\captionof{figure}{your figure caption}
|
||||||
}
|
}
|
||||||
|
|
||||||
% graph with center environment
|
% graph with center environment
|
||||||
\marginpar{
|
\marginpar{
|
||||||
\begin{center}
|
\begin{center}
|
||||||
\includegraphics[width=0.2\textwidth]{logo.png}
|
\includegraphics[width=0.2\textwidth]{logo.png}
|
||||||
\captionof{figure}{your figure caption}
|
\captionof{figure}{your figure caption}
|
||||||
\end{center}
|
\end{center}
|
||||||
}
|
}
|
||||||
\end{lstlisting}
|
\end{lstlisting}
|
||||||
|
|
||||||
@@ -549,9 +551,9 @@ Leave one chapter to introduce fonts to help users to solve font problems conven
|
|||||||
\section{Math Fonts}
|
\section{Math Fonts}
|
||||||
This template defines a new command(\lstinline{math}), with three options:
|
This template defines a new command(\lstinline{math}), with three options:
|
||||||
\begin{enumerate}
|
\begin{enumerate}
|
||||||
\item \lstinline{math=cm}(default), use \LaTeX{} default math font (recommended).
|
\item \lstinline{math=cm}(default), use \LaTeX{} default math font (recommended).
|
||||||
\item \lstinline{math=newtx}, use \lstinline{newtxmath} math font (may bring about bugs).
|
\item \lstinline{math=newtx}, use \lstinline{newtxmath} math font (may bring about bugs).
|
||||||
\item \lstinline{math=mtpro2}, use \lstinline{mtpro2} package to set math font.
|
\item \lstinline{math=mtpro2}, use \lstinline{mtpro2} package to set math font.
|
||||||
\end{enumerate}
|
\end{enumerate}
|
||||||
|
|
||||||
\section{Use newtx fonts}
|
\section{Use newtx fonts}
|
||||||
@@ -641,9 +643,9 @@ Let $z$ be some element of $xH \cap yH$. Then $z = xa$ for some $a \in H$, and
|
|||||||
\end{proof}
|
\end{proof}
|
||||||
|
|
||||||
\begin{figure}[htbp]
|
\begin{figure}[htbp]
|
||||||
\centering
|
\centering
|
||||||
\includegraphics[width=0.6\textwidth]{scatter.pdf}
|
\includegraphics[width=0.6\textwidth]{scatter.pdf}
|
||||||
\caption{Matplotlib: Scatter Plot Example\label{fig:scatter}}
|
\caption{Matplotlib: Scatter Plot Example\label{fig:scatter}}
|
||||||
\end{figure}
|
\end{figure}
|
||||||
|
|
||||||
Regression analysis is a powerful statistical method that allows you to examine the relationship between two or more variables of interest. While there are many types of regression analysis, at their core they all examine the influence of one or more independent variables on a dependent variable. The process of performing a regression allows you to confidently determine which factors matter most, which factors can be ignored, and how these factors influence each other.
|
Regression analysis is a powerful statistical method that allows you to examine the relationship between two or more variables of interest. While there are many types of regression analysis, at their core they all examine the influence of one or more independent variables on a dependent variable. The process of performing a regression allows you to confidently determine which factors matter most, which factors can be ignored, and how these factors influence each other.
|
||||||
@@ -676,13 +678,13 @@ Let's continue using our application training example. In this case, we'd want t
|
|||||||
\lipsum[1-2]
|
\lipsum[1-2]
|
||||||
|
|
||||||
\begin{itemize}
|
\begin{itemize}
|
||||||
\item Routing and resource discovery;
|
\item Routing and resource discovery;
|
||||||
\begin{itemize}
|
\begin{itemize}
|
||||||
\item Language Models
|
\item Language Models
|
||||||
\item Vector Space Models
|
\item Vector Space Models
|
||||||
\end{itemize}
|
\end{itemize}
|
||||||
\item Resilient and scalable computer networks;
|
\item Resilient and scalable computer networks;
|
||||||
\item Distributed storage and search.
|
\item Distributed storage and search.
|
||||||
\end{itemize}
|
\end{itemize}
|
||||||
|
|
||||||
\begin{problemset}
|
\begin{problemset}
|
||||||
@@ -695,53 +697,50 @@ Let's continue using our application training example. In this case, we'd want t
|
|||||||
\chapter{FAQ}
|
\chapter{FAQ}
|
||||||
We list some FAQs for users to refer to:
|
We list some FAQs for users to refer to:
|
||||||
\begin{enumerate}
|
\begin{enumerate}
|
||||||
\item \question{Why option numbers for natbib fail to take effect in v3.07?}
|
\item \question{Why option numbers for natbib fail to take effect in v3.07?}
|
||||||
\answer{In v3.07, when \lstinline{gbt7714} is introduced, option \lstinline{authoryear} is incompatible with \lstinline{natbib}. In v3.08 and 3.09, \lstinline{numbers}, \lstinline{numbers}, \lstinline{super} and \lstinline{authoryear} are introduced.}
|
In v3.07, when \lstinline{gbt7714} is introduced, option \lstinline{authoryear} is incompatible with \lstinline{natbib}. In v3.08 and 3.09, \lstinline{numbers}, \lstinline{numbers}, \lstinline{super} and \lstinline{authoryear} are introduced.
|
||||||
\item \question{I want to customize font and background color.}
|
\item \question{I want to customize font and background color.}
|
||||||
\answer{Please use \lstinline{pagecolor} to change background color, refer to \href{https://tex.stackexchange.com/questions/278544/xcolor-what-is-the-equivalent-of-default-text-color}{this} to customize font.}
|
Please use \lstinline{pagecolor} to change background color, refer to \href{https://tex.stackexchange.com/questions/278544/xcolor-what-is-the-equivalent-of-default-text-color}{this} to customize font.
|
||||||
\item \lstinline[breaklines]{Package ctex Error: CTeX fontset `Mac' is unavailable.}
|
\item \question{Which version should I choose?}
|
||||||
\answer{Under Mac, please use \lstinline{XeLaTeX} for Chinese documents.}
|
Please use \href{https://github.com/ElegantLaTeX/ElegantBook/releases}{Latest Release} via GitHub or \TeX{} Live 2019.
|
||||||
\item \lstinline{! LaTeX Error: Unknown option `scheme=plain' for package `ctex'.}
|
\item \question{Which editor should I choose?}
|
||||||
\answer{Use \TeX{} Live 2019.}
|
You can use \TeX{} Live 2019 built-in \TeX works or \TeX Studio. You may refer to \href{https://github.com/EthanDeng/texworks-autocomplete}{\TeX{}works autocomplete}. \TeX{} Live 2019 + \TeX{}studio is strongly recommended. I myself use VS Code and Sublime Text. Related configurations can be found at \href{https://github.com/EthanDeng/vscode-latex}{vscode-latex} and \href{https://github.com/EthanDeng/sublime-text-latex}{sublime-text-latex}.
|
||||||
\item \question{Which version should I choose?}
|
\item \question{Hello, we want to use ElegantBook to write a book about machine learning and would like your authorization.}
|
||||||
\answer{Please use \href{https://github.com/ElegantLaTeX/ElegantBook/releases}{Latest Release} via GitHub or \TeX{} Live 2019.}
|
Feel free to use our templates by pointing out our copyright. For other issues, please refer to LPPL-1.3c. If you want to show us your work, share the URL with us afterwards.
|
||||||
\item \question{Which editor should I choose?}
|
\item \question{What is cross reference?}
|
||||||
\answer{You can use \TeX{} Live 2019 built-in \TeX works or \TeX Studio. You may refer to \href{https://github.com/EthanDeng/texworks-autocomplete}{\TeX{}works autocomplete}. \TeX{} Live 2019 + \TeX{}studio is strongly recommended. I myself use VS Code and Sublime Text. Related configurations can be found at \href{https://github.com/EthanDeng/vscode-latex}{vscode-latex} and \href{https://github.com/EthanDeng/sublime-text-latex}{sublime-text-latex}.}
|
This template is aimed at who are not a complete beginner for \LaTeX{}. Please learn more about \LaTeX{} before using this template.
|
||||||
\item \question{Hello, we want to use ElegantBook to write a book about machine learning and would like your authorization.}
|
\item \question{Is the language for code highlighting optional?}
|
||||||
\answer{Feel free to use our templates by pointing out our copyright. For other issues, please refer to LPPL-1.3c. If you want to show us your work, share the URL with us afterwards.}
|
Yes, \lstinline{listings} package is used in ElegantBook, hence language is optional(e.g. \lstinline{language=Python}). For global setting, use \lstinline{lstset}. For more information, please refer to package documentations.
|
||||||
\item \question{What is cross reference?}
|
\item \question{When will Beamer template (ElegantSlide or ElegantBeamer) forthcoming?}
|
||||||
\answer{This template is aimed at who are not a complete beginner for \LaTeX{}. Please learn more about \LaTeX{} before using this template.}
|
Since there is an excellent theme \href{https://github.com/matze/mtheme}{Metropolis}, a Beta theme PreElegantSlide is available in QQ group. Feel free to download. A formal version is forthcoming in this year or next year.
|
||||||
\item \question{Is the language for code highlighting optional?}
|
|
||||||
\answer{Yes, \lstinline{listings} package is used in ElegantBook, hence language is optional(e.g. \lstinline{language=Python}). For global setting, use \lstinline{lstset}. For more information, please refer to package documentations.}
|
|
||||||
\item \question{When will Beamer template (ElegantSlide or ElegantBeamer) forthcoming?}
|
|
||||||
\answer{Since there is an excellent theme \href{https://github.com/matze/mtheme}{Metropolis}, a Beta theme PreElegantSlide is available in QQ group. Feel free to download. A formal version is forthcoming in this year or next year.}
|
|
||||||
\end{enumerate}
|
\end{enumerate}
|
||||||
|
|
||||||
\chapter{Update History}
|
\chapter{Version History}
|
||||||
We revised our templates now and then. Nearly 100 submits and 16 releases for ElegantBook on GitHub.
|
We revised our templates now and then. This section shows the version story of ElegantBook. We have nearly 100 submits and 16 releases on GitHub since uploaded.
|
||||||
|
|
||||||
\datechange{2020/02/08}{release of v3.10}
|
\datechange{2020/02/10}{release of v3.10}
|
||||||
|
|
||||||
\begin{change}
|
\begin{change}
|
||||||
\item Introduce \lstinline{math} for math font, optional styles are Times-ish \lstinline{newtx}, Computer Modern-ish \lstinline{cm}. \textbf{Notice}: The math font \lstinline{newtxmath} in previous versions is reset to default \LaTeX{} math font, to keep previous math font, please declare \lstinline{math=newtx}.
|
\item Introduce \lstinline{math} for math font, optional styles are \lstinline{newtx} and \lstinline{cm}.\\
|
||||||
\item Introduce \lstinline{chinesefont} for Chinese font, optional fonts are \lstinline{founder}, \lstinline{ctexfont} and \lstinline{nofont}.
|
\textbf{Notice}: The math font \lstinline{newtxmath} in previous versions is reset to default \LaTeX{} math font, to keep previous math font, please declare \lstinline{math=newtx}.
|
||||||
\item Turn author information on the cover optional and add customized command \lstinline{\bioinfo}.
|
\item Introduce \lstinline{chinesefont} option, with \lstinline{founder}, \lstinline{ctexfont} and \lstinline{nofont} available.
|
||||||
\item Add version time line in this documentation with command \lstinline{\datechange} and environment \lstinline{change}.
|
\item Turn author information on the cover optional and add customized command \lstinline{\bioinfo}.
|
||||||
\item Add Chinese chapter style \lstinline{scheme} with option \lstinline{chinese}.
|
\item Add version history with command \lstinline{\datechange} and environment \lstinline{change}.
|
||||||
\item Since the bug raised by \lstinline{\lvert} is fixed, exchange package positions of \lstinline{ctex} and \lstinline{amsmath}.
|
\item Add Chinese chapter style \lstinline{scheme} with option \lstinline{chinese}.
|
||||||
\item Revise header settings by dropping \lstinline{\lastpage} to avoid page anchor bug and adding \lstinline{\frontmatter}.
|
\item Since the bug raised by \lstinline{\lvert} is fixed, exchange package positions of \lstinline{ctex} and \lstinline{amsmath}.
|
||||||
\item Revise bibliography option \lstinline{cite} with optional styles \lstinline{number},\lstinline{authoryear} and \lstinline{super}.
|
\item Drop \lstinline{\lastpage} from header to avoid page anchor bug and adding \lstinline{\frontmatter}.
|
||||||
\item Introduce bibliography style option \lstinline{bibstyle}, with default style \lstinline{apalike} for English and \lstinline{gbt7714} for Chinese.
|
\item Revise bibliography option \lstinline{cite} with optional styles \lstinline{numbers},\lstinline{authoryear} and \lstinline{super}.
|
||||||
|
\item Introduce bibliography style option \lstinline{bibstyle}, with default bib style \lstinline{apalike} for English mode and \lstinline{gbt7714} package for Chinese mode.
|
||||||
\end{change}
|
\end{change}
|
||||||
|
|
||||||
\datechange{2019/08/18}{release of v3.09}
|
\datechange{2019/08/18}{release of v3.09}
|
||||||
|
|
||||||
\begin{change}
|
\begin{change}
|
||||||
\item Remove \lstinline{\elegantpar} temporary and remind users to use \lstinline{\marginnote} and \lstinline{\marginpar} instead.
|
\item Remove \lstinline{\elegantpar} temporary and remind users to use \lstinline{\marginnote} and \lstinline{\marginpar} instead.
|
||||||
\item Use \lstinline{esint} to display integral operator.
|
\item Use \lstinline{esint} to display integral operator.
|
||||||
\item Add new command \lstinline{toc}, with options \lstinline{onecol} and \lstinline{twocol}.
|
\item Add new command \lstinline{toc}, with options \lstinline{onecol} and \lstinline{twocol}.
|
||||||
\item Add new option \lstinline{cite} \lstinline{super} for superscript-displayed citation.
|
\item Add new option \lstinline{cite} \lstinline{super} for superscript-displayed citation.
|
||||||
\item Revise \lstinline{problemset}.
|
\item Revise \lstinline{problemset}.
|
||||||
\end{change}
|
\end{change}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -162,7 +162,7 @@
|
|||||||
\ifcsname fangsong\endcsname
|
\ifcsname fangsong\endcsname
|
||||||
\newcommand{\cfs}{\fangsong}
|
\newcommand{\cfs}{\fangsong}
|
||||||
\else
|
\else
|
||||||
\newcommand{\cfs}{\sffamily}
|
\newcommand{\cfs}{\normalfont}
|
||||||
\fi
|
\fi
|
||||||
|
|
||||||
\RequirePackage{newtxtext}
|
\RequirePackage{newtxtext}
|
||||||
@@ -648,7 +648,7 @@
|
|||||||
\par}
|
\par}
|
||||||
|
|
||||||
\newenvironment{solution}{\par\noindent\textbf{\color{main}\solutionname} \citshape}{\par}
|
\newenvironment{solution}{\par\noindent\textbf{\color{main}\solutionname} \citshape}{\par}
|
||||||
\newenvironment{remark}{\noindent\textbf{\color{second}\remarkname\citshape} \citshape}{\par}
|
\newenvironment{remark}{\noindent\textbf{\color{second}\remarkname}}{\par}
|
||||||
\newenvironment{assumption}{\par\noindent\textbf{\color{third}\assumptionname} \citshape}{\par}
|
\newenvironment{assumption}{\par\noindent\textbf{\color{third}\assumptionname} \citshape}{\par}
|
||||||
\newenvironment{conclusion}{\par\noindent\textbf{\color{third}\conclusionname} \citshape}{\par}
|
\newenvironment{conclusion}{\par\noindent\textbf{\color{third}\conclusionname} \citshape}{\par}
|
||||||
\newenvironment{property}{\par\noindent\textbf{\color{third}\propertyname} \citshape}{\par}
|
\newenvironment{property}{\par\noindent\textbf{\color{third}\propertyname} \citshape}{\par}
|
||||||
|
|||||||
BIN
image/cert.jpg
BIN
image/cert.jpg
Binary file not shown.
|
Before Width: | Height: | Size: 138 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 20 KiB |
Reference in New Issue
Block a user