summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/elegantnote/elegantnote-cn.tex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-12-09 03:01:30 +0000
committerNorbert Preining <norbert@preining.info>2019-12-09 03:01:30 +0000
commitd1cebb67c836ee110bdbd3aeb622675df479c993 (patch)
tree173421290b36cb9fc36caebc2eaebd0dcf9e2eba /macros/latex/contrib/elegantnote/elegantnote-cn.tex
parent1145b1140897e4557181755793cb5998f8255f2c (diff)
CTAN sync 201912090301
Diffstat (limited to 'macros/latex/contrib/elegantnote/elegantnote-cn.tex')
-rw-r--r--macros/latex/contrib/elegantnote/elegantnote-cn.tex282
1 files changed, 184 insertions, 98 deletions
diff --git a/macros/latex/contrib/elegantnote/elegantnote-cn.tex b/macros/latex/contrib/elegantnote/elegantnote-cn.tex
index 6f1254b264..e4316dc12e 100644
--- a/macros/latex/contrib/elegantnote/elegantnote-cn.tex
+++ b/macros/latex/contrib/elegantnote/elegantnote-cn.tex
@@ -1,110 +1,136 @@
%!TEX program = xelatex
-\documentclass[geye,green,pad,cn]{elegantnote}
+\documentclass[cn,hazy,blue,screen,14pt]{elegantnote}
\title{ElegantNote:一个优美的 \LaTeX{} 笔记模板}
-\author{\href{https://ddswhu.me/}{邓东升}}
-\institute{\href{https://elegantlatex.org/}{Elegant\LaTeX{} Program}}
-\version{2.10}
-\date{2019 年 2 月 3 日}
+\author{邓东升}
+\institute{Elegant\LaTeX{} Program}
+
+\version{2.20}
+\date{\zhtoday}
+
\begin{document}
+
\maketitle
-% logo
-\centerline{\includegraphics[width=0.25\textwidth]{logo.pdf}}
-\section{模板设计}
-此模板设计的初衷是为了记录笔记,在 2013 年开始构想,初版我们设计了非常美观的定理环境,并设计了 3 套不同的颜色主题。但我们发现在实际记笔记的时候,过多的定理区块使得整个文章并不是非常美观,所以我们把 ElegantNote 更新为 ElegantBook 模板,在后面被用户熟知。而 ElegantNote 的设计自此停止。
+\centerline{
+ \includegraphics[width=0.2\textwidth]{logo-blue.png}
+}
+
-2018 年,在被一些用户“催更”之后,ElegantBook 迎来重大更新,原先浮动的定理环境用 tcolorbox 全部改写。时至今日,ElegantBook 版本为 3.05。之后,我们便想把 ElegantNote 也彻底更新下,放弃 ElegantBook 中的定理环境设计,改用更为紧凑,更加朴素的定理环境,设计更适合笔记记录和笔记阅读的 \LaTeX{} 模板。
+\section{ElegantNote 使用说明}
-在一些朋友的建议和启发下,我们基于标准的 \LaTeX{} 文类 article 重新设计了新版 ElegantNote 模板,在此特别感谢!新模板有下面几个特性:
+新版 ElegantNote 是基于标准的 \LaTeX{} 文类 article 重新设计的,格式更加简化的笔记模板!本模板支持两种编译方式,\hologo{pdfLaTeX} 和 \hologo{XeLaTeX}\footnote{模板测试环境为 Win10 + \TeX{} Live 2019。},英文模式下请使用 \hologo{pdfLaTeX} 进行编译,中文模式下推荐使用 \hologo{XeLaTeX}。
+
+新模板有下面几个特性:
\begin{itemize}
-\item 添加护眼模式,颜色为绿豆沙颜色,默认为白色背景;
-\item 适配不同设备,包括 Pad(默认),Kindle,PC(双页),通用(A4);
-\item 5 套颜色主题,分别是:\textcolor{egreen}{green}(默认),\textcolor{ecyan}{cyan}, \textcolor{eblue}{blue}, \textcolor{sakura}{sakura}, \textcolor{black}{black};
-\item 语言模式支持:中文(默认),英文;
-\item 支持 \lstinline{PDFLaTeX} 和 \lstinline{XeLaTeX} 编译;
-\item 更加美观的图表标题格式,列表环境,数学字体等。
+ \item 纸张模式:朦胧模式(hazy)和护眼模式(geye);
+ \item 适配不同设备,包括 Pad(默认),Screen\footnote{\textcolor{red}{本次更新新增内容。}}(幻灯片),Kindle,PC(双页),通用(A4 纸张);
+ \item 5 套颜色主题,分别是:\textcolor{eblue}{blue}(默认)、\textcolor{egreen}{green}、\textcolor{ecyan}{cyan}、 \textcolor{sakura}{sakura} 和 \textcolor{black}{black};
+ \item 语言支持:中文(默认),英文;
+ \item 支持 \hologo{pdfLaTeX} 和 \hologo{XeLaTeX} 编译;
+ \item 更加美观的图表标题格式,列表环境,数学字体等;
+ \item 全局字体大小支持:8pt, 9pt, 10pt, 11pt, 12pt, 14pt, 17pt, 和 20pt。
\end{itemize}
-\subsection{护眼模式}
-本模板增加了护眼模式,默认为不开启,开启的方法如下:
+
+\subsection{模板模式}
+
+本模板增加了模式选项,分别有护眼模式(\lstinline{mode=geye})和朦胧模式(\lstinline{mode=hazy})。其中护眼模式设置纸张底色为绿豆沙颜色,而朦胧模式为淡蓝色,开启的方法如下:
\begin{lstlisting}[frame=none]
-\documentclass[geye]{elegantnote} % 或者
-\documentclass[mode=geye]{elegantnote}
+ \documentclass[geye]{elegantnote} % or
+ \documentclass[mode=geye]{elegantnote}
+ \documentclass[hazy]{elegantnote} % or
+ \documentclass[mode=hazy]{elegantnote}
\end{lstlisting}
\begin{remark}
-此次更新只添加了护眼模式(绿豆沙色背景),如果您有希望增加其他颜色,可以在 \href{https://github.com/ElegantLaTeX/ElegantNote}{Github/ElegantNote} 创建 issues 或者提交 pull request。
+ 如果你想为自己的文档添加底色,可以在导言区添加下面设置:
+ \begin{lstlisting}
+ \definecolor{geyecolor}{RGB}{199,237,204}
+ \pagecolor{geyecolor}
+ \end{lstlisting}
\end{remark}
+
\subsection{设备选择}
-为了让笔记方便在不同设备上阅读,免去切边,缩放等操作,本模板适配不同的屏幕大小,分别为 Pad,Kindle,PC,A4。不同屏幕的选择为
+
+为了让笔记方便在不同设备上阅读,免去切边,缩放等操作,本模板适配不同的设备,分别为 Pad(默认),Kindle,PC,A4。
+
+\textcolor{red}{\kaishu 新增}:为了方便展示笔记,2.40 版本新增了 \lstinline{device=screen} 设备选项,大小为 MS Powerpoint 的纸张大小,比例为 4:3(2019/12/06)。
+
+不同屏幕的选择为
\begin{lstlisting}[frame=none]
-\documentclass[device=pad]{elegantnote}
-\documentclass[device=kindle]{elegantnote}
-\documentclass[device=pc]{elegantnote}
-\documentclass[device=normal]{elegantnote}
+ \documentclass[device=pad]{elegantnote} % ipad screen size
+ \documentclass[device=kindle]{elegantnote} % kindle screen size
+ \documentclass[device=pc]{elegantnote} % double pages for pc
+ \documentclass[device=normal]{elegantnote} % a4 normal page
+ \documentclass[device=screen]{elegantnote} % 4:3 PPT size
\end{lstlisting}
\begin{note}
也可以采取直接赋值的方法选择屏幕,比如:
\end{note}
-
\begin{lstlisting}[frame=none]
-\documentclass[pad]{elegantnote}
-\documentclass[kindle]{elegantnote}
-\documentclass[pc]{elegantnote}
-\documentclass[normal]{elegantnote}
+ \documentclass[pad]{elegantnote}
+ \documentclass[kindle]{elegantnote}
+ \documentclass[pc]{elegantnote}
+ \documentclass[normal]{elegantnote}
+ \documentclass[screen]{elegantnote}
\end{lstlisting}
\begin{note}
-如果想要得到普通的 A4 纸张大小的 PDF,需要选择 \lstinline{device=normal},而不是选择 \lstinline{device=pc},因为 \lstinline{device=pc} 实际上设置的是电脑双页模式。
+ 如果想要正常的 A4 大小的 PDF,需要选择 \lstinline{device=normal}。
\end{note}
-\subsection{颜色主题}
-本模板内置 5 套颜色主题,分别是 \textcolor{egreen}{green},\textcolor{ecyan}{cyan}, \textcolor{eblue}{blue}, \textcolor{sakura}{sakura}, \textcolor{black}{black}。其中 green 为默认颜色主题,如果用户不需要彩色,可以选择 black 主题。颜色主题的启用方法和之前一样:
+
+
+\subsection[颜色主题]{颜色主题\footnote{测试章节脚注。}}
+
+本模板内置 5 套颜色主题,分别是 \textcolor{eblue}{blue}(默认),\textcolor{egreen}{green}, \textcolor{ecyan}{cyan}, \textcolor{sakura}{sakura}, \textcolor{black}{black}。如果不需要颜色,可以选择黑色(black)主题。颜色主题的设置方法:
\begin{lstlisting}[frame=none]
-\documentclass[green]{elegantnote}
-\documentclass[color=green]{elegantnote}
-...
-\documentclass[black]{elegantnote}
-\documentclass[color=black]{elegantnote}
+ \documentclass[green]{elegantnote}
+ \documentclass[color=green]{elegantnote}
+ ...
+ \documentclass[black]{elegantnote}
+ \documentclass[color=black]{elegantnote}
\end{lstlisting}
+
\subsection{语言模式}
+
本模板内含两套语言环境,改变语言环境会改变图表标题的引导词(图,表),文章结构词(比如目录,参考文献等),以及定理环境中的引导词(比如定理,引理等)。不同语言模式的启用如下:
\begin{lstlisting}[frame=none]
-\documentclass[cn]{elegantnote} % 中文模式
-\documentclass[lang=cn]{elegantnote}
-\documentclass[en]{elegantnote} % 英文模式
-\documentclass[lang=en]{elegantnote}
+ \documentclass[cn]{elegantnote}
+ \documentclass[lang=cn]{elegantnote}
+ \documentclass[en]{elegantnote}
+ \documentclass[lang=en]{elegantnote}
\end{lstlisting}
+
\begin{note}
-不管选用中文环境还是英文环境均可输入中文。另外如果在笔记中使用了抄录环境(\lstinline{lstlisting}),并且其中包括了中文,请务必使用 \lstinline{XeLaTeX} 编译。本说明文档也只能通过 \lstinline{XeLaTeX} 编译。
+只有中文模式才可输入中文,如果需要在英文模式下输入中文,可以自行添加 \lstinline{ctex} 宏包\footnote{需要使用 \lstinline{scheme=plain} 选项才不会把标题改为中文。}或者使用 \lstinline{xeCJK} 宏包设置字体。另外如果在笔记中使用了抄录环境(\lstinline{lstlisting}),并且里面有中文字符,请务必使用 \hologo{XeLaTeX} 编译。
\end{note}
-\subsection{编译方式}
-
-本模板支持两种编译方式,\lstinline{PDFLaTeX} 和 \lstinline{XeLaTeX},选用 \lstinline{PDFLaTeX} 编译的话,如果用到了中文,则会调用 \lstinline{ctex} 宏包,而如果选用 \lstinline{XeLaTeX} 编译的话,则会调用 \lstinline{xeCJK} 宏包。模板测试环境为 Win10 + \TeX{} Live 2018,设定的字体为 Windows 中的宋体、楷体、黑体、微软雅黑等。如果你的电脑是 Mac/Linux 系统,而且采用 \lstinline{XeLaTeX} 编译的话,请把 \lstinline{elegantnote.cls} 中字体改为自己系统的字体。
\subsection{定理类环境}
+
此模板采用了 \lstinline{amsthm} 中的定理样式,使用了 4 类定理样式,所包含的环境分别为
\begin{itemize}
-\item \textbf{定理类}:theorem,lemma,proposition,corollary;
-\item \textbf{定义类}:definition,conjecture,example;
-\item \textbf{备注类}:remark,note,case;
-\item \textbf{证明类}:proof。
+ \item \textbf{定理类}:theorem,lemma,proposition,corollary;
+ \item \textbf{定义类}:definition,conjecture,example;
+ \item \textbf{备注类}:remark,note,case;
+ \item \textbf{证明类}:proof。
\end{itemize}
\begin{remark}
在选用 \lstinline{lang=cn} 时,定理类环境的引导词全部会改为中文。
\end{remark}
+
\section{写作示例}
我们将通过三个步骤定义可测函数的积分。首先定义非负简单函数的积分。以下设 $E$ 是 $\mathcal{R}^n$ 中的可测集。
\begin{definition}[可积性]
-设 $ f(x)=\sum\limits_{i=1}^{k} a_i \chi_{A_i}(x)$ 是 $E$ 上的非负简单函数,其中 $\{A_1,A_2,\ldots,A_k\}$ 是 $E$ 上的一个可测分割,$a_1,a_2,\ldots,a_k$ 是非负实数。定义 $f$ 在 $E$ 上的积分为
+设 $ f(x)=\sum\limits_{i=1}^{k} a_i \chi_{A_i}(x)$ 是 $E$ 上的非负简单函数,其中 $\{A_1,A_2,\ldots$, $A_k\}$ 是 $E$ 上的一个可测分割,$a_1,a_2,\ldots,a_k$ 是非负实数。定义 $f$ 在 $E$ 上的积分为
\begin{equation}
\label{inter}
\int_{E} f dx = \sum_{i=1}^k a_i m(A_i).
@@ -113,17 +139,36 @@
\end{definition}
一个自然的问题是,Lebesgue 积分与我们所熟悉的 Riemann 积分有什么联系和区别?之后我们将详细讨论 Riemann 积分与 Lebesgue 积分的关系。这里只看一个简单的例子。设 $D(x)$ 是区间 $[0,1]$ 上的 Dirichlet 函数。即 $D(x)=\chi_{Q_0}(x)$,其中 $Q_0$ 表示 $[0,1]$ 中的有理数的全体。根据非负简单函数积分的定义,$D(x)$ 在 $[0,1]$ 上的 Lebesgue 积分为
-\begin{equation}
- \label{inter2}
- \int_0^1 D(x)dx = \int_0^1 \chi_{Q_0} (x) dx = m(Q_0) = 0
+\begin{equation}\label{inter2}
+ \int_0^1 D(x)dx = \int_0^1 \chi_{Q_0} (x) dx = m(Q_0) = 0
\end{equation}
即 $D(x)$ 在 $[0,1]$ 上是 Lebesgue 可积的并且积分值为零。但 $D(x)$ 在 $[0,1]$ 上不是 Riemann 可积的。
+\begin{table}[htbp]
+ \centering
+ \small
+ \caption{燃油效率与汽车价格}
+ \begin{tabular}{lcc}
+ \toprule
+ & (1) & (2) \\
+ \midrule
+ 燃油效率 & -238.90*** & -49.51 \\
+ & (53.08) & (86.16) \\
+ 汽车重量 & & 1.75*** \\
+ & & (0.641) \\
+ 常数项 & 11253.00*** & 1946.00 \\
+ & (1171.00) & (3597.00) \\
+ 观测数 & 74 & 74 \\
+ $R^2$ & 0.220 & 0.293 \\
+ \bottomrule
+ \end{tabular}%
+ \label{tab:reg}%
+\end{table}%
+
\begin{theorem}[Fubini 定理]\label{thm:fubi}
若 $f(x,y)$ 是 $\mathcal{R}^p\times\mathcal{R}^q$ 上的非负可测函数,则对几乎处处的 $x\in \mathcal{R}^p$,$f(x,y)$ 作为 $y$ 的函数是 $\mathcal{R}^q$ 上的非负可测函数,$g(x)=\int_{\mathcal{R}^q}f(x,y) dy$ 是 $\mathcal{R}^p$ 上的非负可测函数。并且
-\begin{equation}
- \label{eq:461}
- \int_{\mathcal{R}^p\times\mathcal{R}^q} f(x,y) dxdy=\int_{\mathcal{R}^p}\left(\int_{\mathcal{R}^q}f(x,y)dy\right)dx.
+\begin{equation}\label{eq:461}
+ \int_{\mathcal{R}^p\times\mathcal{R}^q} f(x,y) dxdy=\int_{\mathcal{R}^p}\left(\int_{\mathcal{R}^q}f(x,y)dy\right)dx.
\end{equation}
\end{theorem}
@@ -131,66 +176,107 @@
Let $z$ be some element of $xH \cap yH$. Then $z = xa$ for some $a \in H$, and $z = yb$ for some $b \in H$. If $h$ is any element of $H$ then $ah \in H$ and $a^{-1}h \in H$, since $H$ is a subgroup of $G$. But $zh = x(ah)$ and $xh = z(a^{-1}h)$ for all $h \in H$. Therefore $zH \subset xH$ and $xH \subset zH$, and thus $xH = zH$. Similarly $yH = zH$, and thus $xH = yH$, as required.
\end{proof}
-\begin{figure}[!htbp]
- \centering
- \includegraphics[width=0.6\textwidth]{scatter.pdf}
- \caption{Matplotlib: Scatter Plot Example\label{fig:mpg}}
+
+回归分析(regression analysis) 是确定两种或两种以上变量间相互依赖的定量关系的一种统计分析方法。根据定理~\ref{thm:fubi},其运用十分广泛,回归分析按照涉及的变量的多少,分为一元回归和多元回归分析;按照因变量的多少,可分为简单回归分析和多重回归分析;按照自变量和因变量之间的关系类型,可分为线性回归分析和非线性回归分析。
+
+
+\section{协作人员招募}
+
+招募 Elegant\LaTeX{} 的协作人员,没有工资。工作内容:翻译 Elegant\LaTeX{} 系列模板相关的文稿(中翻英),维护模板的 wiki(主要涉及 Markdown),如果有公众号文稿写作经历的话,也可以帮忙写微信稿。本公告长期有效。
+
+目前 ElegantLaTeX 共有 4 名协作人员,分别是
+\begin{itemize}
+ \item 官方文档翻译: \href{https://github.com/peggy2006xzyz}{YPY};
+ \item Github 维基维护: \href{https://github.com/izinngo}{Ingo Zinngo}、\href{https://github.com/xiaohao890809}{追寻原风景};
+ \item QQ 群管理员: \href{https://github.com/sikouhjw}{Sikouhjw}.
+\end{itemize}
+
+在此感谢他们无私的奉献!
+
+
+\section{致谢}
+
+截止到 2019 年 12 月 08 日,ElegantNote 2.40 版本发布,ElegantNote 模板在 Github 上的收藏数(star)达到了 176。在此特别感谢 China\TeX{} 以及 \href{http://www.latexstudio.net/}{\LaTeX{} 工作室}对于本系列模板的大力宣传与推广。
+
+如果你喜欢我们的模板,你可以在 Github 上收藏(Star)我们的模板。
+\begin{figure}[htbp]
+ \centering
+ \includegraphics[width=\textwidth]{star.png}
+ \caption{一键三连求赞}
\end{figure}
-回归分析(regression analysis) 是确定两种或两种以上变量间相互依赖的定量关系的一种统计分析方法。根据定理~ \ref{thm:fubi},其运用十分广泛,回归分析按照涉及的变量的多少,分为一元回归和多元回归分析;按照因变量的多少,可分为简单回归分析和多重回归分析;按照自变量和因变量之间的关系类型,可分为线性回归分析和非线性回归分析。
-但是由于绝对值不易作解析运算,因此,进一步用残差平方和函数来度量总偏差。偏差的平方和最小可以保证每个偏差都不会很大。于是问题归结为确定拟合函数中的常数和使残差平方和函数最小。
-
+\section{捐赠}
+
+如果您非常喜爱我们的模板,你还可以选择捐赠以表达您对我们模板和我的支持!
+
+\begin{figure}[htbp]
+ \centering
+ \includegraphics[width=0.4\textwidth]{donate.jpg}
+\end{figure}
+
+\textbf{赞赏费用的使用解释权归 Elegant\LaTeX{} 所有,并且不接受监督,请自愿理性打赏}。10 元以上的赞赏,我们将列入捐赠榜,并且发放捐赠纪念证(全部),谢谢各位金主!
\begin{table}[htbp]
- \small
\centering
- \caption{燃油效率与汽车价格}
- \begin{tabular}{lcc}
+ \caption{Elegant\LaTeX{} 系列模板捐赠榜}
+ \begin{tabular}{cccccccc}
\toprule
- & (1) & (2) \\
+ \textbf{捐赠者} & \textbf{金额} & \textbf{时间} & \textbf{渠道} & \textbf{捐赠者} & \textbf{金额} & \textbf{时间} & \textbf{渠道} \\
\midrule
- 燃油效率 & -238.90*** & -49.51 \\
- & (53.08) & (86.16) \\
- 汽车重量 & & 1.75*** \\
- & & (0.641) \\
- 常数项 & 11,253*** & 1,946 \\
- & (1,171) & (3,597) \\
- 观测数 & 74 & 74 \\
- $R^2$ & 0.220 & 0.293 \\
+ Lerh & 10 RMB & 2019/5/15 & 微信 & 刘志阔 & 99.99 RMB & 2019/10/15 & 支付宝 \\
+ 越过地平线 & 10 RMB & 2019/5/15 & 微信 & *涛 & 16 RMB & 2019/10/17 & 微信 \\
+ 银桑 & 20 RMB & 2019/5/27 & 微信 & 赤霓 & 12 RMB & 2019/10/17 & 支付宝 \\
+ *空 & 10 RMB & 2019/5/30 & 微信 & 追寻原风景 & 10 RMB & 2019/10/28 & 微信 \\
+ latexstudio.net & 666 RMB & 2019/6/5 & 支付宝 & 郭德良 & 88 RMB & 2019/11/3 & 微信 \\
+ Cassis & 11 RMB & 2019/6/30 & 微信 & 自强不息 & 20 RMB & 2019/11/4 & 支付宝 \\
+ *君 & 10 RMB & 2019/7/23 & 微信 & 读书之虫 & 20 RMB & 2019/11/18 & 微信 \\
+ P*u & 50 RMB & 2019/7/30 & 微信 & *等 & 10 RMB & 2019/11/18 & 微信 \\
+ *萌 & 19 RMB & 2019/8/28 & 微信 & *哲 & 20 RMB & 2019/11/18 & 微信 \\
+ 曲豆豆 & 10 RMB & 2019/8/28 & 微信 & 佚名 & 10 RMB & 2019/11/24 & 微信 \\
+ 李博 & 100 RMB & 2019/10/6 & 微信 & Jiye Qian & 66 RMB & 2019/12/4 & 微信 \\
+ Njustsll & 10 RMB & 2019/10/11 & 微信 & 阳仔 & 20 RMB & 2019/12/5 & 微信 \\
\bottomrule
- \multicolumn{3}{l}{\scriptsize 括号内为标准误} \\
- \multicolumn{3}{l}{\scriptsize *** p<0.01, ** p<0.05, * p<0.1} \\
\end{tabular}%
- \label{tab:reg}%
+ \label{tab:donation}%
\end{table}%
-\begin{itemize}[noitemsep]
- \item Routing and resource discovery;
- \begin{itemize}
- \item Language Models
- \item Vector Space Models
- \end{itemize}
- \item Resilient and scalable computer networks;
- \item Distributed storage and search.
-\end{itemize}
+
+\section{常见问题 FAQ}
+
+\begin{enumerate}[label=\arabic*).]
+ \item \textit{如何删除版本信息?}\\
+ 导言区不写 \lstinline|\version{x.xx}| 即可。
+ \item \textit{如何删除日期?}\\
+ 需要注意的是,与版本 \lstinline{\version} 不同的是,导言区不写或注释 \lstinline{\date} 的话,仍然会打印出当日日期,原因是 \lstinline{\date} 有默认参数。如果不需要日期的话,日期可以留空即可,也即 \lstinline|\date{}|。
+ \item \textit{如何获得中文日期?}\\
+ 为了获得中文日期,必须在中文模式下\footnote{英文模式下,由于未加载中文宏包,无法输入中文。},使用 \lstinline|\date{\zhdate{2019/10/11}}|,如果需要当天的汉化日期,可以使用 \lstinline|\date{\zhtoday}|,这两个命令都来源于 \href{https://ctan.org/pkg/zhnumber}{\lstinline{zhnumber}} 宏包。
+ \item \textit{如何添加多个作者?}\\
+ 在 \lstinline{\author} 里面使用 \lstinline{\and},作者单位可以用 \lstinline{\\} 换行。
+ \begin{lstlisting}
+ \author{author 1\\ org. 1 \and author 2 \\ org. 2 }
+ \end{lstlisting}
+\end{enumerate}
+
\section{示例}
-\begin{lstlisting}[frame=single]
-\documentclass[geye,green,pad,cn]{elegantnote}
-\title{一个笔记示例}
+\begin{lstlisting}
+\documentclass[cn,hazy,blue,screen,14pt]{elegantnote}
+
+\title{ElegantNote Example}
\author{ddswhu}
-\institute{Elegant\LaTeX{} 项目组}
-\version{1.00}
-\date{2019 年 2 月 3 日}
+\institute{Elegant\LaTeX{} Program}
+% \version{1.00}
+\date{}
\begin{document}
\maketitle
-\section{介绍}
-介绍部分内容。
+\section{Introduction}
+
+The content of Introduction.
\end{document}
\end{lstlisting}