mirror of
https://github.com/ElegantLaTeX/ElegantPaper.git
synced 2026-03-28 18:24:38 +08:00
Similar to ElegantBook
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
\documentclass[11pt,en]{elegantpaper}
|
||||
|
||||
\title{ElegantPaper: An Elegant \LaTeX{} Template for Working Papers}
|
||||
\title{ElegantPaper: An Elegant \LaTeX\ Template for Working Papers}
|
||||
\author{Author1 \\ Institute1 \and Author2 \\ Institute2}
|
||||
\institute{\href{https://github.com/ElegantLaTeX}{Elegant\LaTeX{} Program}}
|
||||
\institute{\href{https://github.com/ElegantLaTeX}{Elegant\LaTeX\ Program}}
|
||||
|
||||
\version{0.12}
|
||||
\date{Feb. 27, 2026}
|
||||
@@ -17,7 +17,7 @@
|
||||
\maketitle
|
||||
|
||||
\begin{abstract}
|
||||
This documentation illustrates the usage of the \href{https://github.com/ElegantLaTeX/ElegantPaper}{ElegantPaper} template. This template is based on the standard \LaTeX{} article class, which is designed for working paper writing. With this template, you can get rid of all the worries about the format and merely focus on writing. For any question, please leave a message on \href{https://github.com/ElegantLaTeX/ElegantPaper/issues}{GitHub::ElegantPaper/issues}. Want to know more about Elegant\LaTeX{} Templates? Please visit: \href{https://github.com/ElegantLaTeX}{https://github.com/ElegantLaTeX}.\par
|
||||
This documentation illustrates the usage of the \href{https://github.com/ElegantLaTeX/ElegantPaper}{ElegantPaper} template. This template is based on the standard \LaTeX\ article class, which is designed for working paper writing. With this template, you can get rid of all the worries about the format and merely focus on writing. For any question, please leave a message on \href{https://github.com/ElegantLaTeX/ElegantPaper/issues}{GitHub::ElegantPaper/issues}. Want to know more about Elegant\LaTeX\ Templates? Please visit: \href{https://github.com/ElegantLaTeX}{https://github.com/ElegantLaTeX}.\par
|
||||
\keywords{Elegant\LaTeX{}, Working Paper, Template}
|
||||
\end{abstract}
|
||||
|
||||
@@ -33,7 +33,7 @@ This version changes two important parts: fonts and bibliography.
|
||||
|
||||
\section{Introduction}
|
||||
|
||||
This template is based on the standard \LaTeX{} article class, hence the arguments of article class are acceptable (\lstinline{a4paper}, \lstinline{10pt} and etc.). Alternative engines are \hologo{pdfLaTeX} and \hologo{XeLaTeX}.
|
||||
This template is based on the standard \LaTeX\ article class, hence the arguments of article class are acceptable (\lstinline{a4paper}, \lstinline{10pt} and etc.). Alternative engines are \hologo{pdfLaTeX} and \hologo{XeLaTeX}.
|
||||
|
||||
\begin{lstlisting}
|
||||
\documentclass[a4paper,11pt]{elegantpaper}
|
||||
@@ -56,14 +56,14 @@ Language mode option \lstinline{lang} allows two alternative inputs, \lstinline{
|
||||
This template defines a new option (\lstinline{math}), with three options:
|
||||
|
||||
\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=mtpro2}, use \lstinline{mtpro2} package to set math font.
|
||||
\end{enumerate}
|
||||
|
||||
|
||||
\subsection{Custom Commands}
|
||||
Default \LaTeX{} commands and environments are all the same in this template\footnote{To ensure the codes are replicatable. We recommend users pay more attention to the contents other than formats. This is the meaning of the existence of the template.}. We created four new commands:
|
||||
Default \LaTeX\ commands and environments are all the same in this template\footnote{To ensure the codes are replicatable. We recommend users pay more attention to the contents other than formats. This is the meaning of the existence of the template.}. We created four new commands:
|
||||
\begin{enumerate}
|
||||
\item \lstinline{\email}: create the hyperlink to email address.
|
||||
\item \lstinline{\figref}: same usage as \lstinline{\ref}, but start with label text \textbf{Figure n}.
|
||||
|
||||
Reference in New Issue
Block a user