### Installation and Compilation via TeX Live Source: https://context7.com/hust-latex/hustthesis/llms.txt Commands for installing the package and compiling the thesis document. ```bash # Install hustthesis from CTAN tlmgr install hustthesis # Update to latest version tlmgr update hustthesis # User-mode installation (no admin rights required) tlmgr --usermode install hustthesis tlmgr --usermode update hustthesis # Compile a thesis document xelatex main.tex biber main xelatex main.tex xelatex main.tex # Or using latexmk for automated compilation latexmk -xelatex main.tex ``` -------------------------------- ### Complete Thesis Document Structure Example Source: https://context7.com/hust-latex/hustthesis/llms.txt A comprehensive example demonstrating the full structure of a thesis document, including document class declaration, \hustsetup for metadata, bibliography setup, and the use of \maketitle, \frontmatter, \mainmatter, \backmatter, and \appendix. ```latex \documentclass[type=doctor]{hustthesis} \hustsetup { info = { title = { 论文中文标题 }, title* = { English Thesis Title }, degree = { academic }, degree* = { Engineering }, author = { 作者姓名 }, author* = { AUTHOR Name }, student-id = { D201234567 }, major = { 专业名称 }, major* = { Major Name }, supervisor = { 导师姓名\quad{} 教授 }, supervisor* = { Prof.~ Supervisor Name }, }, } \addbibresource{references.bib} % BibLaTeX bibliography file \begin{document} \maketitle % Generates all cover pages automatically \frontmatter % Switches to Roman numerals for page numbers \begin{abstract} 这里是中文摘要内容。摘要应概括论文的主要内容、研究方法和结论。 \keywords 关键词1;关键词2;关键词3 \end{abstract} \begin{abstract*} This is the English abstract content. The abstract should summarize the main content, research methods, and conclusions of the thesis. \keywords* keyword1, keyword2, keyword3 \end{abstract*} \tableofcontents % Generates table of contents \mainmatter % Switches to Arabic numerals for page numbers \chapter{绪论} \section{研究背景} 正文内容开始... \chapter{相关工作} \section{文献综述} 引用示例 \cite{author2024paper}。 \backmatter % Back matter section \begin{acknowledgements} 感谢导师的悉心指导... \end{acknowledgements} \printbibliography % Prints the bibliography \appendix % Appendix section \chapter{附录A:补充材料} 附录内容... \end{document} ``` -------------------------------- ### Install or Update hustthesis via tlmgr Source: https://github.com/hust-latex/hustthesis/blob/main/README.md Use these commands to manage the package installation within a TeX Live environment. ```bash tlmgr [--usermode] install hustthesis tlmgr [--usermode] update hustthesis ``` -------------------------------- ### Setup Thesis Information with \hustsetup Source: https://context7.com/hust-latex/hustthesis/llms.txt Use the \hustsetup command to configure thesis metadata including titles, author details, student ID, classification, major, supervisor, date, and defense committee members. Supports both Chinese and English fields. ```latex \hustsetup { info = { title = { 基于深度学习的图像识别研究 }, title* = { Research on Image Recognition Based on Deep Learning }, degree = { academic }, % Options: academic, professional degree* = { Engineering }, % English discipline: Engineering, Science, Arts, etc. author = { 张三 }, author* = { ZHANG San }, student-id = { D201234567 }, clc = { TP391.4 }, % Chinese Library Classification number major = { 计算机科学与技术 }, major* = { Computer Science and Technology }, supervisor = { 李四\quad{} 教授 }, supervisor* = { Prof.~ LI Si }, date = { 2025-06-15 }, % Format: YYYY-MM-DD (auto-generated if omitted) secret = { }, % Classification level (optional) committee = { 王五 & 教授 & 华中科技大学, 赵六 & 教授 & 武汉大学, 钱七 & 研究员 & 中国科学院 }, }, style = { toc-depth = section, % Options: section, subsection }, } ``` -------------------------------- ### Abstract Environments with Keywords Source: https://context7.com/hust-latex/hustthesis/llms.txt Define Chinese and English abstracts using the \begin{abstract} and \begin{abstract*} environments respectively. Add keywords using the \keywords and \keywords* commands at the end of each abstract. ```latex \begin{abstract} 本文研究了基于卷积神经网络的图像分类方法。通过引入注意力机制, 提升了模型在小样本场景下的泛化能力。实验结果表明,所提方法在 多个公开数据集上取得了优异的性能。 \keywords 深度学习;图像分类;注意力机制;卷积神经网络 \end{abstract} \begin{abstract*} This paper investigates image classification methods based on convolutional neural networks. By introducing attention mechanisms, the generalization ability of the model in few-shot scenarios is improved. Experimental results demonstrate that the proposed method achieves excellent performance on multiple public datasets. \keywords* deep learning, image classification, attention mechanism, CNN \end{abstract*} ``` -------------------------------- ### Acknowledgements Environment Source: https://context7.com/hust-latex/hustthesis/llms.txt Environment for creating a formatted acknowledgements section that appears in the table of contents. ```latex \backmatter \begin{acknowledgements} 在论文完成之际,我要感谢我的导师XX教授在学术研究和论文撰写过程中 给予的悉心指导和帮助。感谢实验室的各位同学在日常学习中的相互帮助 和支持。感谢我的家人一直以来的理解和支持。 最后,感谢hustthesis文档类的开发者们提供的优秀模板。 \end{acknowledgements} ``` -------------------------------- ### Anonymous Review Mode Configuration Source: https://context7.com/hust-latex/hustthesis/llms.txt Settings to hide author information for blind review submissions. ```latex \documentclass[type=doctor, anonymous=true]{hustthesis} % Or with custom anonymous field list \documentclass[ type=doctor, anonymous=true, anonymous-list={author, student_id, supervisor, author_en, supervisor_en} ]{hustthesis} \hustsetup { info = { title = { 论文标题 }, title* = { Thesis Title }, author = { 张三 }, % Will be hidden in anonymous mode author* = { ZHANG San }, % Will be hidden in anonymous mode supervisor = { 李四 教授 }, % Will be hidden in anonymous mode % ... other fields }, } ``` -------------------------------- ### Font Configuration Options Source: https://context7.com/hust-latex/hustthesis/llms.txt Document class options for configuring fonts based on operating system or custom requirements. ```latex % Automatic font detection (default) \documentclass[type=doctor]{hustthesis} % Windows fonts \documentclass[type=doctor, fontset=win]{hustthesis} % macOS fonts \documentclass[type=doctor, fontset=mac]{hustthesis} % macOS with Microsoft Office fonts \documentclass[type=doctor, fontset=macoffice]{hustthesis} % Fandol free fonts (cross-platform) \documentclass[type=doctor, fontset=fandol]{hustthesis} % Custom font configuration \documentclass[type=doctor, latin-font=gyre, cjk-font=fandol]{hustthesis} % Math font options: xits (default), cambria, libertinus, newcm, etc. \documentclass[type=doctor, math-font=xits]{hustthesis} ``` -------------------------------- ### Cover Page Generation Source: https://context7.com/hust-latex/hustthesis/llms.txt Commands for generating thesis cover pages, either automatically or manually for custom ordering. ```latex % Automatic cover generation (recommended) \maketitle % Generates: Chinese cover -> Committee (doctoral) -> English cover -> Declaration % Manual cover generation for custom ordering \makezhtitle % Chinese title page only \makecommittee % Defense committee page (doctoral dissertations) \makeentitle % English title page only \makedecl % Declaration of originality and authorization ``` -------------------------------- ### Bibliography Management with BibLaTeX Source: https://context7.com/hust-latex/hustthesis/llms.txt Configuration and citation commands for BibLaTeX, conforming to GB/T 7714-2015 standards. ```latex % In preamble \addbibresource{references.bib} % In document body - citation examples 单篇文献引用 \cite{wang2023deep}。 多篇文献引用 \cite{li2022neural, zhang2023attention}。 作者年份引用 \parencite{chen2024transformer}。 仅作者名称 \citeauthor{liu2023model}。 % At end of document (before appendix) \backmatter \printbibliography ``` ```bibtex @article{wang2023deep, title = {Deep Learning for Image Recognition}, author = {Wang, Lei and Li, Ming}, journal = {IEEE Transactions on Pattern Analysis}, year = {2023}, volume = {45}, number = {3}, pages = {1234--1248} } @book{zhang2022machine, title = {机器学习导论}, author = {张伟 and 李华}, publisher = {清华大学出版社}, year = {2022}, location = {北京} } ``` -------------------------------- ### Sectioning Commands in LaTeX Source: https://context7.com/hust-latex/hustthesis/llms.txt Standard sectioning commands with special variants for unnumbered chapters that appear in the table of contents. ```latex \chapter{第一章标题} % Numbered chapter (appears in TOC) \section{第一节标题} % Numbered section \subsection{小节标题} % Numbered subsection \chapter*{致谢} % Unnumbered chapter (NOT in TOC) \chapter**{附录A} % Unnumbered chapter (appears in TOC) % Example usage in appendix \appendix \chapter**{实验数据} % Unnumbered appendix chapter in TOC \chapter**{源代码} % Another unnumbered appendix in TOC ``` -------------------------------- ### Set Thesis Type and Compilation Options Source: https://context7.com/hust-latex/hustthesis/llms.txt Configure the thesis type (doctoral or master's) and compilation settings like anonymous mode or draft mode using document class options. ```latex % Doctoral thesis (default) \documentclass[type=doctor]{hustthesis} % Master's thesis \documentclass[type=master]{hustthesis} % Enable anonymous/blind review mode (hides author information) \documentclass[type=doctor, anonymous=true]{hustthesis} % Draft mode for faster compilation \documentclass[type=doctor, draft=true]{hustthesis} ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.