Informatics1-2017/Practice7
A MathWikiből
(Változatok közti eltérés)
49. sor: | 49. sor: | ||
\end{array} | \end{array} | ||
</math> | </math> | ||
+ | |||
+ | |||
+ | === Theorems, definitions === | ||
+ | Let's do some theorems. For that append this to the preamble: | ||
+ | <latex> | ||
+ | \newtheorem{mydef}{Definition} | ||
+ | </latex> | ||
+ | * Create a new threorem style environment! | ||
+ | * Try the different styles (remark, theorem, definition)! | ||
+ | |||
+ | === Labels, references === | ||
+ | Create references to your theorems: | ||
+ | <latex> | ||
+ | \begin{theorem}\label{thm:sample_thm} | ||
+ | Theorem text | ||
+ | \end{theorem} | ||
+ | |||
+ | In Theorem \ref{thm:sample_thm} we... | ||
+ | </latex> | ||
+ | |||
+ | ==== Floating pictures ==== | ||
+ | <latex> | ||
+ | \begin{figure}[p] | ||
+ | \centering | ||
+ | \includegraphics[width=0.8\textwidth]{image.png} | ||
+ | \caption{Awesome Image} | ||
+ | \label{fig:awesome_image} | ||
+ | \end{figure} | ||
+ | </latex> | ||
+ | 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/ http://www.bibtex.org/Using/], [https://en.wikibooks.org/wiki/LaTeX/Bibliography_Management https://en.wikibooks.org/wiki/LaTeX/Bibliography_Management]. |
A lap jelenlegi, 2017. október 30., 07:53-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.