mirror of
https://github.com/ElegantLaTeX/ElegantBook.git
synced 2026-01-26 04:14:35 +08:00
version 3.08
1
AboutPullRequest.md
Normal file
1
AboutPullRequest.md
Normal file
@@ -0,0 +1 @@
|
||||
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.
|
||||
22
Acknowledgement.md
Normal file
22
Acknowledgement.md
Normal file
@@ -0,0 +1,22 @@
|
||||
The number of stars on Github for ElegantBook reached 100 on May 20, 2019 and was included in the [Trending](https://github.com/trending/tex?since=daily) under the TeX category. It is a remarkable moment for ElegantLaTeX!!!
|
||||
|
||||
Thank ChinaTeX and [LaTeX studio](http://www.latexstudio.net/) for their promotion. LaTeX studio offers tons of valuable posts and templates for discovery. It is the most comprehensive website on LaTeX in China.
|
||||
|
||||
Thank [muzimuzhi](https://github.com/muzimuzhi) for the revision of the template.
|
||||
|
||||
If you like our template, star on Github.
|
||||
|
||||

|
||||
|
||||
Recently some users have expressed their love for our templates and want to tip us. QR code for donation is now available.
|
||||
|
||||

|
||||
|
||||
The explanation right of the tip usage belongs to ElegantLaTeX 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!
|
||||
|
||||
| Tipper | Amount | Date | Channel |
|
||||
| :--------------: | :----: | :-------: | :-----: |
|
||||
| Lerh | 10 RMB | 2019/5/15 | Wechat |
|
||||
| Yueguodipingxian | 10 RMB | 2019/5/15 | Wechat |
|
||||
| Daxiong | 20 RMB | 2019/5/27 | Wechat |
|
||||
|
||||
9
BaseHideOption.md
Normal file
9
BaseHideOption.md
Normal file
@@ -0,0 +1,9 @@
|
||||
Hiding the end-of-chapter base is optional, simply type in:
|
||||
|
||||
```tex
|
||||
\documentclass[hide]{elegantbook} %or
|
||||
\documentclass[base=hide]{elegantbook}
|
||||
```
|
||||
|
||||
|
||||
|
||||
@@ -1,7 +1,16 @@
|
||||
This template uses `BibTeX` to generate the bibliography, the default bibliography style is `aer`. Let’s take a glance at the citation effect, Chen et al. (2018) use data from a major peer-to-peer lending marketplace in China to study whether female and male investors evaluate loan performance differently.
|
||||
This template uses `BibTeX` to generate the bibliography, the default bibliography style is `aer`.
|
||||
|
||||
If you want to use BibTeX, you must create a file named `reference.bib`, and add bib items (from Google Scholar, Mendeley, EndNote, and etc.) to `reference.bib` file, and cite the bibkey in the `tex` file. The `BibTeX` will automatically generate the bibliography for you for the reference you cited. If you want to add some noncited reference to the bibliography, you can use
|
||||
If you want to use `BibTeX`, you must create a file named `reference.bib`, add bib items (from Google Scholar, Mendeley, EndNote, and etc.) to `reference.bib` file, then cite the bib key in the `tex` file. The `BibTeX` will automatically generate the bibliography for the reference you cited. If you want to add some non-cited reference to the bibliography, you can use
|
||||
|
||||
```tex
|
||||
\nocite{EINAV2010, Havrylchyk2018}
|
||||
\nocite{EINAV2010,Havrylchyk2018} %or include some bibitems
|
||||
\nocite{*} %include all the bibitems
|
||||
```
|
||||
|
||||
Two more options `cite=numbers` and `cite=authoryear` are available in this new version, with the default setting as `numbers` since those major in science and technology use `numbers` more often. For those who major in liberal arts want to use `authoryear`, please type in:
|
||||
|
||||
```tex
|
||||
\documentclass[cite=authoryear]{elegantbook} %or
|
||||
\documentclass[authoryear]{elegantbook}
|
||||
```
|
||||
|
||||
|
||||
@@ -1,14 +1,16 @@
|
||||
This template contains 4 color themes,they are green (default), cyan, blue, plain, and there is a customization color option `nocolor`. You can choose green with
|
||||
This template contains 5 color themes, they are green, cyan, blue(default), gray, black , You can choose green with
|
||||
|
||||
```tex
|
||||
\documentclass[green]{elegantbook} %or
|
||||
\documentclass[color=green]{elegantbook}
|
||||
```
|
||||
|
||||
where plain theme is gray for all theorem class environments and paper structures. If you want to customize the colors, please select `nocolor` or use `color=none` , then define the main, second, and third colors in the preamble section as follows:
|
||||
If you want to customize the colors, please select `nocolor` or use `color=none` and declare the structurecolor, main, second, and third colors in the preamble section as follows:
|
||||
|
||||
```tex
|
||||
\definecolor{main}{RGB}{70,70,70}
|
||||
\definecolor{second}{RGB}{115,45,2}
|
||||
\definecolor{third}{RGB}{0,80,80}
|
||||
\definecolor{structurecolor}{RGB}{60,113,183}
|
||||
\definecolor{main}{RGB}{0,166,82}%
|
||||
\definecolor{second}{RGB}{255,134,24}%
|
||||
\definecolor{third}{RGB}{0,174,247}%
|
||||
```
|
||||
|
||||
|
||||
@@ -1,33 +0,0 @@
|
||||
This template is based on the Standard LaTeX book class, so the options of book class also work. The default encoding is UTF-8, and TeX Live is recommended. The test environment is Win10 + TeX Live 2018.
|
||||
|
||||
## Compile with `PDFLaTeX`
|
||||
|
||||
If you choose PDFLaTeX to process your book, the default article font computer modern has changed to `newtx` series, and the default font size is set to 12pt. The fonts are settings with:
|
||||
|
||||
+ `newtxtext` package for text fonts, similar to Times New Roman font.
|
||||
+ `newtxmath` package for math fonts, close to `times` package.
|
||||
+ `FiraMono` package for typewriter fonts, with option `scale=0.7`.
|
||||
+ `ctex` package for Chinese fonts, with option `scheme=plain`.
|
||||
|
||||
A full compilation chain: `PDFLaTe`X -> `BibTeX` -> `PDFLaTeX`*2.
|
||||
|
||||
## Compile with `XeLaTeX`
|
||||
|
||||
If you choose `XeLaTeX` to process your book, we use `fontspec` package and `xeCJK` package. we used fonts available in Windows, if you are using Linux or Mac OS, please substitute these fonts with that of your system.
|
||||
|
||||
```tex
|
||||
\RequirePackage{fontenc}
|
||||
\RequirePackage[no-math]{fontspec}
|
||||
\setmainfont{Times New Roman}[NFSSFamily=ntxtlf]
|
||||
\setsansfont{Arial}
|
||||
%\setmonofont[Scale=0.7]{Courier New}
|
||||
\RequirePackage{xeCJK}
|
||||
\RequirePackage{xunicode}
|
||||
\setCJKmainfont[BoldFont={SimHei},ItalicFont={KaiTi}]{SimSun}
|
||||
\setCJKsansfont[BoldFont={SimHei},ItalicFont={KaiTi}]{KaiTi}
|
||||
\setCJKmonofont[BoldFont={SimHei},ItalicFont={KaiTi},Scale=0.7]{Microsoft YaHei}
|
||||
\XeTeXlinebreaklocale "zh"
|
||||
\XeTeXlinebreakskip = 0pt plus 1pt minus 0.1pt
|
||||
\RequirePackage{newtxmath}
|
||||
```
|
||||
A full compilation chain: `XeLaTeX` -> `BibTeX` -> `XeLaTeX`*2.
|
||||
@@ -1,5 +1,4 @@
|
||||
The cover image used in this template is from [pixabay.com](https://pixabay.com/en/tea-time-poetry-coffee-reading-3240766/)<sup>[1](#myfootnote1)</sup>. The image is completely free and can be used in any circumstance. The cover image size is 1280*1024, when changing the cover, please crop it according to the size of the cover picture __strictly__. Here is a free online image clipping site: [befunky.com](https://www.befunky.com/create/crop-photo/).
|
||||
The cover image used in this template is from [pixabay.com](https://pixabay.com/en/tea-time-poetry-coffee-reading-3240766/) (Thank ChinaTeX for providing free image source, [pexels.com](https://www.pexels.com/) is strongly recommended.). The image is completely free and can be used under any circumstance. The cover image size is 1280 X 1024. If you would like to change the cover, please crop it according to the size of the cover picture strictly.One free online image clipping site: [befunky.com](https://www.befunky.com/create/crop-photo/).
|
||||
|
||||
This Logo ratio is 1:1, that is square picture. In the replacement of the picture, please choose the appropriate picture to replace.
|
||||
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.
|
||||
|
||||
<a name="myfootnote1">1</a>: Thank ChinaTeX for providing free image source site, and [pexels.com](https://www.pexels.com/) is also recommended.
|
||||
|
||||
11
DeviceModeOption.md
Normal file
11
DeviceModeOption.md
Normal file
@@ -0,0 +1,11 @@
|
||||
The option for device (`device`) was originally used in ElegantNote, now we include this option in ElegantBook as well. Activate iPad mode in the following way:
|
||||
|
||||
```tex
|
||||
\documentclass[pad]{elegantbook} %or
|
||||
\documentclass[device=pad]{elegantbook}
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
This template contains 2 sets of _title display styles_,which including `hang`(default) and display style,
|
||||
This template contains 2 sets of _title display styles_, which including `hang` (default) and display style,
|
||||
|
||||
The difference is that the chapter heading is displayed on a single line (`hang`) and on a double line (`display`) , and this guide uses `hang`. To change display style
|
||||
|
||||
|
||||
44
FAQ.md
Normal file
44
FAQ.md
Normal file
@@ -0,0 +1,44 @@
|
||||
**Question**: I want to customize font and background color.
|
||||
|
||||
**Answer**: Please use `\pagecolor` to change background color, refer to [this](https://tex.stackexchange.com/questions/278544/xcolor-what-is-the-equivalent-of-default-text-color) to customize font.
|
||||
|
||||
|
||||
|
||||
**Question**: Which version should I choose?
|
||||
|
||||
**Answer**: Please use [Latest Release](https://github.com/ElegantLaTeX/ElegantBook/releases) via Github or TeX Live 2019.
|
||||
|
||||
|
||||
|
||||
**Question**: Which editor should I choose?
|
||||
|
||||
**Answer**: You can use TeX Live 2019 built-in TeXworks or TeXstudio. You may refer to [TeX works autocomplete](https://github.com/EthanDeng/texworks-autocomplete). TeX Live 2019 + TeXstudio is strongly recommended. I myself use VS Code and Sublime Text. Related configurations can be found at [vscode-latex](https://github.com/EthanDeng/vscode-latex) and [sublime-text-latex}](https://github.com/EthanDeng/sublime-text-latex).
|
||||
|
||||
|
||||
|
||||
**Question**: Hello, we want to use ElegantBook to write a book about machine learning and would like your authorization.
|
||||
|
||||
**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.
|
||||
|
||||
|
||||
|
||||
**Question**: I would like to use the former cover!
|
||||
|
||||
**Answer**: Cover option is forthcoming.
|
||||
|
||||
|
||||
|
||||
**Question**: What is cross reference?
|
||||
|
||||
**Answer**: This template is aimed at who are not a complete beginner for LaTeX. Please learn more about LaTeX before using this template.
|
||||
|
||||
|
||||
|
||||
**Question**: Is the language for code highlighting optional?
|
||||
|
||||
**Answer**: Yes, `listings` package is used in ElegantBook, hence language is optional. For global setting, use `\lstset`. For more information, please refer to package documentations.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
3
HowToUse.md
Normal file
3
HowToUse.md
Normal file
@@ -0,0 +1,3 @@
|
||||
This template is based on the Standard LaTeX book class, so the options of book class work as well. The default encoding is UTF-8 while TeX Live is recommended. The test environment is Win10 + TeX Live 2019.
|
||||
|
||||
|
||||
@@ -1,38 +1,26 @@
|
||||
In this section, we will introduce the installation methods through cmd line or package manager of TeX Live 2018.
|
||||
Both portable version and installation package are available for this template.
|
||||
|
||||
## Cmd Line Method
|
||||
### Portable Version
|
||||
|
||||
Run command line as administrator, the installation commands is
|
||||
For portable version, simply download lastest ElegantBook-master from Github or CTAN (to be more accurate, download elegantbook.cls) and save the file(s) under your working directory. This way of installation is simple and convenient, but you have to manually update cls now and then.
|
||||
|
||||
```shell
|
||||
tlmgr option repository http://mirror.ctan.org/systems/texlive/tlnet
|
||||
tlmgr install elegantbook
|
||||
```
|
||||
### Installation Method
|
||||
|
||||
If you want to update or uninstall package, you can use
|
||||
If you are a TeX Live 2019 user, using the `tlshell` of TeX Live 2019 direct installation package is strongly recommended. Simply search and open `tlshell`, click on `File -> Load Default Repository` or customize repository by Options. Wait till the repository loads successfully, search elegantbook by name, installation and update is just a click away.
|
||||
|
||||
```shell
|
||||
tlmgr update elegantbook
|
||||
tlmgr uninstall elegantbook
|
||||
```
|
||||

|
||||
|
||||
## Package Mananger Method
|
||||
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 `elegantbook.cls` to the installation directory of TeX Live 2018 (default: `C:\texlive\2018\texmf-dist\tex\latex\elegantbook` ), run `texhash` in cmd.
|
||||
|
||||
Search tlmgr in windows, and open TeX Live Manager,
|
||||
Excuse me? You are a CTeX user? Sorry, this template is incompatible with CTeX.
|
||||
|
||||

|
||||
For more details about the installation and usage of TeX Live 2019, the compatibility of CTeX and TeX Live, installation directory, etc., please refer to OG (Official Guide).
|
||||
|
||||
click tlmgr and choose
|
||||
### Online Usage of Templates
|
||||
|
||||
```shell
|
||||
Load standard net repository: http://mirror.ctan.org/systems/texlive/tlnet
|
||||
```
|
||||
|
||||

|
||||
|
||||
type the package name in the blank, and select the package you want to install/update/uninstall and click the action you wish.
|
||||
|
||||

|
||||
|
||||
Complete.
|
||||
Considering the online usage of the templates, all the templates are available on Overleaf.
|
||||
Those who enjoy smooth network may feel free to use the templates without TEX Live and to visit
|
||||
your documents anywhere anytime. Search `elegantlatex` on Overleaf or visit [search result](https://www.overleaf.com/latex/templates?addsearch=elegantlatex),
|
||||
choose the one you prefer and save it to your account, then you can edit yourself or corporate
|
||||
with others if you like. For more information about Overleaf, please refer to Overleaf OG.
|
||||
|
||||
|
||||
@@ -1,22 +1,16 @@
|
||||
On the occasion of this release, we, ElegantLaTeX Program, want to reintroduce our work to you. We are committed to creating a series of beautiful, elegant, easy to use LaTeX templates for users. The ElegantLaTeX is currently composed of [ElegantNote](https://github.com/ElegantLaTeX/ElegantNote), [ElegantBook](https://github.com/ElegantLaTeX/ElegantBook), [ElegantPaper](https://github.com/ElegantLaTeX/ElegantPaper) for typesetting notes, books, and working papers respectively.
|
||||
ElegantLaTeX Program developers are intended to provide you beautiful, elegant, user-friendly templates. Currently, the ElegantLaTeX is composed of [ElegantNote](https://github.com/ElegantLaTeX/ElegantNote), [ElegantBook](https://github.com/ElegantLaTeX/ElegantBook), [ElegantPaper](https://github.com/ElegantLaTeX/ElegantPaper), designed for typesetting notes, books, and working papers respectively. Latest releases are strongly recommended! This guide is aimed at briefly introducing the 101 of this template. For any other question, suggestion or comment, feel free to contact us on GitHub [issue](https://github.com/ElegantLaTeX/ElegantBook/issues) or email us.
|
||||
|
||||
The latest version is available on [Github:ElegantBook/releases](https://github.com/ElegantLaTeX/ElegantBook/releases). This guide describes some settings of this template and how to use it. If you have any other questions, suggestions or comments, please feel free to contact us.
|
||||
Contact Infos:
|
||||
|
||||
## ElegantBook Updates
|
||||
|
||||
Over these years, we’ve received a lot of feedback from users, with major issues related to font installation, coding support, theorem class environments floats, theorem cross-page, cross-references, and etc. We really think about these problems, it wasn’t elegant to let the user install the font for visual beauty since users got into a lot of trouble, which went against the concept of our template. So we’ve removed that from the new version, users don’t have to install any fonts. Let’s take a look at the ElegantBook template 3.x updates:
|
||||
|
||||
1. Remove custom font settings and use the `ctex` package or system font instead;
|
||||
2. Add English and Chinese modes(`lang=cn/en`);
|
||||
3. `PDFLaTeX` and `XeLaTeX` Support;
|
||||
4. Use the `tcolorbox` package to re-written the theorem class environments, which can span over pages;
|
||||
5. Theorem class environments name updated, and cross-references fixed;
|
||||
6. Color name updated, link color unified;
|
||||
7. New ElegantLaTeX Logo;
|
||||
8. New cover and decorations, remove the watermark;
|
||||
9. Fix appendix;
|
||||
10. Add gray theme: `color=plain`;
|
||||
11. Add code highlighting;
|
||||
12. Beautify the list environment.
|
||||
* Homepage: [https://elegantlatex.org/](https://elegantlatex.org/)
|
||||
* Github: [https://github.com/ElegantLaTeX/](https://github.com/ElegantLaTeX/)
|
||||
* CTAN: [https://ctan.org/pkg/elegantbook](https://ctan.org/pkg/elegantbook)
|
||||
* Wiki: [https://github.com/ElegantLaTeX/ElegantBook/wiki](https://github.com/ElegantLaTeX/ElegantBook/wiki)
|
||||
* Download: [release](https://github.com/ElegantLaTeX/ElegantBook/releases), [latest version](https://github.com/ElegantLaTeX/ElegantBook/archive/master.zip)
|
||||
* Weibo:ElegantLaTeX
|
||||
* Wechat: ElegantLaTeX
|
||||
* QQ: 692108391
|
||||
* Email: [elegantlatex2e@gmail.com](elegantlatex2e@gmail.com)
|
||||
|
||||
____
|
||||
|
||||
|
||||
24
IntroductionEnvironment.md
Normal file
24
IntroductionEnvironment.md
Normal file
@@ -0,0 +1,24 @@
|
||||
We create a introduction environment to display the structure of chapter. The basic useage is as follows
|
||||
|
||||
```latex
|
||||
\begin{introduction}
|
||||
\item Definition of Theorem
|
||||
\item Ask for help
|
||||
\item Optimization Problem
|
||||
\item Property of Cauchy Series
|
||||
\item Angle of Corner
|
||||
\end{introduction}
|
||||
```
|
||||
|
||||
you will get:
|
||||
|
||||

|
||||
|
||||
You can change the title of this environment by modifying the optional argument of this environment.
|
||||
|
||||
```latex
|
||||
\begin{introduction}[Brief Introduction]
|
||||
...
|
||||
\end{introduction}
|
||||
```
|
||||
|
||||
@@ -1,10 +1,9 @@
|
||||
We defined one option named `lang`, this option has two alternative values, `lang=en` (default) or `lang=cn`. `lang=cn` will make the caption of figure/table, abstract name, refname etc. Chinese, while `lang=en` will keep all these stuff English, as the default article class sets. You can use this option as
|
||||
We defined one option named `lang`, this option has two alternative values, `lang=en` (default) or `lang=cn`. Different values will alter the captions of figure/table, abstract name, refname, etc. You can use this option as
|
||||
|
||||
```tex
|
||||
\documentclass[cn]{elegantbook}
|
||||
\documentclass[lang=cn]{elegantbook}
|
||||
\documentclass[en]{elegantbook}
|
||||
\documentclass[lang=en]{elegantbook}
|
||||
```
|
||||
|
||||
__Remark__: You can input Chinese Character in either `lang=en` or `lang=cn`. If you are using (lstlisting) environment, and it contains Chinese characters, please use `XeLaTeX`.
|
||||
__Remark__: Chinese Characters are acceptable whenever `lang=en` or `lang=cn`. If you would like to include Chinese characters under (`lstlisting`) environment, please use `XeLaTeX` to compile.
|
||||
|
||||
|
||||
1
Lists.md
1
Lists.md
@@ -1,3 +1,4 @@
|
||||
This template uses tikz to customize `itemize` and `enumerate` environments, the `itemize` environment customized to the third depth, and `enumerate` environment customized to fourth depth. The effect is as follows
|
||||
|
||||

|
||||
|
||||
|
||||
@@ -2,19 +2,16 @@ Here is a minimal example.
|
||||
|
||||
```tex
|
||||
\documentclass{elegantbook}
|
||||
|
||||
% title info
|
||||
\title{Title}
|
||||
\subtitle{Subtitle is here}
|
||||
|
||||
% bio info
|
||||
\author{Your Name}
|
||||
\institute{XXX University}
|
||||
\date{\today}
|
||||
|
||||
% extra info
|
||||
\version{1.00}
|
||||
\equote{Victory won\rq t come to us unless we go to it. --- M. Moore}
|
||||
\extrainfo{Victory won\rq t come to us unless we go to it. --- M. Moore}
|
||||
\logo{logo.png}
|
||||
\cover{cover.jpg}
|
||||
|
||||
@@ -24,16 +21,11 @@ Here is a minimal example.
|
||||
\tableofcontents
|
||||
\mainmatter
|
||||
\hypersetup{pageanchor=true}
|
||||
|
||||
% add preface chapter here if needed
|
||||
\chapter{Example Chapter Title}
|
||||
The content of chapter one.
|
||||
|
||||
\bibliography{reference}
|
||||
\appendix
|
||||
|
||||
\chapter{Appendix Chapter Title}
|
||||
The content of appendix 1.
|
||||
|
||||
\end{document}
|
||||
```
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
If you want to add a preface before the first chapter without changing the number of chapter, you can use it before the first chapter
|
||||
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:
|
||||
|
||||
```tex
|
||||
\chapter*{Preface}
|
||||
|
||||
22
ProblemSet.md
Normal file
22
ProblemSet.md
Normal file
@@ -0,0 +1,22 @@
|
||||
The environment `problemset` is used at the end of each chapter to display corresponding exercises. Just type in the following sentences:
|
||||
|
||||
```tex
|
||||
\begin{problemset}
|
||||
\item exercise 1
|
||||
\item exercise 2
|
||||
\item exercise 3
|
||||
\end{problemset}
|
||||
```
|
||||
|
||||
And you will get:
|
||||
|
||||

|
||||
|
||||
**Notice** If you want to customize the title of `probleset`, please change the optional argument like introduction environment.
|
||||
|
||||
```tex
|
||||
\begin{problemset}[Hello World]
|
||||
\item ...
|
||||
\end{problemset}
|
||||
```
|
||||
|
||||
8
RecruitSupportMembers.md
Normal file
8
RecruitSupportMembers.md
Normal file
@@ -0,0 +1,8 @@
|
||||
Recruit Support Members for ElegantLaTeX to translate template OGs(Chinese -> English), maintain wiki entries using MarkDown, update Wechat articles. No deadline for this recruitment.
|
||||
|
||||
Thank our best support members for their selfless work!
|
||||
|
||||
* OG Translator: [YPY](https://github.com/peggy2006xzyz);
|
||||
* Wiki Maintainer: [Ingo Zinngo](https://github.com/izinngo);
|
||||
* QQ Group Manager: [Sikouhjw](https://github.com/sikouhjw).
|
||||
|
||||
@@ -1,4 +1,11 @@
|
||||
In this template, we defined four categories of theorem class environments
|
||||
We defined two sets of theorem modes, `simple` style and `fancy` style (default). You may change to `simple` mode by
|
||||
|
||||
```tex
|
||||
\documentclass[simple]{elegantbook} %or
|
||||
\documentclass[mode=simple]{elegantbook}
|
||||
```
|
||||
|
||||
In this template, we defined four different theorem class environments
|
||||
|
||||
+ __Theorem Environment__, including title and contents, numbering within chapter. There are three types depending on the format
|
||||
+ definition environment, the color is main;
|
||||
@@ -8,29 +15,29 @@ In this template, we defined four categories of theorem class environments
|
||||
+ __Proof Environment__, including proof, note environment, they contain introductory symbol (note environment) or ending symbol (proof environment).
|
||||
+ __Conclusion Environments__, including conclusion, assumption, property, remark, solution environment, all of these begin with boldfaced words, and the contents are the same as a normal paragraph.
|
||||
|
||||
## Theorem Class Environments
|
||||
### Theorem Class Environments
|
||||
|
||||
The template uses the `tcolorbox` package to customize the theorem class environments, it is slightly different from the normal theorem environments. The usage is as follows:
|
||||
|
||||
```tex
|
||||
\begin{theorem}{<theorem name>}{<label>}
|
||||
\begin{theorem}{theorem name}{label}
|
||||
The content of theorem.
|
||||
\end{theorem}
|
||||
```
|
||||
|
||||
The first parameter `<theorem name>` is the name of the theorem, and the second parameter `label` is the label used in cross-reference with `ref{thm:label}`. Note that cross-references must be prefixed with thm:.
|
||||
The first parameter `theorem name` is the name of the theorem, and the second parameter `label` is the label used in cross-reference with `ref{thm:label}`. Note that cross-references must be prefixed with `thm:`.
|
||||
|
||||
Other theorem class environments with the same usage are:
|
||||
|
||||
| Environment | Label text | Prefix | Cross-reference|
|
||||
|-------------|--------|------|-------------------|
|
||||
| definition | label | def | `\ref{def:label}` |
|
||||
| definition | label | def | `\ref{def:label}` |
|
||||
| theorem | label | thm | `\ref{thm:label}` |
|
||||
| lemma | label | lem | `\ref{lem:label}` |
|
||||
| corrlary | label | cor | `\ref{cor:label}` |
|
||||
| proposition | label | pro | `\ref{pro:label}` |
|
||||
|
||||
## Cross-reference
|
||||
### Cross-reference
|
||||
|
||||
The other three math environments can be used directly since there are no options for them, the `example` environment usage:
|
||||
|
||||
|
||||
16
Updates.md
Normal file
16
Updates.md
Normal file
@@ -0,0 +1,16 @@
|
||||
What's new in this version::
|
||||
|
||||
1. Fix `\part`;
|
||||
2. Introduce pad mode;
|
||||
3. Support mtpro2 package;
|
||||
4. Revise default format of references to numbers;
|
||||
5. Include environment for chapter introduction;
|
||||
6. Include environment for problem set;
|
||||
7. Include margin note using `\elegantpar` (beta);
|
||||
8. Reduce line spacing for equations;
|
||||
9. Turn `\equote` into `\extrainfo`,with multi-line display;
|
||||
10. Polish documentation by including acknowledgement, etc.
|
||||
|
||||
|
||||
|
||||
**Note**: Since the latest version has witnessed huge reconstruction (with cover change in version 3.06), 3.x is backward incompatible with 2.x. For those who would like to convert documents compiled with earlier version (3.06 or 2.x) to be compatible with latest version, please refer to [conversion](https://github.com/ElegantLaTeX/ElegantBook/wiki/convert). Questions about version 2.x will not be answered henceforth.
|
||||
1
UserSelectedWorksPlan.md
Normal file
1
UserSelectedWorksPlan.md
Normal file
@@ -0,0 +1 @@
|
||||
Eight years have passed since the found of ElegantLaTeX Program. It'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.
|
||||
23
_Sidebar.md
23
_Sidebar.md
@@ -29,30 +29,31 @@
|
||||
|
||||
|
||||
## English Version
|
||||
|
||||
* [Introduction](https://github.com/ElegantLaTeX/ElegantBook/wiki/Introduction)
|
||||
* How To Use
|
||||
* [Installation and Update](https://github.com/ElegantLaTeX/ElegantBook/wiki/Installation)
|
||||
* [Compilation Methods](https://github.com/ElegantLaTeX/ElegantBook/wiki/CompilationMethods)
|
||||
* [Installation](https://github.com/ElegantLaTeX/ElegantBook/wiki/Installation)
|
||||
* [Updates](https://github.com/ElegantLaTeX/ElegantBook/wiki/Updates)
|
||||
* [User's Selected Works Plan](https://github.com/ElegantLaTeX/ElegantBook/wiki/UserSelectedWorksPlan)
|
||||
* [About Pull Request](https://github.com/ElegantLaTeX/ElegantBook/wiki/AboutPullRequest)
|
||||
* [Recruit Support Members](https://github.com/ElegantLaTeX/ElegantBook/wiki/RecruitSupportMembers)
|
||||
* [Acknowledgement](https://github.com/ElegantLaTeX/ElegantBook/wiki/Acknowledgement)
|
||||
* [How To Use](https://github.com/ElegantLaTeX/ElegantBook/wiki/HowToUse)
|
||||
* [Languages](https://github.com/ElegantLaTeX/ElegantBook/wiki/Languages)
|
||||
* [Device Mode Option](https://github.com/ElegantLaTeX/ElegantBook/wiki/DeviceModeOption)
|
||||
* [Color Themes](https://github.com/ElegantLaTeX/ElegantBook/wiki/ColorThemes)
|
||||
* [Display Styles](https://github.com/ElegantLaTeX/ElegantBook/wiki/DisplayStyles)
|
||||
* [Theorem Class Environments](https://github.com/ElegantLaTeX/ElegantBook/wiki/TheoremClassEnvironments)
|
||||
* [Base Hide Option](https://github.com/ElegantLaTeX/ElegantBook/wiki/BaseHideOption)
|
||||
* [Cover and Logo](https://github.com/ElegantLaTeX/ElegantBook/wiki/CoverLogo)
|
||||
* [Lists](https://github.com/ElegantLaTeX/ElegantBook/wiki/Lists)
|
||||
* [Bibliography](https://github.com/ElegantLaTeX/ElegantBook/wiki/Bibliography)
|
||||
* [Preface](https://github.com/ElegantLaTeX/ElegantBook/wiki/Preface)
|
||||
* [Device Mode Option](https://github.com/ElegantLaTeX/ElegantBook/wiki/DeviceModeOption)
|
||||
* [Base Hide Option](https://github.com/ElegantLaTeX/ElegantBook/wiki/BaseHideOption)
|
||||
* [Chapter Summary](https://github.com/ElegantLaTeX/ElegantBook/wiki/IntroductionEnvironment)
|
||||
* [Problem Set](https://github.com/ElegantLaTeX/ElegantBook/wiki/ProblemSet)
|
||||
* [Minimal Example](https://github.com/ElegantLaTeX/ElegantBook/wiki/MinimalExample)
|
||||
* [Problem Set](https://github.com/ElegantLaTeX/ElegantBook/wiki/ProblemSet)
|
||||
* Author
|
||||
* [Github](https://github.com/EthanDeng)
|
||||
* [Homepage](https://ddswhu.me/)
|
||||
* [User's Selected Works Plan](https://github.com/ElegantLaTeX/ElegantBook/wiki/UserSelectedWorksPlan)
|
||||
* [About Pull Request](https://github.com/ElegantLaTeX/ElegantBook/wiki/AboutPullRequest)
|
||||
* [Recruit Support Members](https://github.com/ElegantLaTeX/ElegantBook/wiki/RecruitSupportMembers)
|
||||
* [Acknowledgement](https://github.com/ElegantLaTeX/ElegantBook/wiki/Acknowledgement)
|
||||
|
||||
|
||||
## Links/相关链接
|
||||
|
||||
|
||||
BIN
donate.jpg
Normal file
BIN
donate.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 23 KiB |
BIN
introduction2.png
Normal file
BIN
introduction2.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 21 KiB |
BIN
problemset2.png
Normal file
BIN
problemset2.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 16 KiB |
BIN
star.png
Normal file
BIN
star.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 45 KiB |
6
致谢.md
6
致谢.md
@@ -8,11 +8,11 @@
|
||||
|
||||
如果你喜欢我们的模板,你可以在 Github 上收藏我们的模板。
|
||||
|
||||

|
||||

|
||||
|
||||
之前我们模板从未发布过捐赠/打赏信息,近期有用户反映他们对我们模板非常喜爱,想打赏没有支付码,不禁感叹,这世道变了啊,还有主动打赏的,那么我们就”勉为其难”地发布我们的打赏二维码吧!
|
||||
|
||||

|
||||

|
||||
|
||||
赞赏费用的使用解释权归 ElegantLaTeX 所有,并且不接受监督,请自愿理性打赏,10 元以上的赞赏,我们将列入捐赠榜,谢谢各位金主!
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
| :------: | :----: | :----: | :------: |
|
||||
| Lerh | 10 RMB | 2019/5/15 | 微信 |
|
||||
| 越过地平线 | 10 RMB | 2019/5/15 | 微信 |
|
||||
| 大熊 | 10 RMB | 2019/5/27 | 微信 |
|
||||
| 大熊 | 20 RMB | 2019/5/27 | 微信 |
|
||||
|
||||
|
||||
再次感谢大家对于模板的喜爱!
|
||||
|
||||
Reference in New Issue
Block a user