Teddy-van-Jerry / SEU-ML-Assign_LaTeX_Template

LaTeX Template for Southeast University Machine Learning Assignment
https://ctan.org/pkg/seu-ml-assign
MIT License
27 stars 3 forks source link

CTex issues #1

Open RyunMi opened 2 years ago

RyunMi commented 2 years ago

First of all, thank you for the template you provided. Due to the needs of the course, Chinese documents need to be used, but when running the template, I find that an error will appear when importing \usepackage [utf8] {ctex}. Is there a solution, or is there a default method for using Chinese in the template

Teddy-van-Jerry commented 2 years ago

Thank you for your report! Since this template was initially designed for the Machine Learning course taught in English, I did not check the compatibility with ctex package. After looking into the issue, there may be several problems concerned with it. Apart from the fix to make this template compile, some additional adjustments are also required such as font, caption name, etc. I am now planning to provide a language option such as lang=cn. I will be working on this feature in the following days.

Teddy-van-Jerry commented 2 years ago

Currently, the workaround can be adding

\RequirePackage[UTF8]{ctex}

after line 31 of the cls

\LoadClass[a4paper,onecolumn,\@@ptsize]{article}

This will make the document compile but is definitely not an elegant way though.

RyunMi commented 2 years ago

Currently, the workaround can be adding


\RequirePackage[UTF8]{ctex}

after line 31 of the cls


\LoadClass[a4paper,onecolumn,\@@ptsize]{article}

This will make the document compile but is definitely not an elegant way though.

Thank you for the cool job you do!