Skip to content

Add theme support for HUST#33

Open
Lucas04-nhr wants to merge 5 commits intoliu-qilong:mainfrom
Lucas04-nhr:main
Open

Add theme support for HUST#33
Lucas04-nhr wants to merge 5 commits intoliu-qilong:mainfrom
Lucas04-nhr:main

Conversation

@Lucas04-nhr
Copy link

Due to capability reasons, I use PDF format for the background and logo.

Copilot AI review requested due to automatic review settings December 17, 2025 07:36
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds theme support for Huazhong University of Science and Technology (HUST) to the collegeBeamer template system, using PDF format for assets instead of PNG.

Key Changes:

  • Added HUST theme option with custom colors and PDF-based logos/background
  • Updated example in pre.tex to demonstrate HUST theme usage
  • Introduced latexmkrc build configuration file

Reviewed changes

Copilot reviewed 3 out of 6 changed files in this pull request and generated 2 comments.

File Description
collegebeamer.sty Adds HUST theme option with RGB color scheme and PDF asset paths
pre.tex Updates documentation, example usage, and metadata to showcase HUST theme
.latexmkrc Adds new LaTeX build configuration for XeLaTeX compilation with custom settings

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

$force_mode = 0;

# Ensure miniconda bin is on PATH for runtime tools (e.g., minted executable, pygmentize)
$ENV{'PATH'} = '$YOUR_CUSTOM_FILE_PATH:' . $ENV{'PATH'};
Copy link

Copilot AI Dec 17, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line contains a placeholder string that should not be committed to the repository. The literal string '$YOUR_CUSTOM_FILE_PATH' will be added to the PATH environment variable, which is incorrect. Either replace this with an actual path if needed, or remove this line entirely if custom PATH modification is not required for the basic functionality of the template.

Copilot uses AI. Check for mistakes.
Comment on lines +1 to +2
# Use XeLaTeX by default (pdf_mode=5)
$pdf_mode = 5;
Copy link

Copilot AI Dec 17, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This new configuration file lacks documentation explaining its purpose and usage. Consider adding a comment at the top of the file explaining when and why users should use this latexmkrc configuration, especially since the README doesn't mention it and other users may already have their own latexmkrc configurations.

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants