Useful Latex tutorial:
1. The Not So Short Introduction to Latex2et
2. Getting to grips with Latex
3.Latex中文资料
Tips:
1. When using natbib package to cite reference, if you want to cite the full name and year,quote the author name with parenthesis.
eg: author = "European Committee for Standardization"should be author = "{European Committee for Standardization}". The result will be (European Committee for Standardization, 2005)
2.some tips for citing equations with parenthe
http://bbs.ctex.org/redirect.php?tid=27187&goto=lastpost&styleid=7
像(1-1)这样的公式要用subequations,例如:
\documentclass{article}
\def\sub{\renewcommand{\theequation}{\theparentequation{}-\arabic{equation}}}
\usepackage[leqno]{amsmath}
\begin{document}
\begin{subequations}
\sub
\begin{equation}
\int_a^bf(x)\mathrm{d}x=F(-F(a))\label{a}
\end{equation}
\begin{equation}
\int_a^bf(x)\mathrm{d}x+abcd=F(-F(a))\label{b}
\end{equation}
\end{subequations}
Equation \eqref{a} and \eqref{b}
\end{document}
如果用\def\sub{\renewcommand{\theequation}{\theparentequation{}.\arabic{equation}}},显示:公式(1.1)
去掉\sub,显示:公式(1a)
3. How to write ordinal number, like 1st(st on the right top of 1), without using amsmath package.
using \usepackage{engord}, then just input \engordnumber{3} in text, the ordinal number will be automatically generated.
4. How to type in Celsius symbol
method 1:
\usepackage{textcomp}
\textcelsius
method 2:
$30\,^{\circ}\mathrm{C}$
5. Text wrapping in tables
Must specify the column width, or latex will not wrap text in cells. Some examples are demonstrated here
6. How to write bold letters
Include \usepackage{bm}
$\bm{a}$
7. Using hyphen between$$
$P\textrm{-}\delta$
8. Add space between text
Some useful tip from here
9. How to insert a backslash or a tilde
\textbackslash
\textasciitilde
$\sim$
\texttildelow
check the link for more details
10. Some explanation about {natbib} package.
check the link
If you want to sort multiple reference by year, don't insert 'sort' into option.
Thursday, August 12, 2010
[+/-] |
Tips for learning Latex |
Labels:
Latex
Subscribe to:
Posts (Atom)