LaTeX (L-ATEX, transliteration "Lateh") is a τεχ-based typesetting system developed by the American computer Science Leslie Lambert (Leslie Lamport) in the early 1980s, using this format, Even if the user does not have the knowledge of typesetting and program design, it can give full play to the powerful functions provided by Tex, and can produce many printed materials with book quality in a few days or even hours. This is especially true for generating complex tables and mathematical formulas. It is therefore well suited for generating high-quality technical and mathematical documents for printing. This system is also useful for generating all other kinds of documents from simple letters to complete books.
Bloggers use Latex is mainly used to write the United States Mathematical Modeling Contest paper, last year we use word for typesetting, there are many problems in the metaphysical format, this year's U.S. game has a few days, ready to surprise study latex, record the learning process, with you latex beginners to communicate and progress together.
Note: Use the environment for MacOS Sierra Systems
In the Latex Primer tutorial (i), the installation and configuration of latex under MacOS Sierra is described, as well as the insertion of titles, authors, paragraphs, chapters, catalogs, and more.
7. Mathematical formulas
The editing content of mathematical formula is cumbersome, as a beginner first look at the basic formula generation, use the corresponding formula when the Wikipedia should be enough to check. Give me some examples of simple editing formulas.
\documentclass{article}\begin{document}this is an equation \[f (x) = 3x + 7\]% mathematical formula before and after to add $ or \ (and \), if using \[and \], or using $$ and $$, the formula is exclusive to one line; the is a equation \ (f (x) = 3x + 7\) $$\sum_{i=1}^n a_i=0$$% is used to denote superscript, with _ to denote subscript $ $f (x) =x^{x^x}$$$ $f (x_1,x _x,\ldots,x_n) = x_1^2 + x_2^2 + \cdots + x_n^2 $$%\ldots represents an ellipsis that aligns to the bottom line of the text; \cdots represents an ellipsis that aligns with the centerline of the text \[a^{2}=\sqrt{b}+\sqrt[4]{y}\ ] % radical use \sqrt[n]{x} command \end{document}
8. Insert Picture
The image to be inserted is named Figure1.jpg to create a new document, copy the following into the document, save, save type to UTF-8, put in the same folder as the picture, compile and observe the phenomenon
\documentclass{article} \usepackage{graphicx}\begin{document} \includegraphics[width=4.00in,height= 3.00in]{figure1.jpg}\end{document}
9. Insert Table
Here is an example to illustrate the table of several insert format, pay attention to observe whether there is no \hline and \begin{center} difference. Notice the difference between the LCR after observing \begin{tabular}, the left alignment, center alignment, and right alignment, respectively.
\documentclass{article}\begin{document} \begin{tabular}{|c|c|} AAA & B \ C & ddddd\ \end{tabular} \begin{tabular}{|l|r|} \hline aaaa & B \ \hline C & ddddd\ \hline \end{tabular} \begin{center} \ begin{tabular}{|c|c|} \hline A & B \ \hline C & D\\hline\end{tabular} \end{center}\end{document}
OK, the above is my summary of latex beginner content, Latex series articles will be continuously updated ...
Latex Primer Tutorial (ii)