update 0.08

This commit is contained in:
EthanDeng
2019-10-15 21:56:39 +08:00
parent ac509e6369
commit 9734a29f24
6 changed files with 44 additions and 34 deletions

View File

@@ -1,7 +1,7 @@
%!TEX program = xelatex %!TEX program = xelatex
% 完整编译方法 1: pdflatex -> bibtex -> pdflatex -> pdflatex % 完整编译方法 1: pdflatex -> bibtex -> pdflatex -> pdflatex
% 完整编译方法 2: xelatex -> bibtex -> xelatex -> xelatex % 完整编译方法 2: xelatex -> bibtex -> xelatex -> xelatex
\documentclass[lang=cn,11pt,a4paper]{elegantpaper} \documentclass[lang=cn,11pt,authoryear,a4paper]{elegantpaper}
\title{ElegantPaper: 一个优美的 \LaTeX{} 工作论文模板} \title{ElegantPaper: 一个优美的 \LaTeX{} 工作论文模板}
\author{Ethan DENG \\ Fudan University \and Dongsheng DENG \\ PA Technology} \author{Ethan DENG \\ Fudan University \and Dongsheng DENG \\ PA Technology}
@@ -15,12 +15,15 @@
\maketitle \maketitle
\begin{abstract} \begin{abstract}
本文为 \href{https://github.com/ElegantLaTeX/ElegantPaper/}{ElegantPaper} 的说明文档(中文)。此模板基于 \LaTeX{} 的 article 类,专为工作论文写作而设计。设计这个模板的初衷是让作者不用关心工作论文的格式,专心写作,从而有更加舒适,简便的写作体验。如果你有其他问题、建议或者报告 bug可以在 \href{https://github.com/ElegantLaTeX/ElegantPaper/issues}{ElegantPaper/issues} 留言。如果你想了解更多 Elegant\LaTeX{} 项目组设计的模板,请访问 \href{https://github.com/ElegantLaTeX/}{https://github.com/ElegantLaTeX/} 本文为 \href{https://github.com/ElegantLaTeX/ElegantPaper/}{ElegantPaper} 的说明文档。此模板基于 \LaTeX{} 的 article 类,专为工作论文写作而设计。设计这个模板的初衷是让作者不用关心工作论文的格式,专心写作,从而有更加舒的写作体验。如果你有其他问题、建议或者报告 bug可以在 \href{https://github.com/ElegantLaTeX/ElegantPaper/issues}{Github::ElegantPaper/issues} 留言。如果你想了解更多 Elegant\LaTeX{} 项目组设计的模板,请访问 \href{https://github.com/ElegantLaTeX/}{Github::ElegantLaTeX}
\keywords{Elegant\LaTeX{},工作论文,模板} \keywords{Elegant\LaTeX{},工作论文,模板}
\end{abstract} \end{abstract}
\section{模板介绍}
\section{模板使用须知}
\subsection{模板介绍}
此模板基于 \LaTeX{} 的标准文类 article 设计,所以 article 文类的选项也能传递给本模板,比如 \lstinline{a4paper, 11pt} 等等。本模板支持 \hologo{pdfLaTeX}\hologo{XeLaTeX} 编译。 此模板基于 \LaTeX{} 的标准文类 article 设计,所以 article 文类的选项也能传递给本模板,比如 \lstinline{a4paper, 11pt} 等等。本模板支持 \hologo{pdfLaTeX}\hologo{XeLaTeX} 编译。
@@ -28,7 +31,8 @@
\documentclass[a4paper,11pt]{elegantpaper} \documentclass[a4paper,11pt]{elegantpaper}
\end{lstlisting} \end{lstlisting}
\textbf{注意}Elegant\LaTeX{} 系列模板已经全部上传至 \href{https://www.overleaf.com}{Overleaf} 上,用户可以在线使用 \href{https://www.overleaf.com/latex/templates/elegantpaper-template/yzghrqjhmmmr}{ElegantPaper}。另外,为了方便国内用户,模板也已经传至\href{https://gitee.com/ElegantLaTeX/ElegantPaper}{码云} \textbf{注意}Elegant\LaTeX{} 系列模板已经全部上传至 \href{https://www.overleaf.com/latex/templates/elegantpaper-template/yzghrqjhmmmr}{Overleaf} 上,用户可以在线使用。另外,为了方便国内用户,模板也已经传至\href{https://gitee.com/ElegantLaTeX/ElegantPaper}{码云}
\subsection{全局选项} \subsection{全局选项}
此模板定义了一个语言选项 \lstinline{lang},可以选择英文模式 \lstinline{lang=en}(默认)或者中文模式 \lstinline{lang=cn}。当选择中文模式时,图表的标题引导词以及参考文献,定理引导词等信息会变成中文。你可以通过下面两种方式来选择语言模式: 此模板定义了一个语言选项 \lstinline{lang},可以选择英文模式 \lstinline{lang=en}(默认)或者中文模式 \lstinline{lang=cn}。当选择中文模式时,图表的标题引导词以及参考文献,定理引导词等信息会变成中文。你可以通过下面两种方式来选择语言模式:
@@ -65,8 +69,8 @@
本模板还添加了 \lstinline{cite=numbers}\lstinline{cite=super}\lstinline{cite=authoryear} 三个参考文献选项,用于设置参考文献格式的设置,默认为 \lstinline{numbers}。理工科类一般使用数字形式 \lstinline{numbers} 或者上标形式 \lstinline{super},而文科类多使用作者-年份 \lstinline{authoryear} 比较多。如果需要改为 \lstinline{cite=numbers} 或者 \lstinline{authoryear} ,可以使用 本模板还添加了 \lstinline{cite=numbers}\lstinline{cite=super}\lstinline{cite=authoryear} 三个参考文献选项,用于设置参考文献格式的设置,默认为 \lstinline{numbers}。理工科类一般使用数字形式 \lstinline{numbers} 或者上标形式 \lstinline{super},而文科类多使用作者-年份 \lstinline{authoryear} 比较多。如果需要改为 \lstinline{cite=numbers} 或者 \lstinline{authoryear} ,可以使用
\begin{lstlisting} \begin{lstlisting}
\documentclass[cite=numbers]{elegantpaper} % numbers style ref style \documentclass[cite=super]{elegantpaper} % super style ref style
\documentclass[numbers]{elegantpaper} \documentclass[super]{elegantpaper}
\documentclass[cite=authoryear]{elegantpaper} % author-year ref style \documentclass[cite=authoryear]{elegantpaper} % author-year ref style
\documentclass[authoryear]{elegantpaper} \documentclass[authoryear]{elegantpaper}
@@ -116,11 +120,14 @@
Lerh & 10 元 & 2019/05/15 & 微信 \\ Lerh & 10 元 & 2019/05/15 & 微信 \\
越过地平线 & 10 元 & 2019/05/15 & 微信 \\ 越过地平线 & 10 元 & 2019/05/15 & 微信 \\
大熊 & 20 元 & 2019/05/27 & 微信 \\ 大熊 & 20 元 & 2019/05/27 & 微信 \\
佚名 & 10 元 & 2019/05/30 & 微信\\ * 空 & 10 元 & 2019/05/30 & 微信\\
\href{http://www.latexstudio.net/}{latexstudio.net} & 666 元 & 2019/06/05 & 支付宝\\ \href{http://www.latexstudio.net/}{latexstudio.net} & 666 元 & 2019/06/05 & 支付宝\\
Cassis & 11 元 & 2019/06/30 & 微信\\ Cassis & 11 元 & 2019/06/30 & 微信\\
佚名 & 10 元 & 2019/07/23 & 微信\\ * 君 & 10 元 & 2019/07/23 & 微信\\
* 萌 & 19 元 & 2019/08/28 & 微信 \\
曲豆豆 & 10 元 & 2019/08/28 & 微信 \\
李博 & 100 元 & 2019/10/06 & 微信\\ 李博 & 100 元 & 2019/10/06 & 微信\\
Njustsll & 10 元 & 2019/10/11 & 微信 \\
\bottomrule \bottomrule
\end{tabular}% \end{tabular}%
\end{table}% \end{table}%
@@ -135,19 +142,20 @@
\item \textit{如何获得中文日期?}\\ \item \textit{如何获得中文日期?}\\
为了获得中文日期,必须在中文模式下\footnote{英文模式下,由于未加载中文宏包,无法输入中文。},使用 \lstinline|\date{\zhdate{2019/10/11}}|,如果需要当天的汉化日期,可以使用 \lstinline|\date{\zhtoday}|,这两个命令都来源于 \href{https://ctan.org/pkg/zhnumber}{\lstinline{zhnumber}} 宏包。 为了获得中文日期,必须在中文模式下\footnote{英文模式下,由于未加载中文宏包,无法输入中文。},使用 \lstinline|\date{\zhdate{2019/10/11}}|,如果需要当天的汉化日期,可以使用 \lstinline|\date{\zhtoday}|,这两个命令都来源于 \href{https://ctan.org/pkg/zhnumber}{\lstinline{zhnumber}} 宏包。
\item \textit{如何添加多个作者?}\\ \item \textit{如何添加多个作者?}\\
\lstinline{\author} 里面使用 \lstinline{\and},作者单位可以用 \lstinline{\\} 换行。 \lstinline{\author} 里面使用 \lstinline{\and},作者单位可以用 \lstinline{\\} 换行。\begin{lstlisting}
\begin{lstlisting}
\author{author 1\\ org. 1 \and author 2 \\ org. 2 } \author{author 1\\ org. 1 \and author 2 \\ org. 2 }
\end{lstlisting} \end{lstlisting}
\item \textit{如何添加中英文摘要?}\\ \item \textit{如何添加中英文摘要?}\\
请参考 \href{https://github.com/ElegantLaTeX/ElegantPaper/issues/5}{ElegantPaper/issues/5} 请参考 \href{https://github.com/ElegantLaTeX/ElegantPaper/issues/5}{Github::ElegantPaper/issues/5}
\end{enumerate} \end{enumerate}
\section{示例} \section{示例}
为了让大家更加清楚最终的论文效果,如下给出两篇使用 ElegantPaper 模板排版的工作论文示例,也欢迎大家“投稿”! 为了让大家更加清楚最终的论文效果,如下给出两篇使用 ElegantPaper 模板排版的工作论文示例,也欢迎大家“投稿”!
\begin{enumerate} \begin{enumerate}
\item \href{https://github.com/EthanDeng/bank-custody}{银行存管、投资者决策与 P2P 网络借贷规范发展} \item \href{https://github.com/EthanDeng/bank-custody}{银行存管、投资者决策与 P2P 网络借贷规范发展}
\item \href{https://github.com/EthanDeng/risk-awareness}{互联网金融风险与投资者风险意识 —— 来自网贷平台交易数据的证据} \item \href{https://github.com/EthanDeng/risk-awareness}{互联网金融风险与投资者风险意识 —— 来自网贷平台交易数据的证据}
\end{enumerate} \end{enumerate}
这是一个最小示例文档Minimal Example 这是一个最小示例文档Minimal Example

View File

@@ -145,6 +145,7 @@
\renewcommand\abstractname{\hspace{2em}} \renewcommand\abstractname{\hspace{2em}}
\setlength\parindent{2\ccwd} \setlength\parindent{2\ccwd}
\renewcommand{\abstracttextfont}{\small\sffamily\kaishu\noindent\ignorespaces} \renewcommand{\abstracttextfont}{\small\sffamily\kaishu\noindent\ignorespaces}
%
\newcommand{\keywords}[1]{\vskip2ex\par\noindent\normalfont{\bfseries : } #1} \newcommand{\keywords}[1]{\vskip2ex\par\noindent\normalfont{\bfseries : } #1}
\newcommand\figref[1]{{\bfseries ~\ref{#1}}} \newcommand\figref[1]{{\bfseries ~\ref{#1}}}
\newcommand\tabref[1]{{\bfseries ~\ref{#1}}} \newcommand\tabref[1]{{\bfseries ~\ref{#1}}}
@@ -170,6 +171,7 @@
\newcommand\updatetext{\itshape Date: }% \newcommand\updatetext{\itshape Date: }%
\setlength\parindent{2em} \setlength\parindent{2em}
\renewcommand{\abstracttextfont}{\sffamily\small\noindent\ignorespaces} \renewcommand{\abstracttextfont}{\sffamily\small\noindent\ignorespaces}
% newcommands defined in this template.
\newcommand{\keywords}[1]{\vskip2ex\par\noindent\normalfont{\bfseries Keywords: } #1} \newcommand{\keywords}[1]{\vskip2ex\par\noindent\normalfont{\bfseries Keywords: } #1}
\newcommand\figref[1]{{\bfseries Figure~\ref{#1}}} \newcommand\figref[1]{{\bfseries Figure~\ref{#1}}}
\newcommand\tabref[1]{{\bfseries Table~\ref{#1}}} \newcommand\tabref[1]{{\bfseries Table~\ref{#1}}}

BIN
image/donate.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 138 KiB

BIN
image/star-history.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

BIN
image/star.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

BIN
image/tlshell.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 218 KiB