diff options
author | Karl Berry <karl@freefriends.org> | 2016-08-27 22:15:55 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-08-27 22:15:55 +0000 |
commit | 11c9c4d9505fbae8b108824303315d6203a2a655 (patch) | |
tree | 0d6139f60080d4acfe0f1eaa4af6b6808b9fc037 /Master/texmf-dist/doc/latex/cquthesis/contents | |
parent | 5fd39aa8867152c78c0dd8676a185880b9a797b6 (diff) |
cquthesis (27aug16)
git-svn-id: svn://tug.org/texlive/trunk@41938 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/cquthesis/contents')
3 files changed, 40 insertions, 36 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} diff --git a/Master/texmf-dist/doc/latex/cquthesis/contents/appendix.tex b/Master/texmf-dist/doc/latex/cquthesis/contents/appendix.tex index 95bd81cab29..ba542bc4e45 100644 --- a/Master/texmf-dist/doc/latex/cquthesis/contents/appendix.tex +++ b/Master/texmf-dist/doc/latex/cquthesis/contents/appendix.tex @@ -85,6 +85,10 @@ lengthSummary.to_csv('lengthSummary.csv') \begin{equation} \alpha\beta\gamma\delta\epsilon\varepsilon\zeta\eta = AB\Gamma\varGamma Z -\end{equation}\eqlist{附录中的公式编号} +\end{equation}\eqlist{附录中的公式编号1,双语}[Equation name in English A] + +\begin{equation} +\alpha\beta\gamma\delta\epsilon\varepsilon\zeta\eta = CD\Gamma\varGamma Z +\end{equation}\eqlist{附录中的公式编号2,双语}[Equation name in English B] 测试用途:theequation值为:\theequation ,thefigure值为:\thefigure ,thetable值为:\thetable diff --git a/Master/texmf-dist/doc/latex/cquthesis/contents/cover.tex b/Master/texmf-dist/doc/latex/cquthesis/contents/cover.tex index 96a01a3eec1..4a04551c451 100644 --- a/Master/texmf-dist/doc/latex/cquthesis/contents/cover.tex +++ b/Master/texmf-dist/doc/latex/cquthesis/contents/cover.tex @@ -17,6 +17,9 @@ studentid = 20128888, % 仅本科生,学号 csupervisor = 孙麟~~教授, % 导师的姓名 esupervisor = {Prof.~Lin Sun}, % 导师的姓名拼音 + cassistsupervisor = {}, % 本科生可选,助理指导教师姓名,不用时请留空为{} + cextrasupervisor = {}, % 本科生可选,校外指导教师姓名,不用时请留空为{} + eassistsupervisor = {}, % 本科生可选,助理指导教师或/和校外指导教师姓名拼音,不用时请留空为{} cpsupervisor = 丁小明~~工程师, % 仅专硕,兼职导师姓名 epsupervisor = Eng.~Xiaoming~Ding, % 仅专硕,兼职导师姓名拼音 cclass = 工学, % 博士生和学硕填学科门类,学硕填学科类型 @@ -34,12 +37,7 @@ % =================== % mycdate = {中文日期}, % myedate = {Date in English}, -% =================== -% 论文的关键词,使用英文逗号分隔 -% =================== - ckeywords = {重庆大学,\LaTeX,\LaTeXe,论文,模板}, - ekeywords = {bachelor, master, doctor, all support, white space is okay here,doctor, all support, white space is okay here} - }% End of \cqusetup +}% End of \cqusetup % =================== % % 论文的摘要 @@ -60,8 +58,8 @@ \item 预置一批优化过的宏包和小功能,包含国际标准单位、化学式支持、三线表等,可按需开启。 \end{itemize} \end{cabstract} -% 如果习惯关键字跟在摘要文字后面,可以用直接命令来设置,如下: -% \ckeywords{重庆大学,\LaTeX,\LaTeXe,论文,模板} +% 中文关键词,请使用英文逗号分隔: +\ckeywords{重庆大学,\LaTeX,\LaTeXe,论文,模板} \begin{eabstract} % 英文摘要 LaTeX is a document preparation system for high-quality typesetting. It is most often used for medium-to-large technical or scientific documents but it can be used for almost any form of publishing. @@ -79,6 +77,7 @@ \end{enumerate} (Quote from \textit{https://latex-project.org/intro.html}) \end{eabstract} +% 英文关键词,请使用英文逗号分隔,关键词内可以空格: +\ekeywords{bachelor, master, doctor, all support, white space is okay here} -% \ekeywords{bachelor, master, doctor, all support, white space is okay here} % 封面和摘要配置完成 |