Math@Latex
Math@LaTeX
為何要使用LaTeX
\newcommand{cmd}[n-args][default]{text}
Secondly, LATEX makes it very easy to cross-reference chapters, sections, equations, figures, tables etc, and it also makes it very easy to generate a table of contents, list of figures, list of tables, index, glossary and bibliography. You don't need to worry about numbering anything, as this is done automatically, which means that you can insert new sections or swap sections around without having to worry about updating all the section numbering etc. LATEX can also ensure consistent formatting, and the style of the document can be completely changed simply by using a different class file, or loading additional packages.
Thirdly, when you are editing a document using a word processor, the word processor has to work out how to reformat the document everytime you type something. If you have a large document with a great many inserted objects (such as figures and equations), the response to keyboard input can become very slow. You may find that after typing a few words you will have to wait until the computer catches up before you can see what you have typed. With LATEX you type your code in using an ordinary text editor. The document doesn't get formatted until you pass it to LATEX, which means that you are not slowed down by constant reformatting.
Lastly, there's the fact that LATEX follows certain typographical rules, so you can leave most of the typesetting to LATEX. You rarely need to worry about minor things such as remembering to put two spaces between sentences and only one space between words, as LATEX will do this automatically, and it will also automatically deal with f-ligatures. That is, if any of the following combination of letters are found: fl, ffl, ff, fi, ffi, they will automatically be converted into the corresponding ligatures: {\cmr fl}, {\cmr ffl}, {\cmr ff}, {\cmr fi}, {\cmr ffi}. Note the difference between {\cmr fluffier} (2 ligatures) and {\cmr f{}l{}uf{}f{}i{}er} (no ligatures). These points may seem minor but they all contribute towards the impact of the entire document. When writing technical documents, the presentation as well as the content is important. All too often examiners, referees etc are put off reading a document because it is badly formatted. This provokes an immediate negative reaction and provides little desire to look favourably upon your work.