Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chinese language font support #109

Closed
vectorliu opened this issue Feb 24, 2017 · 10 comments
Closed

Chinese language font support #109

vectorliu opened this issue Feb 24, 2017 · 10 comments

Comments

@vectorliu
Copy link

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.

@johannesbottcher
Copy link
Contributor

johannesbottcher commented Feb 24, 2017 via email

@vectorliu
Copy link
Author

@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.

@brianhu-tw
Copy link

I use xeCJK package to build my Chinese cv:

\usepackage{xeCJK}

add this line into the fontawsome.sty file

@vectorliu
Copy link
Author

Thanks@BrianHuGit. Problem solved.

@johannesbottcher
Copy link
Contributor

johannesbottcher commented Feb 25, 2017

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.

@vectorliu
Copy link
Author

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.

@77QingLiu
Copy link

@BrianHuGit , where can I find fontawsome.sty?

@SiqingYu
Copy link

SiqingYu commented Oct 25, 2018

@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.

@Littlesqx
Copy link

Littlesqx commented Feb 10, 2019

@BrianHuGit , where can I find fontawsome.sty?

add into awesome-cv.cls can also work @77QingLiu

@linjh1118
Copy link

@BrianHuGit , where can I find fontawsome.sty?

I find fontawsome.sty in https://github.com/plorcupine/latex-fontawesome. Thanks latex-fontawesome

Repository owner locked and limited conversation to collaborators May 9, 2024
@OJFord OJFord converted this issue into discussion #522 May 9, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants