-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmycommands.tex
40 lines (29 loc) · 1.78 KB
/
mycommands.tex
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
\newcommand{\TODO}[1]{\textbf{TODO: }#1}
%\newcommand{\img}[1]{\includegraphics[width=14cm]{obrazky/#1}} %vlozenie obrazku pre diplomku
\newcommand{\img}[1]{\includegraphics[width=9cm]{obrazky/#1}} %vlozenie obrazku pre prezentaciu
\newcommand{\eref}[1]{(\ref{#1})} %referencia na rovnicu
%\newcommand{\iref}[1]{Figure \ref{#1}} %referencia na obrazok
\newcommand{\iref}[1]{Obrázok \ref{#1}} %referencia na obrazok
\newcommand{\tu}[1]{\textbf{#1}} %tucne pismo
\newcommand{\fr}[2]{\frac{#1}{#2}\,} %zlomok s odsadenim na konci
\newcommand{\tr}[1]{\mbox{tr}\,#1} %funkcia tr
\newcommand{\dv}[1]{\mbox{div}\,#1} %funkcia div
\newcommand{\grad}[1]{\mbox{grad}\,#1} %funkcia grad
\newcommand{\curl}[1]{\mbox{curl}\,#1} %funkcia curl
\newcommand{\lin}[0]{\mbox{Lin}} %mnozina Lin
\newcommand{\linp}[0]{\mbox{Lin}^+} %mnozina Lin+
\newcommand{\sym}[0]{\mbox{Sym}} %mnozina Sym
\newcommand{\skw}[0]{\mbox{Skw}} %mnozina Skw
\newcommand{\psym}[0]{\mbox{Psym}} %mnozina PSym
\newcommand{\orth}[0]{\mbox{Orth}} %mnozina Orth
\newcommand{\orthp}[0]{\mbox{Orth}^+} %mnozina Orth+
\newcommand{\eq}[2]{\begin{equation}\label{#1}#2\end{equation}} %cislovana rovnica
\newcommand{\dV}{\;dx} %integracia cez objem
\newcommand{\dA}{\;dS} %integracia cez obsah
\newcommand{\ddt}{\fr{\partial}{\partial t}} %casova derivacia
\newcommand{\DADt}{\fr{D^\mathcal A}{Dt}} %ALE derivacia
\newcommand{\dadt}{d_{\mathcal A_t\,}} %aproximacia ALE derivacie
\newcommand{\sdf}[1]{q_#1+\delta q_{#1\beta}} %streamline diffusion test function
\newcommand{\sdtf}{\sdf{h}} %streamline diffusion test function
%\newcommand{\dim}[0]{\mbox{dim}} %oznacenie dimenzie priestoru
\newcommand{\n}{|\!|} %norma