《LaTeX入门》章节试读

出版社:电子工业出版社
出版日期:2013-6-1
ISBN:9787121202087
作者:刘海洋
页数:566页

《LaTeX入门》的笔记-第8页 - 让LaTeX跑起来

对于Linux系统用户,还需要设置环境变量并为XeTeX配置字体。设置Linux环境变量的方式参见(略),我建议偷懒的用户在安装时选择在标准路径下创建符号链接的选项,这样就不必设置环境变量了。1,若你是通过包管理安装就不必再为XeTeX配置字体了(包管理应该已经帮你做好了)
2,不要偷这个懒,否则卸载或冲突的时候有你好受233

《LaTeX入门》的笔记-第108页 - 2.2.4 定理类环境

一则bug:
第一版,第4次印刷,108页,例2-2-41、2-2-42。
2-2-41中,
\theoremsymbol{\mbox{$\Box$}}
一句话中,\Box 命令是一个没有定义在 LaTeX 内核中的符号。AMS 的字体包或者有任何 AMS 数学符号的字体包都可以,用更简单的 latexsym 也会包含此符号。
2-2-42的运行结果没有这条命令所描述的证毕符号。该错误是由于xeCJK 的 CheckSingle 选项与 ntheorem 不兼容造成的。这一bug参见:
https://github.com/CTeX-org/ctex-kit/issues/174
如果你用到证明环境的符号,又希望使用 xeCJK 的 CheckSingle 选项的话,可以暂时设置
\theorembodyfont{其他字体设置\xeCJKsetup{CheckSingle=false}}
来避过这个问题。
自第二次印刷起引入了该错误。
参考作者cauchy@BDWM BBS的帖子:
http://www.bdwm.net/bbs/bbstcon.php?board=MathTools&threadid=15410891

《LaTeX入门》的笔记-第1页

Latex environments
http://www.personal.ceu.hu/tex/environ.htm
http://latex.wikia.com/wiki/List_of_LaTeX_environments#math_environment
\begin{description}
\item [label] First item
\item [label] Second item
\end{description}\begin{math}
a+b+c+d+e+f\\+i+j+k+l+m+n
\end{math}\begin{itemize}
\item \wbalsup{Wikimedia}
\item \wbalsup{lots of users!}
\item \wbalTwo{John}{Doe}
\end{itemize}
"align" environment\begin{align}
a_{11}& =b_{11}&a_{12}& =b_{12}\\
a_{21}& =b_{21}&a_{22}& =b_{22}+c_{22} \\
E_0 &= mc^2\\
E&= \frac{mc^2}{\sqrt{1-\frac{v^2}{c^2}}}
\end{align}"equation" environment\begin{equation}
\label{eqnkey}
\chi(M_g) = 2-2g
As we can see from (\ref{eqnkey})
\end{equation} The same effect as dollar sign($$
\chi(M_g) = 2-2g
$$)
"eqnarray*" environment\begin{eqnarray*}
i_w\cdot\psi_v\cdot N_w&=&\psi_w\cdot i_w\cdot N_w\\
&=&\psi_w\cdot i_w\cdot\sum_{\sigma\in G_w}\sigma\\
&=&\psi_w\cdot\sum_{\sigma\in G_w}\sigma\\
&=& i_w\cdot N_w\cdot\psi_w.
\end{eqnarray*}
"array" environment($$\begin{array}{rcccl}
\; & \; & G &\; &\; \\
\; & \nearrow & \; & \nwarrow &\; \\
H & \; & \; & \; &\text{Stab}_G(\eta) \\
\; & \nwarrow & \; & \nearrow &\; \\
\; & \; & H_{_\rho} & \; &\; \\
\; & \; & \mid &\; &\; \\
\; & \; & K &\; &\;
\end{array}$$)
Examples show how to create of my own commends, and change font type.\begin{align}
\newcommand{\wbal}{The\;Wikibook\;about\;\LaTeX}
&This\;is\;‘‘\wbal''\;\ldots{} \\
&\textbf{Apply different font type}
\end{align}


 LaTeX入门下载 更多精彩书评


 

外国儿童文学,篆刻,百科,生物科学,科普,初中通用,育儿亲子,美容护肤PDF图书下载,。 零度图书网 

零度图书网 @ 2024