Informatics1-2017/Practice7
A MathWikiből
(Változatok közti eltérés)
36. sor: | 36. sor: | ||
=== Matrices, tables === | === Matrices, tables === | ||
Try the tabular environment with different aligns! Create a 3x3 matrix with all kinds of brackets. Try to do an nxn matrix as well for example, try to create this formula from wikipedia: [https://en.wikipedia.org/wiki/Matrix_(mathematics)#Notation matrix]. | Try the tabular environment with different aligns! Create a 3x3 matrix with all kinds of brackets. Try to do an nxn matrix as well for example, try to create this formula from wikipedia: [https://en.wikipedia.org/wiki/Matrix_(mathematics)#Notation matrix]. | ||
+ | |||
+ | Reproduce this table (matrix): | ||
+ | |||
+ | <math> | ||
+ | \begin{array}{c|cccc|c} | ||
+ | & x_1 & x_2 & \cdots & x_n & \overrightarrow{b}\\\hline | ||
+ | u_1 & a_{11} & a_{12} & \cdots & a_{1n} & b_1\\ | ||
+ | u_2 & a_{21} & a_{22} & \cdots & a_{2n} & b_2\\ | ||
+ | \vdots & \vdots & \vdots & \ddots & \vdots & \vdots\\ | ||
+ | u_m & a_{m1} & a_{m2} & \cdots & a_{mn} & b_m\\\hline | ||
+ | -z & c_1 & c_2 & \cdots & c_n & 0 | ||
+ | \end{array} | ||
+ | </math> | ||
=== Theorems, definitions === | === Theorems, definitions === |
A lap 2017. október 16., 14:12-kori változata
Tartalomjegyzék |
Latex mathematical formulas
Formulas
Reproduce the following in latex:
where . The form of the objective function:
The same with vectors and matrices:
Matrices, tables
Try the tabular environment with different aligns! Create a 3x3 matrix with all kinds of brackets. Try to do an nxn matrix as well for example, try to create this formula from wikipedia: matrix.
Reproduce this table (matrix):
Theorems, definitions
Let's do some theorems. For that append this to the preamble:
\newtheorem{mydef}{Definition}
- Create a new threorem style environment!
- Try the different styles (remark, theorem, definition)!
Labels, references
Create references to your theorems:
\begin{theorem}\label{thm:sample_thm} Theorem text \end{theorem} In Theorem \ref{thm:sample_thm} we...
Floating pictures
\begin{figure}[p] \centering \includegraphics[width=0.8\textwidth]{image.png} \caption{Awesome Image} \label{fig:awesome_image} \end{figure}
Change the placement (h,t,p,b,!,H)!
BibTeX
BibTeX is a package to create nice looking bibliographies. Create a test bibliography using these sites: http://www.bibtex.org/Using/, https://en.wikibooks.org/wiki/LaTeX/Bibliography_Management.