diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/cquthesis/contents/analysis.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/cquthesis/contents/analysis.tex | 53 |
1 files changed, 27 insertions, 26 deletions
diff --git a/Master/texmf-dist/doc/latex/cquthesis/contents/analysis.tex b/Master/texmf-dist/doc/latex/cquthesis/contents/analysis.tex index 8f3b6f11a18..ceb3bef2994 100644 --- a/Master/texmf-dist/doc/latex/cquthesis/contents/analysis.tex +++ b/Master/texmf-dist/doc/latex/cquthesis/contents/analysis.tex @@ -31,27 +31,28 @@ The \textbf{words} in this sentences are \textit{processed} with three different \caption[模板文件]{模板文件。如果表格的标题很长,那么在表格索引中就会很不美观,所以要像 chapter 那样在前面用中括号写一个简短的标题。这个标题会出现在索引中。} \label{tab:template-files} \begin{tabularx}{\linewidth}{lX} - \toprule[1.5pt] + \toprule {\heiti 文件名} & {\heiti 描述} \\ - \midrule[1pt] + \midrule cquthesis.cls & 模板类文件\footnote{这是一个脚注}\\ cquthesis.cfg & 模板配置文件\footnote{这是又一个脚注}\\ cqunumberical.bst & 参考文献 BIB\TeX\ 样式文件。\\ cquthesis.sty & 常用的包和命令写在这里,减轻主文件的负担。\footnote{同一页上的脚注最多支持到10个}\\ - \bottomrule[1.5pt] + \bottomrule \end{tabularx} \end{minipage} \end{table} 首先来看一个最简单的表格。\autoref{tab:template-files} 列举了本模板主要文件及其功能。请大家注意三线表中各条线对应的命令。这个例子还展示了如何在表格中正确使用脚注。由于 \LaTeX{} 本身不支持在表格中使用\cs{footnote},所以我们不得不将表格放在小页中,而且最好将表格的宽度设置为小页的宽度,这样脚注看起来才更美观。 -\subsection{复杂表格} +\subsection{双语题注和复杂表格} \label{sec:complicatedtable} +使用\cs{bicaption}\marg{中文}\marg{英文}可以对图或者表的浮动体添加双语题注,对方程式进行双语题注,请使用\cs{eqlist}\marg{中文}\oarg{英文},注意括号。 我们经常会在表格下方标注数据来源,或者对表格里面的条目进行解释。前面的脚注是一种不错的方法,如果不喜欢脚注,可以在表格后面写注释,比如\autoref{tab:tabexamp1}。 \begin{table}[htbp] \centering - \caption{复杂表格示例 1} + \bicaption{复杂表格示例}{A more structured table} \label{tab:tabexamp1} \begin{minipage}[t]{0.8\textwidth} \begin{tabularx}{\linewidth}{|l|X|X|X|X|} @@ -75,26 +76,26 @@ The \textbf{words} in this sentences are \textit{processed} with three different \caption{第一个并排子表格} \label{tab:parallel1} \begin{tabular}{p{2cm}p{2cm}} - \toprule[1.5pt] - No. & Name \\\midrule[1pt] + \toprule + No. & Name \\\midrule \xuhao[1] & Fox \\ \xuhao & Panda \\ \xuhao & Dog \\ - \bottomrule[1.5pt] + \bottomrule \end{tabular} \end{minipage}% \setxuhao[2] \begin{minipage}{0.5\textwidth} \centering - \caption{第二个并排子表格} + \bicaption{第二个并排子表格}{The second subtable in one row} \label{tab:parallel2} \begin{tabular}{p{2cm}p{2cm}} - \toprule[1.5pt] - No. & Name \\\midrule[1pt] + \toprule + No. & Name \\\midrule \xuhao[1] & Charlie \\ \xuhao & Jack \\ \xuhao & Tom \\ - \bottomrule[1.5pt] + \bottomrule \end{tabular} \end{minipage} \end{table} @@ -106,18 +107,18 @@ The \textbf{words} in this sentences are \textit{processed} with three different \subcaptionbox{第一个子表格} { \begin{tabular}{p{2cm}p{2cm}} - \toprule[1.5pt] - 111 & 222 \\\midrule[1pt] - 222 & 333 \\\bottomrule[1.5pt] + \toprule + 111 & 222 \\\midrule + 222 & 333 \\\bottomrule \end{tabular} } \hskip2cm \subcaptionbox{第二个子表格} { \begin{tabular}{p{2cm}p{2cm}} - \toprule[1.5pt] - 111 & 222 \\\midrule[1pt] - 222 & 333 \\\bottomrule[1.5pt] + \toprule + 111 & 222 \\\midrule + 222 & 333 \\\bottomrule \end{tabular} } \end{table} @@ -127,21 +128,21 @@ The \textbf{words} in this sentences are \textit{processed} with three different \tabref{tab:parallel1}和\tabref{tab:parallel2}展示了\cs{xuhao}和\cs{xuhao}\texttt{[1]}的使用,可以达到自动编号的效果。不过要记得在每次使用之前使用\cs{resetxuhao},或者\cs{xuhao}\texttt{[1]}。使用\cs{setxuhao}\oarg{1-6}可以更改序号的标记方式,如\tabref{tab:parallel2}所示。详细用法请参阅用户手册。 \begin{longtable}[c]{c*{6}{r}} - \caption{实验数据}\label{tab:performance}\\ - \toprule[1.5pt] + \bicaption[实验数据]{实验数据,这个题注是双语的,而且十分的长,注意这在索引中的处理方式}[Data in experiment]{Data in experiment, and this is a really long long long long long long long long long long text.}\label{tab:performance}\\ + \toprule 测试程序 & \multicolumn{1}{c}{正常运行} & \multicolumn{1}{c}{同步} & \multicolumn{1}{c}{检查点} & \multicolumn{1}{c}{卷回恢复} & \multicolumn{1}{c}{进程迁移} & \multicolumn{1}{c}{检查点} \\ & \multicolumn{1}{c}{时间 (s)}& \multicolumn{1}{c}{时间 (s)}& \multicolumn{1}{c}{时间 (s)}& \multicolumn{1}{c}{时间 (s)}& \multicolumn{1}{c}{ - 时间 (s)}& 文件(KB)\\\midrule[1pt] + 时间 (s)}& 文件(KB)\\\midrule \endfirsthead \multicolumn{7}{c}{续表~\thetable\hskip1em 实验数据}\\ - \toprule[1.5pt] + \toprule 测试程序 & \multicolumn{1}{c}{正常运行} & \multicolumn{1}{c}{同步} & \multicolumn{1}{c}{检查点} & \multicolumn{1}{c}{卷回恢复} & \multicolumn{1}{c}{进程迁移} & \multicolumn{1}{c}{检查点} \\ & \multicolumn{1}{c}{时间 (s)}& \multicolumn{1}{c}{时间 (s)}& \multicolumn{1}{c}{时间 (s)}& \multicolumn{1}{c}{时间 (s)}& \multicolumn{1}{c}{ - 时间 (s)}& 文件(KB)\\\midrule[1pt] + 时间 (s)}& 文件(KB)\\\midrule \endhead \hline \multicolumn{7}{r}{续下页} @@ -186,7 +187,7 @@ The \textbf{words} in this sentences are \textit{processed} with three different EP.B.2 & 495.49 & 0.001 & 0.009 & 0.003 & 0.196 & 2011 \\ EP.B.4 & 247.69 & 0.002 & 0.012 & 0.004 & 0.122 & 1663 \\ EP.B.8 & 126.74 & 0.003 & 0.017 & 0.005 & 0.083 & 1656 \\ - \bottomrule[1.5pt] + \bottomrule \end{longtable} 如果你要排版的表格长度超过一页,那么推荐使用 \pkg{longtable} 或者 \pkg{supertabular}宏包,模板对 \pkg{longtable} 进行了相应的设置,所以用起来可能简单一些。表~\ref{tab:performance} 就是 \pkg{longtable} 的简单示例。 @@ -415,7 +416,7 @@ p(y|\mathbf{x}) = \frac{p(\mathbf{x},y)}{p(\mathbf{x})}= $\underset{\text{amphoteres Hydroxid}}{\ce{Zn(OH)2 v}}$ <=>[+ 2OH-][+ 2H+] $\underset{\text{Hydroxozikat}}{\ce{[Zn(OH)4]^2-}}$ } -\end{equation}\eqlist{复杂的化学方程式} +\end{equation}\eqlist{复杂的化学方程式}[A sophisticated chemical equation] 这个方程式嵌套在了\pkg{equation}环境中,可用\cs{eqlist}(\cs{listeq}的别名,作用相同)来编排到索引中。 @@ -451,7 +452,7 @@ p(y|\mathbf{x}) = \frac{p(\mathbf{x},y)}{p(\mathbf{x})}= \begin{figure}[htb] % use float package if you want it here \centering \includegraphics[height=4cm]{CQUbadge.pdf} - \caption{重庆大学校徽} + \bicaption{重庆大学校徽}{Chongqing University badage} \label{fig:xfig1} \end{figure} |