summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2024-07-03 19:29:36 +0000
committerKarl Berry <karl@freefriends.org>2024-07-03 19:29:36 +0000
commit87496eb27a42aee193444b29be2ed25b17f530c5 (patch)
tree1741d7a4c4daa20ec7e8134e935d391046baf0b0 /Master/texmf-dist/doc
parentcd78e2bc1cea74df235725ff1d07533ea4af29f2 (diff)
beautybook (3jul24)
git-svn-id: svn://tug.org/texlive/trunk@71693 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc')
-rw-r--r--Master/texmf-dist/doc/latex/beautybook/README.md4
-rw-r--r--Master/texmf-dist/doc/latex/beautybook/beautybook-cn.pdfbin6212741 -> 6154021 bytes
-rw-r--r--Master/texmf-dist/doc/latex/beautybook/beautybook-cn.tex52
-rw-r--r--Master/texmf-dist/doc/latex/beautybook/beautybook-en.pdfbin3584660 -> 3608208 bytes
-rw-r--r--Master/texmf-dist/doc/latex/beautybook/beautybook-en.tex56
-rw-r--r--Master/texmf-dist/doc/latex/beautybook/inner_pics/beautybook-logo.pngbin0 -> 34323 bytes
-rw-r--r--Master/texmf-dist/doc/latex/beautybook/inner_pics/hummingbird-8013214.jpgbin0 -> 5569816 bytes
-rw-r--r--Master/texmf-dist/doc/latex/beautybook/inner_pics/logo.pngbin25086 -> 0 bytes
-rw-r--r--Master/texmf-dist/doc/latex/beautybook/inner_pics/mystery-1599527.jpgbin0 -> 1688394 bytes
-rw-r--r--Master/texmf-dist/doc/latex/beautybook/inner_pics/titleimages/c10.pdfbin0 -> 3365 bytes
-rw-r--r--Master/texmf-dist/doc/latex/beautybook/inner_pics/titleimages/c11.pdfbin0 -> 3672 bytes
-rw-r--r--Master/texmf-dist/doc/latex/beautybook/inner_pics/titleimages/c9.pdfbin0 -> 3827 bytes
12 files changed, 77 insertions, 35 deletions
diff --git a/Master/texmf-dist/doc/latex/beautybook/README.md b/Master/texmf-dist/doc/latex/beautybook/README.md
index 78eb52617bc..00571853256 100644
--- a/Master/texmf-dist/doc/latex/beautybook/README.md
+++ b/Master/texmf-dist/doc/latex/beautybook/README.md
@@ -12,12 +12,12 @@
beautybook is designed for writing books, created by [Ethan Lu](https://github.com/BeautyLaTeX/latex-template) , and maintained by [Ethan Lu](https://github.com/BeautyLaTeX/latex-template). Just enjoy it! If you have any questions, suggestions or bug reports, you can create issues or contact me at h1479840692@outlook.com.
-If you are an English user, then please use a cls file with the "-EN" suffix and compile the english tex file with pdfLaTeX, and conversely, if you are a Chinese user, then remember, use a cls file with the "-CN" suffix and compile the chinese tex file with the XeLaTeX engine!
+If you are an English user, then please write '\documentclass[lang=en]{beautybook}' in the premble and compile the english tex file with pdfLaTeX, and conversely, if you are a Chinese user, then remember, write '\documentclass[lang=cn]{beautybook}' in the premble and compile the chinese tex file with the XeLaTeX engine!
---
## Version
-Release 2024-06-30.
+Release 2024-07-03.
---
## License
diff --git a/Master/texmf-dist/doc/latex/beautybook/beautybook-cn.pdf b/Master/texmf-dist/doc/latex/beautybook/beautybook-cn.pdf
index 7dadd8e3c9c..23690e698da 100644
--- a/Master/texmf-dist/doc/latex/beautybook/beautybook-cn.pdf
+++ b/Master/texmf-dist/doc/latex/beautybook/beautybook-cn.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/beautybook/beautybook-cn.tex b/Master/texmf-dist/doc/latex/beautybook/beautybook-cn.tex
index bbfa40c4ae8..7e30e048145 100644
--- a/Master/texmf-dist/doc/latex/beautybook/beautybook-cn.tex
+++ b/Master/texmf-dist/doc/latex/beautybook/beautybook-cn.tex
@@ -1,7 +1,7 @@
%% This work is released under the LaTeX Project Public License, v1.3c or later.
% This template is made by Ethan Lu.
% Please use XeLaTeX engine!
-\documentclass[zihao=-4,fontset=windows]{beautybook-CN}
+\documentclass[lang=cn,zihao=-4,a4paper,fontset=windows]{beautybook}
% ---------------------------------------------------------------------------- %
% The Cover Theme Chosen %
% ---------------------------------------------------------------------------- %
@@ -19,7 +19,10 @@
\mathstyle={ % 数学字体键值列表
math-font=plain, %plain (默认数学字体); stix; mtpro2
}
-\setmainfont{Times New Roman}
+\RequirePackage{fontspec}
+\setmainfont{XITS}
+\setsansfont{DejaVu Sans}
+\setmonofont{Latin Modern Mono}
\renewcommand{\partial}{∂}
%% First one
\mynewtheorem{
@@ -243,12 +246,12 @@ sorting=nty
\begin{document}
\thispagestyle{empty}
\title{Beautybook模板简介}
-\subtitle{}
+\subtitle{这是一个副标题!}
\edition{First Edition}
-\bookseries{Illustrated by Ethan Lu}
+\bookseries{Ilustrated by Ethan Lu}
\author{Ethan Lu}
\pressname{Beautybook}
-\presslogo{inner_pics/logo.png}
+\presslogo{inner_pics/beautybook-logo.png}
\coverimage{inner_pics/coverimage.jpg}%ivy-ge998908f8_1280.jpg
\makecover
@@ -355,7 +358,29 @@ Beauty\LaTeX{} 系列模板是由我所做的书籍模板系列, 名叫\textbf{B
以下是最小工作示例:
\begin{lstlisting}
-\documentclass[zihao=-4,fontset=windows]{beautybook-CN}
+\documentclass[lang=cn,zihao=-4,a4paper,fontset=windows]{beautybook}
+% ---------------------------------------------------------------------------- %
+% The Cover Theme Chosen %
+% ---------------------------------------------------------------------------- %
+\definecolor{coverbgcolor}{HTML}{e0e0e0}
+\definecolor{coverfgcolor}{HTML}{1f3134} % The color of the background
+\definecolor{coverbar}{HTML}{7c9092} % The color of the left bar
+\definecolor{bottomcolor}{HTML}{2c4f54}
+\definecolor{nuanbai}{HTML}{f5f5f5}
+\coverstyle={ % 封面键值列表
+ cover-choose=cn, % cn ; en ; enfig ; birkar
+}
+% ---------------------------------------------------------------------------- %
+% The Cover Theme Chosen %
+% ---------------------------------------------------------------------------- %
+\mathstyle={ % 数学字体键值列表
+ math-font=plain, %plain (默认数学字体); stix; mtpro2
+}
+\RequirePackage{fontspec}
+\setmainfont{XITS}
+\setsansfont{DejaVu Sans}
+\setmonofont{Latin Modern Mono}
+\renewcommand{\partial}{∂}
\coverstyle={ % 封面键值列表
cover-choose=cn, % cn ; en ; enfig ; birkar
}
@@ -683,15 +708,15 @@ tlmgr update --self --all --reinstall-forcibly-removed
-\chapter{Beautybook 设置说明}
+\chapter{beautybook 设置说明}
-本模板英文版基于基础的 book 文类, 中文版则基于ctexbook文类,所以 book或者ctexbook 的选项对于本模板也是有效的。默认编码为 UTF-8,推荐使用 \TeX{} Live 编译。
+本模板英文版基于基础的 book 文类, 中文版则基于ctexbook文类,所以 book或者 ctexbook 的选项对于本模板也是有效的。默认编码为 UTF-8,推荐使用 \TeX{} Live 编译。
\section{语言模式}
-本模板内含两套基础语言环境, 分别为 中文的\lstinline{beautybook-CN.cls}、英文的\lstinline{beautybook-EN.cls}。改变语言环境会改变图表标题的引导词(图,表),文章结构词(比如目录,参考文献等),以及定理环境中的引导词(比如定理,引理等)。不同语言模式的启用如下:
+本模板内含两套基础语言环境, 分别为中文和英文。改变语言环境会改变图表标题的引导词(图,表),文章结构词(比如目录,参考文献等),以及定理环境中的引导词(比如定理,引理等)。不同语言模式的启用如下:
\begin{lstlisting}
-\documentclass{beautybook-CN} % 中文
-\documentclass{beautybook-EN} % 英文
+ \documentclass[lang=cn,zihao=-4,a4paper,fontset=windows]{beautybook} % 中文
+ \documentclass[lang=en]{beautybook} % 英文
\end{lstlisting}
除模板自带的两套语言设定之外,如果您需要使用其他语言, 可以通过更改cls文件中这几处解决, 分别为
@@ -700,7 +725,6 @@ tlmgr update --self --all --reinstall-forcibly-removed
\item 更改 part环境的名称 \lstinline{Part \thepart}为 \lstinline{(你的语言中part的翻译) \thepart}
\item 主文件,即当前文件导言区中的定理引导词
\item 更改chapter环境中的part名称如第一条所示
- \item 记住, 仅有亚洲语言环境可以使用ctexbook文类, 即基于\lstinline{beautybook-CN.cls}更改, 其他西语环境需要基于\lstinline{beautybook-EN.cls}更改.
\end{enumerate}
@@ -756,7 +780,7 @@ tlmgr update --self --all --reinstall-forcibly-removed
\subsection{徽标}
-本文用到的 Logo 为wiki随意找的springer经典马标, 可以自己查询下载出版社logo, 为免侵权,在更换图片的时候请选择合适合法的图片进行替换。
+本文用到的 Logo 为作者自行制作的beautybook专用Logo, 另外还可以使用自己的logo, 为免侵权,在更换图片的时候请选择合适合法的图片进行替换。
\subsection{自定义封面}
@@ -813,7 +837,7 @@ tlmgr update --self --all --reinstall-forcibly-removed
\subsubsection{个人版权的盒子共两种}
\begin{definition}[][名称][def label]
- 这是个人定制的盒子定制的定理环境,这是其中定义环境示例。注意:使用方法如下
+ 这是采用个人定制的盒子制作的定理环境,这是其中定义环境示例。注意:使用方法如下
\begin{itemize}
\item 如果你没有名称和标签,使用方法为
\begin{lstlisting}
diff --git a/Master/texmf-dist/doc/latex/beautybook/beautybook-en.pdf b/Master/texmf-dist/doc/latex/beautybook/beautybook-en.pdf
index 3203378b04f..e91e8bbe011 100644
--- a/Master/texmf-dist/doc/latex/beautybook/beautybook-en.pdf
+++ b/Master/texmf-dist/doc/latex/beautybook/beautybook-en.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/beautybook/beautybook-en.tex b/Master/texmf-dist/doc/latex/beautybook/beautybook-en.tex
index 18c81b9fbf1..c9c6b9405d5 100644
--- a/Master/texmf-dist/doc/latex/beautybook/beautybook-en.tex
+++ b/Master/texmf-dist/doc/latex/beautybook/beautybook-en.tex
@@ -1,4 +1,11 @@
-\documentclass[12pt]{beautybook-EN}
+\documentclass[lang=en,12pt]{beautybook}
+\RequirePackage[utf8]{inputenc}
+\RequirePackage{times} % Times New Roman Font
+\RequirePackage[T1]{fontenc}
+\RequirePackage{microtype}
+\RequirePackage{pgfplots}
+\tikzset{>=Stealth}
+\pgfplotsset{compat=1.18}
% ---------------------------------------------------------------------------- %
% The Cover Theme Chosen %
% ---------------------------------------------------------------------------- %
@@ -17,6 +24,11 @@
math-font=plain, % plain; stix; mtpro2
}
\usepackage{bm}
+\renewcommand*{\textfraction}{0.05}
+\renewcommand*{\topfraction}{0.9}
+\renewcommand*{\bottomfraction}{0.8}
+\renewcommand*{\floatpagefraction}{0.85}
+
% \overfullrule=1pt
% \RequirePackage[fontsize=13.5pt]{fontsize}
%% First one
@@ -240,12 +252,12 @@ sorting=nty
\begin{document}
\thispagestyle{empty}
\title{An Introduction to beautybook template}
-\subtitle{}
+\subtitle{A subtitle here}
\edition{First Edition}
-\bookseries{Illustrated by Ethan Lu}
+\bookseries{Ilustrated by Ethan Lu}
\author{Ethan Lu}
\pressname{beautybook}
-\presslogo{inner_pics/logo.png}
+\presslogo{inner_pics/beautybook-logo.png}
\coverimage{inner_pics/coverimage.jpg}%ivy-ge998908f8_1280.jpg
\makecover
@@ -346,7 +358,7 @@ The Project Addresses are the following.
\section{Installation and Maintenance of Template}
-There are two ways you can use this template. The first method is trivial that just download the zip of template from above channel, and then unzip and compile the main file in the archive (i.e. a file with a name like ``Beautybook-xx. tex"). The second way is uploading the zip of template to \texttt{overleaf} to comply.
+There are two ways you can use this template. The first method is trivial that just download the zip of template from above channel, and then unzip and compile the main file in the archive (i.e. a file with a name like ``beautybook-xx. tex"). The second way is uploading the zip of template to \texttt{overleaf} to comply.
Note that if you choose the second way, you must write \lstinline{math-font=plain} in the premble of the main file!
@@ -359,10 +371,17 @@ To install locally, follow above steps to download the latest version from GitHu
The following is an example of a minimal work:
\begin{lstlisting}
-\documentclass[12pt]{beautybook-EN}
-% ---------------------------------------------------------------------------- %
+\documentclass[lang=en,12pt]{beautybook}
+\RequirePackage[utf8]{inputenc}
+\RequirePackage{times} % Times New Roman Font
+\RequirePackage[T1]{fontenc}
+\RequirePackage{microtype}
+\RequirePackage{pgfplots}
+\tikzset{>=Stealth}
+\pgfplotsset{compat=1.18}
+% ------------------------------------------------- %
% The Cover Theme Chosen %
-% ---------------------------------------------------------------------------- %
+% ------------------------------------------------- %
\definecolor{coverbgcolor}{HTML}{e0e0e0}
\definecolor{coverfgcolor}{HTML}{1f3134} % The color of the background
\definecolor{coverbar}{HTML}{7c9092} % The color of the left bar
@@ -601,8 +620,8 @@ sorting=nty
\edition{The Edition}
\bookseries{Illustrated by author}
\author{author}
-\pressname{press}
-\presslogo{inner_pics/logo.png}
+\pressname{beautybook}
+\presslogo{inner_pics/beautybook-logo.png}
\coverimage{inner_pics/coverimage.jpg}%ivy-ge998908f8_1280.jpg
\makecover
@@ -711,17 +730,17 @@ tlmgr update --self --all --reinstall-forcibly-removed
Please refer to \href{https://tex.stackexchange.com/questions/55437/how-do-i-update-my-tex-distribution}{How do I update my \TeX{} distribution?} for more information.
-\chapter{The setting of Beautybook Template}
+\chapter{The setting of beautybook Template}
The English version of this template is based on the basic ``book" class, and the Chinese version is based on the ``ctexbook" class, so the option of book or ctexbook is also valid for this template. The default encoding is \texttt{UTF-8}, and it is recommended to compile with \TeX{} Live.
\section{Language Mode}
-This template includes two basic locales: \lstinline{Beautybook-CN.cls} in Chinese and \lstinline{Beautybook-EN.cls} in English. Changing the locales alters the headings (including figures and tables) of the chart title, the article formatting (such as table of contents and references), and the language used for theorem contexts (such as Theorem, Lemma, etc.). You can switch between these language modes using the following instructions in the top of the premble:
+This template includes two basic locales: Chinese and English. Changing the locales alters the headings (including figures and tables) of the chart title, the article formatting (such as table of contents and references), and the language used for theorem contexts (such as Theorem, Lemma, etc.). You can switch between these language modes using the following instructions in the top of the premble:
\begin{lstlisting}
-\documentclass{beautybook-CN} % chinese
-\documentclass{beautybook-EN} % english
+ \documentclass[lang=cn,zihao=-4,a4paper,fontset=windows]{beautybook} % chinese
+ \documentclass[lang=en,12pt]{beautybook} % english
\end{lstlisting}
In addition to the two language settings that come with the template, if you need to use another language, you can do so by modifying the \texttt{.cls} file as follows
@@ -729,7 +748,6 @@ In addition to the two language settings that come with the template, if you nee
\begin{enumerate}
\item Change the name of the part environment \lstinline{Part\ \thepart} to \lstinline{(translation of part in your language)\ \thepart}
\item Theorem environment guide words in premble, such as Theorem.
- \item Please remember that only Asian languages can be modified based on \lstinline{beautybook-CN.cls}, other foreign languages need to be modified based on \lstinline{beautybook-EN.cls}.
\end{enumerate}
\section{Theme Color}
@@ -880,19 +898,19 @@ Here is the effect of the theorem environment provided by amsthm.
\end{definition}
\begin{theorem}
- The usage is the same as above, refer to the tag \ref{def label} below or you can \autoref{def label}.
+ The usage is the same as above, refer to the tag \ref{def label} below or you can use \autoref{def label}.
\end{theorem}
\begin{lemma}
- The usage is the same as above, refer to the tag \ref{def label} below or you can \autoref{def label}.
+ The usage is the same as above, refer to the tag \ref{def label} below or you can use \autoref{def label}.
\end{lemma}
\begin{corollary}
- The usage is the same as above, refer to the tag \ref{def label} below or you can \autoref{def label}.
+ The usage is the same as above, refer to the tag \ref{def label} below or you can use \autoref{def label}.
\end{corollary}
\newpage
\begin{example}
- The usage is the same as above, refer to the tag \ref{def label} below or you can \autoref{def label}.
+ The usage is the same as above, refer to the tag \ref{def label} below or you can use \autoref{def label}.
\end{example}
\subsection*{Ancient style box}
\begin{fancybox}
diff --git a/Master/texmf-dist/doc/latex/beautybook/inner_pics/beautybook-logo.png b/Master/texmf-dist/doc/latex/beautybook/inner_pics/beautybook-logo.png
new file mode 100644
index 00000000000..9a1c819103b
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/beautybook/inner_pics/beautybook-logo.png
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/beautybook/inner_pics/hummingbird-8013214.jpg b/Master/texmf-dist/doc/latex/beautybook/inner_pics/hummingbird-8013214.jpg
new file mode 100644
index 00000000000..424cd0909ff
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/beautybook/inner_pics/hummingbird-8013214.jpg
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/beautybook/inner_pics/logo.png b/Master/texmf-dist/doc/latex/beautybook/inner_pics/logo.png
deleted file mode 100644
index 470edd8a518..00000000000
--- a/Master/texmf-dist/doc/latex/beautybook/inner_pics/logo.png
+++ /dev/null
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/beautybook/inner_pics/mystery-1599527.jpg b/Master/texmf-dist/doc/latex/beautybook/inner_pics/mystery-1599527.jpg
new file mode 100644
index 00000000000..19c0518b005
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/beautybook/inner_pics/mystery-1599527.jpg
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/beautybook/inner_pics/titleimages/c10.pdf b/Master/texmf-dist/doc/latex/beautybook/inner_pics/titleimages/c10.pdf
new file mode 100644
index 00000000000..76256c2f825
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/beautybook/inner_pics/titleimages/c10.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/beautybook/inner_pics/titleimages/c11.pdf b/Master/texmf-dist/doc/latex/beautybook/inner_pics/titleimages/c11.pdf
new file mode 100644
index 00000000000..b100782f856
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/beautybook/inner_pics/titleimages/c11.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/beautybook/inner_pics/titleimages/c9.pdf b/Master/texmf-dist/doc/latex/beautybook/inner_pics/titleimages/c9.pdf
new file mode 100644
index 00000000000..98d9e6a8640
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/beautybook/inner_pics/titleimages/c9.pdf
Binary files differ