Loading data/chap02.tex +18 −0 Changes for data/chap02.tex: 18 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -122,6 +122,24 @@ \end{tabularx} \end{table} 如果表格横向宽度不够,可以使用 \pkg{sidewaystable} 将表格旋转90度,如表~\ref{tab:three-line-rotate}。 \begin{sidewaystable} \centering \caption{旋转90度的三线表示例} \begin{tabular}{ll} \toprule 文件名 & 描述 \\ \midrule thuthesis.dtx & 模板的源文件,包括文档和注释 \\ thuthesis.cls & 模板文件 \\ thuthesis-*.bst & BibTeX 参考文献表样式文件 \\ thuthesis-*.bbx & BibLaTeX 参考文献表样式文件 \\ thuthesis-*.cbx & BibLaTeX 引用样式文件 \\ \bottomrule \end{tabular} \label{tab:three-line-rotate} \end{sidewaystable} 如果您要排版的表格长度超过一页,那么推荐使用 \pkg{longtable} 或者 \pkg{supertabular} Loading data/chap04.tex +8 −1 Changes for data/chap04.tex: 8 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -16,6 +16,9 @@ 在顺序编码制下,默认的 \cs{cite} 命令同 \cs{citep} 一样,即序号置于方括号中,引文页码会放在括号外。统一处引用的连续序号会自动用短横线连接。如多次引用同一文献,可能需要标注页码,例如:引用第二页\cite[2]{zhangkun1994},引用第五页\cite[5]{zhangkun1994}。 { \small \noindent \begin{tabular}{l@{\quad$\Rightarrow$\quad}l} \verb|\cite{zhangkun1994}| & \cite{zhangkun1994} {\kaishu 不带页码的上标引用} \\ \verb|\citet{zhangkun1994}| & \citet{zhangkun1994} \\ Loading @@ -23,6 +26,7 @@ \verb|\cite[42]{zhangkun1994}| & \cite[42]{zhangkun1994} {\kaishu 手动带页码的上标引用} \\ \verb|\cite{zhangkun1994,zhukezhen1973}| & \cite{zhangkun1994,zhukezhen1973} {\kaishu 一次多篇文献的上标引用} \\ \end{tabular} } \section{著者-出版年制} Loading @@ -31,6 +35,9 @@ \thusetup{ cite-style = author-year, } { \small \noindent \begin{tabular}{l@{\quad$\Rightarrow$\quad}l} \verb|\cite{zhangkun1994}| & \cite{zhangkun1994} \\ \verb|\citet{zhangkun1994}| & \citet{zhangkun1994} \\ Loading @@ -38,7 +45,7 @@ \verb|\cite[42]{zhangkun1994}| & \cite[42]{zhangkun1994} \\ \verb|\citep{zhangkun1994,zhukezhen1973}| & \citep{zhangkun1994,zhukezhen1973} \\ \end{tabular} } \subsection{其他引用注意事项} \thusetup{ Loading sustech-setup.tex +2 −43 Changes for sustech-setup.tex: 2 added lines, 43 removed lines. Original line number Diff line number Diff line Loading @@ -137,6 +137,8 @@ % 定义所有的图片文件在 figures 子目录下 \graphicspath{{figures/}} % \enabledraftmode % 启用图片草稿模式,会以文字占位符替代图片,加快大量插入大尺寸图片时的编译速度,用于学位论文的调试,默认不启用 % 数学命令 \newcommand\dif{\mathop{}\!\mathrm{d}} % 微分符号 Loading Loading @@ -199,46 +201,3 @@ \newcolumntype{Z}{>{\raggedleft\arraybackslash}X} % A 居中对齐 \newcolumntype{A}{>{\centering\arraybackslash}X} % 表格旋转 \usepackage{rotating} \newcommand\undefcolumntype[1]{\expandafter\let\csname NC@find@#1\endcsname\relax} \newcommand\forcenewcolumntype[1]{\undefcolumntype{#1}\newcolumntype{#1}} % 定义draft模式的条件 \newif\ifdraftmode \draftmodefalse % 默认关闭draft模式 % 定义一个命令来开启draft模式 \newcommand{\enabledraftmode}{% \draftmodetrue \PassOptionsToPackage{draft}{graphicx} \PassOptionsToPackage{draft}{hyperref} \ifdefined\oldincludegraphics\else \let\oldincludegraphics\includegraphics \fi \renewcommand{\includegraphics}[2][]{% \begingroup \def\draftimagearg{##2}% \def\draftimageopts{##1}% \sbox0{\oldincludegraphics[##1]{##2}}% \fbox{\parbox[c][\ht0]{\wd0}{\centering Draft Image:\\\texttt{\draftimagearg}}}% \endgroup } \overfullrule=5pt % 显示溢出的箱子 } % 定义一个命令来关闭draft模式(如果需要的话) \newcommand{\disabledraftmode}{% \draftmodefalse \PassOptionsToPackage{final}{graphicx} \PassOptionsToPackage{final}{hyperref} \ifdefined\oldincludegraphics \let\includegraphics\oldincludegraphics \fi \overfullrule=0pt } No newline at end of file sustechthesis-example-report.tex +0 −2 Changes for sustechthesis-example-report.tex: 0 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -32,8 +32,6 @@ % 5. 作者姓名、指导教师等 \input{sustech-setup} % \enabledraftmode % 启用草稿模式,会以文字占位符替代图片,加快大量插入大尺寸图片时的编译速度,用于学位论文的调试,默认不启用 \begin{document} % 封面 Loading sustechthesis-example.tex +0 −2 Changes for sustechthesis-example.tex: 0 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -32,8 +32,6 @@ % 5. 修改degree-type的值, 默认academic代表生成学术型研究生毕业设计模板, 改为professional则将生成专业型研究生毕业设计模板。 \input{sustech-setup} % \enabledraftmode % 启用草稿模式,会以文字占位符替代图片,加快大量插入大尺寸图片时的编译速度,用于学位论文的调试,默认不启用 \begin{document} % 封面 Loading Loading
data/chap02.tex +18 −0 Changes for data/chap02.tex: 18 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -122,6 +122,24 @@ \end{tabularx} \end{table} 如果表格横向宽度不够,可以使用 \pkg{sidewaystable} 将表格旋转90度,如表~\ref{tab:three-line-rotate}。 \begin{sidewaystable} \centering \caption{旋转90度的三线表示例} \begin{tabular}{ll} \toprule 文件名 & 描述 \\ \midrule thuthesis.dtx & 模板的源文件,包括文档和注释 \\ thuthesis.cls & 模板文件 \\ thuthesis-*.bst & BibTeX 参考文献表样式文件 \\ thuthesis-*.bbx & BibLaTeX 参考文献表样式文件 \\ thuthesis-*.cbx & BibLaTeX 引用样式文件 \\ \bottomrule \end{tabular} \label{tab:three-line-rotate} \end{sidewaystable} 如果您要排版的表格长度超过一页,那么推荐使用 \pkg{longtable} 或者 \pkg{supertabular} Loading
data/chap04.tex +8 −1 Changes for data/chap04.tex: 8 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -16,6 +16,9 @@ 在顺序编码制下,默认的 \cs{cite} 命令同 \cs{citep} 一样,即序号置于方括号中,引文页码会放在括号外。统一处引用的连续序号会自动用短横线连接。如多次引用同一文献,可能需要标注页码,例如:引用第二页\cite[2]{zhangkun1994},引用第五页\cite[5]{zhangkun1994}。 { \small \noindent \begin{tabular}{l@{\quad$\Rightarrow$\quad}l} \verb|\cite{zhangkun1994}| & \cite{zhangkun1994} {\kaishu 不带页码的上标引用} \\ \verb|\citet{zhangkun1994}| & \citet{zhangkun1994} \\ Loading @@ -23,6 +26,7 @@ \verb|\cite[42]{zhangkun1994}| & \cite[42]{zhangkun1994} {\kaishu 手动带页码的上标引用} \\ \verb|\cite{zhangkun1994,zhukezhen1973}| & \cite{zhangkun1994,zhukezhen1973} {\kaishu 一次多篇文献的上标引用} \\ \end{tabular} } \section{著者-出版年制} Loading @@ -31,6 +35,9 @@ \thusetup{ cite-style = author-year, } { \small \noindent \begin{tabular}{l@{\quad$\Rightarrow$\quad}l} \verb|\cite{zhangkun1994}| & \cite{zhangkun1994} \\ \verb|\citet{zhangkun1994}| & \citet{zhangkun1994} \\ Loading @@ -38,7 +45,7 @@ \verb|\cite[42]{zhangkun1994}| & \cite[42]{zhangkun1994} \\ \verb|\citep{zhangkun1994,zhukezhen1973}| & \citep{zhangkun1994,zhukezhen1973} \\ \end{tabular} } \subsection{其他引用注意事项} \thusetup{ Loading
sustech-setup.tex +2 −43 Changes for sustech-setup.tex: 2 added lines, 43 removed lines. Original line number Diff line number Diff line Loading @@ -137,6 +137,8 @@ % 定义所有的图片文件在 figures 子目录下 \graphicspath{{figures/}} % \enabledraftmode % 启用图片草稿模式,会以文字占位符替代图片,加快大量插入大尺寸图片时的编译速度,用于学位论文的调试,默认不启用 % 数学命令 \newcommand\dif{\mathop{}\!\mathrm{d}} % 微分符号 Loading Loading @@ -199,46 +201,3 @@ \newcolumntype{Z}{>{\raggedleft\arraybackslash}X} % A 居中对齐 \newcolumntype{A}{>{\centering\arraybackslash}X} % 表格旋转 \usepackage{rotating} \newcommand\undefcolumntype[1]{\expandafter\let\csname NC@find@#1\endcsname\relax} \newcommand\forcenewcolumntype[1]{\undefcolumntype{#1}\newcolumntype{#1}} % 定义draft模式的条件 \newif\ifdraftmode \draftmodefalse % 默认关闭draft模式 % 定义一个命令来开启draft模式 \newcommand{\enabledraftmode}{% \draftmodetrue \PassOptionsToPackage{draft}{graphicx} \PassOptionsToPackage{draft}{hyperref} \ifdefined\oldincludegraphics\else \let\oldincludegraphics\includegraphics \fi \renewcommand{\includegraphics}[2][]{% \begingroup \def\draftimagearg{##2}% \def\draftimageopts{##1}% \sbox0{\oldincludegraphics[##1]{##2}}% \fbox{\parbox[c][\ht0]{\wd0}{\centering Draft Image:\\\texttt{\draftimagearg}}}% \endgroup } \overfullrule=5pt % 显示溢出的箱子 } % 定义一个命令来关闭draft模式(如果需要的话) \newcommand{\disabledraftmode}{% \draftmodefalse \PassOptionsToPackage{final}{graphicx} \PassOptionsToPackage{final}{hyperref} \ifdefined\oldincludegraphics \let\includegraphics\oldincludegraphics \fi \overfullrule=0pt } No newline at end of file
sustechthesis-example-report.tex +0 −2 Changes for sustechthesis-example-report.tex: 0 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -32,8 +32,6 @@ % 5. 作者姓名、指导教师等 \input{sustech-setup} % \enabledraftmode % 启用草稿模式,会以文字占位符替代图片,加快大量插入大尺寸图片时的编译速度,用于学位论文的调试,默认不启用 \begin{document} % 封面 Loading
sustechthesis-example.tex +0 −2 Changes for sustechthesis-example.tex: 0 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -32,8 +32,6 @@ % 5. 修改degree-type的值, 默认academic代表生成学术型研究生毕业设计模板, 改为professional则将生成专业型研究生毕业设计模板。 \input{sustech-setup} % \enabledraftmode % 启用草稿模式,会以文字占位符替代图片,加快大量插入大尺寸图片时的编译速度,用于学位论文的调试,默认不启用 \begin{document} % 封面 Loading