This term (2018 spring, Beihang University), I wrote a lot of LaTeX
code
to get my homeworks done. Here is a collection
of projects that I take most pride of and want to share with you.
You can wander around and get inspiration and use them for your own projects.
Well, I covered many typical constructs of LaTeX
like
including figures, laying out tables, typesetting formulas
and algorithms and drawing high-resolution svg
graphics in these projects,
so reading the source code may give you some idea of how different constructs work.
The organization of the source files is quite typical so they are
good starting points for a new project.
The contents of the papers are not very relevant in terms of LaTeX constructs
and you can freely delete them if you wish.
Besides, I drew most of the figures using
inkscape (I download some of them from the Internet) so you may
modify them with inkscape to suit you needs
(remember to quote the original authors. You don't need to quote me though :-).
Most of the the documents are in Chinese and the typesetting conventions
follows that of Chinese. In fact, it is actually meant for those who want
to typeset Chinese documents.
This project aims to provide a bundle of working examples about how to make bueatiful
documents in Chinese with LaTeX
. I hope it really helps.
Here are the minimum requirements you must meet:
- Ubuntu-16.04. It is the only tested platform by now.
- Texlive. It is the only tested tex distribution by now.
- CTeX. The Chinese TeX Package. It is bundled with Texlive.
- Inkscape. Open source 2D graphics editor that produces high quality
svg
graphics. The project uses the svg package, which needs inkscape to work.
Other requirements you're recommended to meet:
- Vimtex. A Vim plugin that makes your tex life a heaven.
- Chinese. My native language. It is great! You won't regret mastering it!
You're recommended to use Ubuntu-16.04 as your build environment.
You can download Texlive from the official website but a faster mirror is that of Tsinghua University.
There are various choices of installation, but the file install-tl-unx.tar.gz
is sufficient to retrieve
packages and programs for you. Extract it and follow the instructions you find there. It will take 30 minutes
to one hour depending on your network condition.
Normally included in the distribution. If it is not the case, reinstall with a schema that takes most of the packages.
Download it from official website or use your system package manager:
sudo apt-get install inkscape
This is not required. However, if you're using Vim to edit tex files, this plugin can provide continuous compilation
and smart pair-completions like \begin{env}
and \end{env}
, which speeds up your job considerably. Install it with
your favourite plugin manager!
MIT Lisence.
If you feel it helpful, star MyLaTeX_Gallery! If you have any idea, create issues and better still, pull requests! Any suggestion is welcome. Enjoy!
I'd like to acknowledge my teacher on the class Research Methodology to strongly advise us to try out LaTeX. It turned out to me that LaTeX is such a charming tool for typesetting. I'd like thank my teams in all those projects. Without you there won't be such great projects. Thank you sincerely.