forked from bagustris/tutorial-latex
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlatex-note.txt
52 lines (46 loc) · 1.02 KB
/
latex-note.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
split, multi-lign and align:
Align, from amsmath package:
numbered equations aligned at points marked
with \verb|&| usually just before a relation.
\begin{align}
a_1& =b_1+c_1\\
a_2& =b_2+c_2-d_2+e_2
\end{align}
split, also from amsmath,
similar alignment to align, but the whole construct fits within
equation (or other display math) and is numbered as a unit.
\begin{equation}\label{xx}
\begin{split}
a& =b+c-d\\
& \quad +e-f\\
& =g+h\\
& =i
\end{split}
\end{equation}
multline, from amsmath
for lonq expressions taking more than one line,
with no specifed alignment points.
\begin{multline}
a+b+c+d+e+f+g+h+i+j+k+\\
l+m+n+o+p+q+r+s+t+w+x+y+z
\end{multline}
===
There are three commands here that work the same in the example:
\\ (two backslashes)
\newline
\hfill \break
===
Force image position:
\usepackage{float}
...
\begin{figure}[H]
\centering
\includegraphics{slike/visina8}
\caption{Write some caption here}\label{visina8}
\end{figure}
===
make two column:
\documentclass[twocolumn]{article}
...
\twocolumn
\onecolumn