modify indent

EthanDeng
2019-11-16 10:58:33 +08:00
parent e9a65abc4e
commit 130a78b6ce
12 changed files with 31 additions and 63 deletions

@@ -1,14 +1,11 @@
Because the template uses the `newtx` family of font macros, we need to be aware of hyphens when using this template. Because the template uses the `newtx` family of font macros, we need to be aware of hyphens when using this template.
$$\int_{R^q} f(x,y) dy.\emph{of\kern0pt f}$$ ![](./hyphen.png)
the code is the code is
```tex ```tex
\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}
``` ```

@@ -4,7 +4,7 @@ For portable version, simply download lastest ElegantBook-master from Github or
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. 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.
![](https://raw.githubusercontent.com/wiki/izinngo/public/image/tlshell.png) ![](./tlshell.png)
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. 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.
@@ -18,4 +18,3 @@ Considering the online usage of the templates, all the templates are available o
Those who enjoy smooth network may feel free to use the templates without TEX Live and to visit 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), 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 corporat with others if you like. For more information about Overleaf, please refer to Overleaf OG. choose the one you prefer and save it to your account, then you can edit yourself or corporat with others if you like. For more information about Overleaf, please refer to Overleaf OG.

@@ -13,6 +13,3 @@ And you will get:
![](./problemset2.png) ![](./problemset2.png)
**Notice** If you want to customize the title of `probleset`, please change the optional argument like `introduction` environment. In addition, the current environment will automatically appear in the catalogue, but not in the header and footer (to be resolved). **Notice** If you want to customize the title of `probleset`, please change the optional argument like `introduction` environment. In addition, the current environment will automatically appear in the catalogue, but not in the header and footer (to be resolved).

@@ -8,9 +8,9 @@ In the version 3.08, we introduced the `marginpar=margintrue` and the test comma
% equation % equation
\marginpar{ \marginpar{
\begin{equation} \begin{equation}
a^2 + b^2 = c^2 a^2 + b^2 = c^2
\end{equation} \end{equation}
} }
``` ```
@@ -19,20 +19,17 @@ However, the floating body (table, picture) should be noted that the floating bo
```tex ```tex
% 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}
} }
``` ```

@@ -2,7 +2,7 @@ In the version of 3.08, the user feedbacks that when using with macropackages su
```tex ```tex
LaTeX Error: LaTeX Error:
Too many symbol fonts declared. Too many symbol fonts declared.
``` ```
The reason is that the template redefines the mathematical font to **the maximum of 16 mathematical fonts**, so it can't add mathematical fonts when calling other macro packages. To reduce the number of calls of unusual macropackages, how to use the `yhmath` and `esvect` macropackages is as follows. The reason is that the template redefines the mathematical font to **the maximum of 16 mathematical fonts**, so it can't add mathematical fonts when calling other macro packages. To reduce the number of calls of unusual macropackages, how to use the `yhmath` and `esvect` macropackages is as follows.
@@ -19,6 +19,3 @@ Search `yhmath` or `esvect` in `elegantbook.cls` and uncomment the loading state
%%% use esvect pkg, uncomment following code %%% use esvect pkg, uncomment following code
% \RequirePackage{esvect} % \RequirePackage{esvect}
``` ```

BIN
hyphen.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

@@ -73,9 +73,3 @@
**问题**:群主,什么时候出 Beamer 的模板主题ElegantSlide 或者 ElegantBeamer **问题**:群主,什么时候出 Beamer 的模板主题ElegantSlide 或者 ElegantBeamer
**答案**:这个问题问的人比较多,我这里给个明确的答案。由于 Beamer 中有一个很优秀的主题 [Metropolis](https://github.com/matze/mtheme)。我觉得在我们找到非常好的创意之前不会发布正式的 Beamer 主题,如果你非常希望得到 ElegantLaTeX “官方”的主题,请在用户 QQ 群内下载我们测试主题 PreElegantSlide未来不一定按照这个制作。正式版制作计划在 2020 年之后。 **答案**:这个问题问的人比较多,我这里给个明确的答案。由于 Beamer 中有一个很优秀的主题 [Metropolis](https://github.com/matze/mtheme)。我觉得在我们找到非常好的创意之前不会发布正式的 Beamer 主题,如果你非常希望得到 ElegantLaTeX “官方”的主题,请在用户 QQ 群内下载我们测试主题 PreElegantSlide未来不一定按照这个制作。正式版制作计划在 2020 年之后。
**问题**:群主好棒,想嫁!
**答案**:我取向正常!

@@ -8,9 +8,9 @@
% equation % equation
\marginpar{ \marginpar{
\begin{equation} \begin{equation}
a^2 + b^2 = c^2 a^2 + b^2 = c^2
\end{equation} \end{equation}
} }
``` ```
@@ -19,20 +19,17 @@
```tex ```tex
% 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}
} }
``` ```

@@ -21,6 +21,3 @@
... ...
\end{introduction} \end{introduction}
``` ```

@@ -2,7 +2,7 @@
```tex ```tex
LaTeX Error: LaTeX Error:
Too many symbol fonts declared. Too many symbol fonts declared.
``` ```
原因是模板重新定义了数学字体,达到了**最多 16 个数学字体**的上限,在调用其他宏包的时候,无法新增数学字体。为了减少调用非常用宏包,在此给出如何调用 `yhmath` 以及 `esvect` 宏包的方法。 原因是模板重新定义了数学字体,达到了**最多 16 个数学字体**的上限,在调用其他宏包的时候,无法新增数学字体。为了减少调用非常用宏包,在此给出如何调用 `yhmath` 以及 `esvect` 宏包的方法。
@@ -19,6 +19,3 @@ LaTeX Error:
%%% use esvect pkg, uncomment following code %%% use esvect pkg, uncomment following code
% \RequirePackage{esvect} % \RequirePackage{esvect}
``` ```

@@ -1,14 +1,11 @@
由于模板使用了 `newtx` 系列字体宏包,所以在使用本模板的时候,需要注意下连字符的问题。 由于模板使用了 `newtx` 系列字体宏包,所以在使用本模板的时候,需要注意下连字符的问题。
$$\int_{R^q} f(x,y) dy.\emph{of\kern0pt f}$$ ![](./hyphen.png)
的代码为 的代码为
```tex ```tex
\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}
``` ```

@@ -15,4 +15,3 @@
\definecolor{second}{RGB}{115,45,2} \definecolor{second}{RGB}{115,45,2}
\definecolor{third}{RGB}{0,80,80} \definecolor{third}{RGB}{0,80,80}
``` ```