Introduction to LaTeX, written by Liu Haiyang, a LaTeX warrior of Peking University, is an excellent book on how to use this powerful tool, which is very suitable for entry-level users and users who want to further improve on the original basis. The contents of the book are widely drawn, covering text organization, automation tools, mathematical formulas, chart making, slide presentation, error handling and so on. Considering the continuous development of LaTeX, this book selects from thousands of macro packages of LaTeX tools and chooses an updated and more practical version to explain typesetting skills.
In order to facilitate readers to learn, the book gives a large number of examples and a certain amount of exercises, and also provides case codes. Most of the examples in the book come from the author's actual typesetting cases for many years. Readers will certainly master LaTeX's typesetting skills with continuous practice. This book is suitable for students, engineers and teachers majoring in mathematics, physics, computer, chemistry, biology and engineering, as well as for middle school mathematics teachers. In addition, the book is also suitable for people who are interested in LaTeX typesetting.
LaTeX may not be known to many people, but those master students and doctoral students who are busy distributing papers should know it well. Of course, those children in the mathematics department who are struggling should also know, because the typesetting effect of word on mathematical formulas is far from LaTeX. As for the specific information of LaTeX, I won't talk nonsense here. Interested students can go to Google and Baidu.
Anyway, it is difficult to write a resume, especially starting from scratch, which is even more difficult for me as a novice LaTeX. So Google took a look and found a shared resume template called moderncv. With the template, it's much easier (by the way, I actually found that Daniel rewrote it with this template).
It should be a zip package after downloading, and the directory after decompression is as follows:
Among them, yes. Sty files are all files that define resume styles, as well. In fact, these are all generated after writing LaTeX style source code. Interested students can continue to delve into other knowledge of LaTeX, and they should gain something. These documents will be used when we write our resumes in the future.
Next, look at the sample folder:
Well, there are many things in it, which students who know LaTeX a little will know. In fact, there are only those. Tex file is what we want and it is also very important. Why? Because those files are templates. Our resumes depend on them.
There are three. Tex files: template.tex, template-es.tex and template-zh.tex. As the name implies, these three templates represent Chinese and English resumes respectively. Actually, template.tex is an English template. What language template template-es.tex is? I don't know. It's not an English template anyway.
Ok, the rest is to start writing our resumes. Let's create a folder, such as MyCV, and then put the aforementioned. Sty file, Cls files and. Tex template file is in it. Like this:
You can change the name of the template file according to your personal preference. For example, I changed it to my_cv_en.tex and my _ cv _ en.tex, and the rest we started to edit our resume template. I use NotePad++. Of course, you can also use other editors, such as WinEdt, Texmaker, and even you can use word, txt and so on. Of course, I don't agree with the latter two, especially txt. When you use it, you will be crazy about the code that is not highlighted and indented.
This is the template.tex document I opened with Notepad++, and the effect is still ok.
So, how to rewrite this pile of code is actually quite easy. It's good that there are so many comments in the template (well, I'm a little lazy, I'll introduce this later).
After we change our personal information, all that remains is compilation.
I used CTex suite, and then compiled it with WinEdt. This is a bit lazy, but the visual interface is really convenient. Just open it with WinEdt. The tex file we edited. Of course, you can also use this editor to edit. Tex file.
CTex download address: CTex actually contains WinEdt. English templates are compiled directly with LaTeX button. Although Chinese templates involve coding problems, packages using CJK are also compiled directly with LaTeX buttons. (supplementary record: it may not be described clearly here. LaTeX command will only generate a. dvi file, which needs to be compiled into a pdf file. You can use the pdfLaTeX button to generate pdf files directly. Experiments show that UTF-8 source files without BOM coding can successfully generate pdf documents. ) As long as we didn't write anything wrong, we can see the generated pdf files, such as MyCVS, in the folder. The typesetting effect is quite good.