I found online a LaTeX template for a Chinese CV. There is a line of code:


The error is that cjk.sty not found.

So it seems that I need to install such package. However I am a beginner of Ubuntu and have no idea on how to install such font. Does anyone know how to install it?


sudo apt-get install latex-cjk-all can solve your problem

| improve this answer | |
  • 1
    That uses 0.7GB of disk space. Surely there is a more specific answer? – CPBL Jul 13 '18 at 16:56

It seems that the code you use is wrong. Linux is a case-sensitive OS. You should use CJK package in uppercase:


And furthermore, CJK package has no adobefonts option. CJK package is a low-level package for CJK support. The adobefonts option belongs to ctex package. Say, the code you want is probably:


The previous question is helpful to you: How does one type Chinese in LaTeX?

| improve this answer | |
  • Thanks. I tried to install texlive and then run the last option of your solution in the previous question. It worked. Now I am trying to add more Chinese fonts. Do you know how to do it? – kww Aug 5 '13 at 14:40
  • @kww: You should read the document of xeCJK. There're \setCJKfamilyfont, \CJKfamily, etc. – Leo Liu Aug 5 '13 at 15:29
  • Thanks. I input xelatex file_name in the terminal, then it works. – kww Aug 12 '13 at 16:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.