diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/beaulivre/beaulivre-doc-cn.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/beaulivre/beaulivre-doc-cn.tex | 31 |
1 files changed, 16 insertions, 15 deletions
diff --git a/Master/texmf-dist/doc/latex/beaulivre/beaulivre-doc-cn.tex b/Master/texmf-dist/doc/latex/beaulivre/beaulivre-doc-cn.tex index c35b32fa52d..e88c128659a 100644 --- a/Master/texmf-dist/doc/latex/beaulivre/beaulivre-doc-cn.tex +++ b/Master/texmf-dist/doc/latex/beaulivre/beaulivre-doc-cn.tex @@ -1,4 +1,4 @@ -\documentclass[English,Chinese,French,allowbf]{beaulivre} +\documentclass[English,Chinese,French,JP,TC,allowbf]{beaulivre} %%================================ %% Import toolkit @@ -98,9 +98,9 @@ \fill [cyan!90!black] ($(current page.south west)+(0,7)$) rectangle ($(current page.north west)+(25,-7)$); \fill [yellow] (current page.south west) rectangle ($(current page.north west)+(3,0)$); \node[text width=10cm] at ($(current page.north west)+(8.5,-6)$) {\huge\ProjLib}; - \node[text width=6cm,text height=3.5cm,scale=2.5] at ($(current page.north west)+(11,-10)$) {\textcolor{white}{\sffamily\beaulivre{}\\[5pt]\footnotesize\hspace*{-.05em}以多彩的方式排版你的图书\\[10pt]\tiny 对应版本. \texttt{\beaulivre{} 2021/07/30}}}; + \node[text width=6cm,text height=3.5cm,scale=2.5] at ($(current page.north west)+(11,-10)$) {\textcolor{white}{\sffamily\beaulivre{}\\[5pt]\footnotesize\hspace*{-.05em}以多彩的方式排版你的图书\\[10pt]\tiny 对应版本. \texttt{\beaulivre{} 2021/08/08}}}; \node at ($(current page.south)+(1.5,3)$) {\fontsize{16pt}{0pt}\selectfont\textcolor{gray}{许锦文}}; - \node at ($(current page.south)+(1.5,2)$) {\fontsize{12pt}{0pt}\selectfont\textcolor{gray}{2021年7月,北京}}; + \node at ($(current page.south)+(1.5,2)$) {\fontsize{12pt}{0pt}\selectfont\textcolor{gray}{2021年8月,北京}}; \end{tikzpicture}% \end{titlepage}% \cleardoublepage% @@ -131,6 +131,7 @@ 为了使用这篇文档中提到的文档类,你需要: \begin{itemize} \item 安装一个尽可能新版本的 TeX Live 或 MikTeX 套装,并确保 \texttt{colorist} 和 \texttt{projlib} 被正确安装在你的 \TeX 封装中。 + \item 下载并安装所需的字体,参考“关于默认字体”这一节。 \item 熟悉 \LaTeX{} 的基本使用方式,并且知道如何用 \hologo{pdfLaTeX}、\hologo{XeLaTeX} 或 \hologo{LuaLaTeX} 编译你的文档。 \end{itemize} @@ -199,7 +200,6 @@ Référence du théorème: \cref{thm:abc} \LevelThreeTitle{初始化部分} -\medskip \begin{code} \documentclass{beaulivre} \usepackage{ProjLib} @@ -209,7 +209,6 @@ Référence du théorème: \cref{thm:abc} \LevelThreeTitle{设定语言} -\medskip \begin{code} \UseLanguage{French} \end{code} @@ -221,7 +220,6 @@ Référence du théorème: \cref{thm:abc} \LevelThreeTitle{未完成标记} -\medskip \begin{code} \dnf<(*\meta{some hint}*)> \end{code} @@ -229,7 +227,6 @@ Référence du théorème: \cref{thm:abc} \LevelThreeTitle{定理类环境} -\medskip \begin{code} \begin{theorem}\label{thm:abc} Ceci est un théorème. @@ -243,16 +240,18 @@ Référence du théorème: \cref{thm:abc} \LevelOneTitle{关于默认字体} -\lebhart{} 默认使用 Palatino Linotype 作为英文字体,方正悠宋、悠黑GBK作为中文字体,并部分使用了 Neo Euler 作为数学字体。其中,Neo Euler可以在 \url{https://github.com/khaledhosny/euler-otf} 下载。其他字体不是免费字体,需要自行购买使用。可以在方正字库网站查询详细资料:\url{https://www.foundertype.com}。 +本文档类中默认使用 Palatino Linotype 作为英文主字体,思源宋体、思源黑体、思源等宽作为中文主字体、无衬线字体以及等宽字体,并部分使用了 Neo Euler 作为数学字体。这些字体需要用户自行下载安装。其中,思源字体系列可在 \url{https://github.com/adobe-fonts} 下载 (推荐下载 Super-OTC 版本,这样下载的体积较小)。Neo Euler可以在 \url{https://github.com/khaledhosny/euler-otf} 下载。在没有安装相应的字体时,将采用TeX Live中自带的字体来代替,效果可能会有所折扣。 + +另外,还使用了 Source Code Pro 作为英文无衬线字体、New Computer Modern Mono 作为英文等宽字体,以及 Asana Math、Tex Gyre Pagella Math、Latin Modern Math 数学字体中的部分符号。这些字体在 TeX Live 或 MikTeX 中已经提供,无需自行下载安装。 \begin{itemize} - \item English main font. \textsf{English sans serif font}. - \item 中文主要字体,\textsf{中文无衬线字体} + \item English main font. \textsf{English sans serif font}. \texttt{English typewriter font}. + \item 简体中文主要字体,\textsf{简体中文无衬线字体},\texttt{简体中文等宽字体} + \item \UseOtherLanguage{TC}{繁體中文主要字體,\textsf{繁體中文無襯線字體},\texttt{繁體中文等寬字體}} + \item \UseOtherLanguage{JP}{日本語のメインフォント、\textsf{日本語のサンセリフフォント}、\texttt{日本語の等幅フォント}} \item 数学示例: \( \alpha, \beta, \gamma, \delta, 1,2,3,4, a,b,c,d \), \[\mathrm{li}(x)\coloneqq \int_2^{\infty} \frac{1}{\log t}\,\mathrm{d}t \] \end{itemize} -在没有安装相应的字体时,将采用TeX Live中自带的字体来代替,效果可能会有所折扣。 - \LevelOneTitle{选项} @@ -297,6 +296,7 @@ Référence du théorème: \cref{thm:abc} \begin{itemize} \item 纯文本模式,不加载定理类环境。 \end{itemize} +\clearpage \item \texttt{nothmnum}、\texttt{thmnum} 或 \texttt{thmnum=}\meta{counter} \begin{itemize} \item 定理类环境均不编号 / 按照 1、2、3 顺序编号 / 在 \meta{counter} 内编号。其中 \meta{counter} 应该是自带的计数器 (如 \texttt{subsection}) 或在导言部分自定义的计数器。在没有使用任何选项的情况下将按照 \texttt{chapter} (书) 或 \texttt{section} (文章) 编号。 @@ -322,7 +322,7 @@ Référence du théorème: \cref{thm:abc} \end{itemize} \item \lstinline|\UseOtherLanguage{|\meta{language name}\lstinline|}{|\meta{content}\lstinline|}|,用指定的语言的设定排版 \meta{content}。 \begin{itemize} - \item 相比较 \lstinline|\UseLanguage|,它不会对行距进行修改,因此中西文字混排时能够保持行距稳定。 + \item 相比 \lstinline|\UseLanguage|,它不会对行距进行修改,因此中西文字混排时能保持行距稳定。 \end{itemize} \end{itemize} @@ -503,11 +503,12 @@ Référence du théorème: \cref{thm:abc} \end{itemize} +\clearpage \LevelOneTitle{目前存在的问题} - \begin{itemize}[itemsep=.6em] \item 对于字体的设置仍然不够完善。 - \item 由于很多核心功能建立在 \ProjLib{} 工具箱的基础上,因此 \lebhart{} 自然继承了其所有问题。详情可以参阅 \ProjLib{} 用户文档的“目前存在的问题”这一小节。 + \item 目录的设计还不够美观。 + \item 由于很多核心功能建立在 \ProjLib{} 工具箱的基础上,因此 \colorist{} (进而 \colorart{}、\lebhart{} 与 \colorbook{}、\beaulivre{}) 自然继承了其所有问题。详情可以参阅 \ProjLib{} 用户文档的“目前存在的问题”这一小节。 \item 错误处理功能不完善,在出现一些问题时没有相应的错误提示。 \item 代码中仍有许多可优化之处。 \end{itemize} |