A lot of people ask me about what I use to write my resume, here is a copy, it is obviously LaTeX. The confusion they have is that my resume looks like some popular latex templates combined. Indeed, I did some customization of two popular templates, and added some other stuff, eventually turned it into what my resume looks like now.

Today I am using Jinja environment to turn my static LaTeX resume into a template which will later read a JSON file to fill in the content. I call it XNemo, you can download it here, and apply to your own resume. It requires no knowledge of coding, but a bit of JSON.

Now, I will go into some of the details how I designed this, and how you can use it for your own resume.

After you download the code, you should see the following file structure, pretty simple.

Screen Shot 2014-09-26 at 4.36.35 AM

At a high level, how it works is also easy to understand: you run a python script, it will read the content of data.json to templates/template.tex file, and generate the LaTeX source file resume.tex and the final resume.pdf file. What you need to do is simple, just type the following two commands.

Screen Shot 2014-09-26 at 4.00.33 AMNote: Make sure you have Flask installed, otherwise you will get errors.

Now I will explain some of the details.

First, I defined my own template block syntax in as the following:

Screen Shot 2014-09-26 at 4.04.02 AM

Basically, when I set block_start_string to ‘((*’, and block_end_string to ‘*))’, that means your for loop in the LaTeX template will look like: ((* for <condition> *)) ((* endfor *)), setting variable_start_string will make your variable value retrieval looks like <(( value ))>. From line 57 to line 60, I customized some template tags that later will be used in the template.

Now let’s take a look at data.json file. My resume contains multiple different colors, and timeline, and this block of info simply defines them:Screen Shot 2014-09-26 at 4.16.54 AM

When you set “usecolor” to true, the timeline color and the theme color will be applied to your resume, false will make your resume look pure black and white. Since my resume has timeline, “start_year” will be the earliest year that will appear in your resume, and the default hidden “end_year” is just next year. “theme_color” defines all the other colors besides the timeline colors (including the quote).

For the rest in the data.json file, it defines your skills, working experience, projects, education, and interests, the most common things you will most likely be interested in having them in your resume, and how it works is very self explained.

If you want to add more content to you resume, you can look through data.json and templates/template.tex, and modify them into what fits you, which might require a bit of knowledge of LaTeX and JSON, but it is still not too hard.

If you have any questions, you can always send me a request or comment on this blog. I will respond as soon as possible.

Thanks for reading.

金庸的小说精彩的太多, 其中我最喜欢的一部,要数倚天屠龙记,当然肤浅的我也仅仅看过港版吴启华演的电视剧版本。之所以喜欢这部,必然和黎姿惟妙惟肖的演出不无关系。

金庸的小说虽然被打上武侠的烙印,但是在我看来篇幅最大的应该是情。论倚天屠龙, 剧中出现4名女子,蛛儿刁蛮任性,却一直挂念的张无忌,小昭温顺体贴,聪明机智,周芷若,秀若芝兰,淡雅脱俗,赵敏,机智多谋,精明能干,直率豪爽。



不可否认周芷若对张无忌的情之深切,她所受的委屈大于常人,在我看来整部剧中周芷若的性格特点被塑造的最为鲜明, 不像张无忌从头到尾的仁义道德,也不像全冠清彻头彻尾的卑鄙小人。相反周芷若亦正亦邪, 正的令人怜惜,邪的令人发指,其中的过程却是动人的。苦难可以给人正能量,也可以起到反作用。

性格本身就不是一个简单的词能形容的, 也不是一千一万的复杂的词结合在一起能形容的。性格为环境时势所驱使。我不是一个坏人,也可以做一件坏事。有时可以回头,有时一步走错,满盘皆输。