4

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

\usepackage[adobefonts]{cjk}

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?

Mensch
  • 65,388
kww
  • 41
  • 1
  • 1
  • 2

2 Answers2

7

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

Nax
  • 1,411
  • 5
  • 16
  • 19
2

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

\usepackage{CJK}

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:

\usepackage[adobefonts]{ctex}

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

Leo Liu
  • 77,365
  • 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 05 '13 at 14:40
  • @kww: You should read the document of xeCJK. There're \setCJKfamilyfont, \CJKfamily, etc. – Leo Liu Aug 05 '13 at 15:29
  • Thanks. I input xelatex file_name in the terminal, then it works. – kww Aug 12 '13 at 16:14