How johnsonlo00/dlmuthesis works
Main Components
• Thesis Template Core: At the heart is the document class file (dlmuthesis.cls) and associated style files (e.g., dlmuthesis-bachelor.bst). This component encapsulates macro definitions and formatting rules.
• Main Document Files (“Main Bodies”): The main_<type>.tex files (for BAhumanities, BAstem, DOC, MA), along with their corresponding chapters and auxiliary texts (found in the mainbody folder), represent the different thesis modes envisioned in the template.
• Figures and Assets: The figures directory holds images (logo, signatures, and chapter-specific images) which are used for thesis cover pages and inside content.
• Code Samples: The codes folder contains sample source code files (in C++, Java, MATLAB, Python). These serve as examples or content inserts for code listings in the thesis.
• Supporting Documents & Manuals: Files like guidebook_of_dlmuthesis.pdf provide documentation and usage instructions.
• Bibliography Resources: The refs folder contains bibliography files (.bib) and additional configuration related to references.
• Miscellaneous Archives: The misc directory holds additional samples or “dead” files that, while not core to the template’s operation, provide extra reference material for special cases.
Relationships and Interactions
• The main document files (main_<type>.tex) serve as entry points and include the sequential chapters from the mainbody subdirectories. They rely on the dlmuthesis.cls for formatting and standards.
• Build scripts (latexmkrc, Windows/macOS shell files) form a “technical wrapper” around the LaTeX compilation process, facilitating automated builds. They connect to the main documents and indirectly to all content.
• The guidebook and documentation components (guidebook_of_dlmuthesis.pdf) provide context and support for users, thereby linking to the entire template system.
Architectural Patterns and Design Principles
• Modular Design: Notice that each degree mode (BAhumanities, BAstem, DOC, MA) is isolated in its own subfolder for main body content, enabling clean separation and easy updates.
• Separation of Concerns: The template distinguishes between code listings (codes), graphic assets (figures), textual content (mainbody), and bibliographic data (refs). This separation aids maintainability.
• Reusability: The core document class (dlmuthesis.cls) centralizes all styling rules, ensuring that any change applies uniformly across theses.
• Automation and Integration: The presence of build scripts and configuration files (latexmkrc) points to a focus on reliable, automated document compilation.
Relevant Technologies and Tools
• LaTeX and its distribution (2022 edition or above) are fundamental.
• Automation is managed via latexmk (invoked by configuration files and batch/shell scripts).
• Auxiliary tools (possibly a PDF viewer for guidebook_of_dlmuthesis.pdf) and code listings integration features (via packages predefined in the template) are also involved.