Closed vectorliu closed 7 years ago
Change the font setting in your main file. Reading an introduction seems to be a good idea as well.
Am 24.02.2017 06:18 schrieb "vectorliu" notifications@github.com:
What is the fastest way to configure the template to support Chinese language? I figured I might have to modify the awesome-cv.cls file. So can it be:
1.
Add required fonts to the fonts/ directory; 2.
Change the font configuration in the cls file.
However, it is not that elegant since in this way I have to change the cls file again if I want to use the original English language font. So is there a more elegant way? Sorry if the question is naive. I am just new to Latex.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/posquit0/Awesome-CV/issues/109, or mute the thread https://github.com/notifications/unsubscribe-auth/AH4EjlRVRc51UoEjCgIOv0qjfW_NUC0Pks5rfmgJgaJpZM4MK1kf .
@johannesbottcher ,did you mean the following changes made to the main file:
\renewcommand{\footerfont}{\Kaiti} \renewcommand{\bodyfont}{\Kaiti} \renewcommand*{\bodyfontlight}{\STFangsong}
Just tried and it induced a lot more font-related errors.
I use xeCJK package to build my Chinese cv:
\usepackage{xeCJK}
add this line into the fontawsome.sty file
Thanks@BrianHuGit. Problem solved.
Guys, you can't just change a file that you don't own. There is a license that needs to be respected. Add the package to your main file.
Sorry if it breaks some license. We will add this package in the main file, which solves the problem anyway. Thanks for your kindly remind.
@BrianHuGit , where can I find fontawsome.sty
?
@BrianHuGit , where can I find
fontawsome.sty
?
I added the line just after the \documentclass preamble line. But it doesn't apply the font to the whole page. I don't know how.
@BrianHuGit , where can I find
fontawsome.sty
?
add into awesome-cv.cls
can also work @77QingLiu
@BrianHuGit , where can I find
fontawsome.sty
?
I find fontawsome.sty
in https://github.com/plorcupine/latex-fontawesome. Thanks latex-fontawesome
What is the fastest way to configure the template to support Chinese language? I figured I might have to modify the awesome-cv.cls file. So can it be:
Add required fonts to the fonts/ directory;
Change the font configuration in the cls file.
However, it is not that elegant since in this way I have to change the cls file again if I want to use the original English language font. So is there a more elegant way? Sorry if the question is naive. I am just new to Latex.