- I think the website is a good source to learn LaTex!
- A good Online Latex Equation complier.
You can also find some useful LaTex tips here.
input{}
in the preamble area.
Write a “macros.tex” file storing the macros(\usepackage{xx}) and self-defined commands that you will use in your main tex, then put the command line \input{macros.tex}
below the \documentclass{}
command.
2. space between enumerated items
1 | \begin{enumerate} |
\substack
in math formulas, for example, the latex code
1 | \prod\limits_{\substack{i_1+\cdots+i_k=n\\i_1<\cdots<i_k}} x_{i_1}+\cdots +x_{i_k} |
produces the formula
$$\prod\limits_{\substack{i_1+\cdots+i_k=n\i_1<\cdots<i_k}} x_{i_1}+\cdots +x_{i_k}$$
4.The package “amsmath” provides the command \boxed{}
to add a rectangular box outside the equation or something, eg:
The not so short introduction to Latex 2e
Draw Commutative Diagrams
Downloads-Right click on the PDF and then choose “print”.
- The not so short introduction to Latex 2e: English version; 中文版.
- Latex 笔记.
- Tikz-cd User Guide: English version; 中文版, 由向禹老师翻译。
- XY-pic User Guide