(Last updated on May 15, 2016: syntax highlight added)


It is really annoying that APS requires to use the extremely user-unfriendly CJK package and the cyberbit font if one wants to add Chinese/Japanese/Korean names in the journal publication with the UTF-8 encoding. (We have XeTeX/XeLaTeX now, dude!) It took me a long time to figure out how to do this. Although the MacTeX 2015 will be coming out soon in a few months, I think it's still worth taking a note on how I did this successfully as an up-to-date reference.

This note is based on several good instructions I found online and I recommend readers to refer to them, including Helmer Aslaksen's webpage, William Adam's mailing list post, Pai Chou's webpage, and the official document of MacTeX on how to install fonts. My quick note aims to give an update on where one should put the relevant files specifically for MacTeX 2014, so this is NOT a self-contained note!

  1. First of all, the link to the cyberbit font (cyberbit.zip) on various posts are dead. I found it can be downloaded here or here (thank you, Wikipedia!).
  2. The UCS package is not needed and the CJK package is preinstalled with the TeXLive distribution, so let's move on.
  3. After generating the .tfm and .enc files, I moved the former to a path I created: /usr/local/texlive/texmf-local/fonts/tfm/local/cyberbit, and move the latter to /usr/local/texlive/texmf-local/fonts/enc/local/cyberbit.
  4. The map file (cyberbit.map) goes to /usr/local/texlive/texmf-local/fonts/map/local/cyberbit.
  5. The things below are different: the file c70cyberbit.fd should be put in /usr/local/texlive/2014/texmf-dist/tex/latex/cyberbit, and the font file itself (cyberbit.ttf) should be in /usr/local/texlive/2014/texmf-dist/fonts/truetype/cyberbit.
  6. One then adds a line Map cyberbit.map to /usr/local/texlive/texmf-local/web2c/updmap.cfg (or create the file if it doesn't exist).
  7. Finally, execute sudo -H mktexlsr and then sudo -H updmap-sys to update the font maps used by LaTeX, and it's done! The way to call the cyberbit font in a tex file is, as usual, \begin{CJK}{UTF8}{cyberbit}.

I hope this note could be helpful for readers who are asked to use the annoying CJK package with the UTF-8 encoding. Let me know if you meet any problem and I'll try to answer your question if I know how to. I may expand this note as a self-contained post one day, but probably not recently...

ps. I found an excellent explanation on how CJK works, but it's written in simplified Chinese.

ps2. Although I could successfully include my Chinese name when compiling the tex file on my laptop, my tex file failed to pass APS's LaTeX compiler twice in a row during initial submission and resubmission. If you have a successful experience, please let me know how  you managed. I appreciate it.