Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- % some usefful commands
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- % tick cross
- \usepackage{amssymb} % http://ctan.org/pkg/amssymb
- \usepackage{amsmath} % align
- \usepackage{pifont} % http://ctan.org/pkg/pifont
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %
- %\usepackage{tikz}
- %\usetikzlibrary{arrows,shapes,positioning,shadows,trees}
- %% http://www.texample.net/tikz/examples/work-breakdown-structure/
- %
- %\tikzset{
- % basic/.style = {draw, text width=2cm, drop shadow, font=\sffamily, rectangle},
- % root/.style = {basic, rounded corners=2pt, thin, align=center,
- % fill=green!30},
- % level 2/.style = {basic, rounded corners=6pt, thin,align=center, fill=green!60,
- % text width=8em},
- % level 3/.style = {basic, thin, align=left, fill=pink!60, text width=6.5em}
- %}
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- \newcommand*{\cmark}{\ding{51}}
- \newcommand*{\xmark}{\ding{55}}
- % \checkmark - default
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- % :: other
- \newcommand*{\ttl} {\textasciitilde}
- \newcommand*{\atan}{\textrm{atan}}
- \newcommand*{\RA}{$\Rightarrow$}
- \newcommand*{\ra}{$\Rightarrow$}
- \newcommand*{\tims}{$\times$}
- \newcommand*{\ctrl}{$\mathaccent$}
- \newcommand*{\hash}{\#}
- \newcommand*{\dotNET}{.NET}
- \newcommand*{\mvsxii}{Microsoft Visual Studio 2012}
- \newcommand*{\citov} {[cit.\,2.\,3.\,2015].}
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- % :: c sharp typesetting
- \newcommand*{\csharp}
- { C\nolinebreak\hspace{-0.05em}\raisebox{0.6ex}{\footnotesize\bf \#} } % 8
- \newcommand*{\csharpSection}
- {C\#\,}
- \newcommand*{\cpp }{C\raisebox{0.5ex}{\tiny\textbf{++}}}
- %{C\#\,}
- %{C$^\#$\,}
- %____________________________________________________
- % as in the original meaning of sharp
- %{C$^\sharp$\,}
- % from here: http://tex.stackexchange.com/questions/44528/how-to-make-the-correct-hash-symbol-in-c-sharp-c
- %{C$^\textbb{\#}$\,}
- %____________________________________________________
- %{C\nolinebreak\hspace{-0.05em}\raisebox{0.6ex}{\small\bf \#}}
- % from here: http://www.johndcook.com/blog/2011/10/18/typesetting-c-in-latex/
- %____________________________________________________
- % favourite
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- % :: math
- \newcommand*{\ver}[1]{\verb|#1|}
- %\newcommand*{\ttt}[1]{\ver{#1}}
- %\newcommand*{\ttt}[1]{\texttt{#1}}
- %\newcommand*{\ttt}[1]{\\ \texttt{#1}}
- %\newcommand*{\ttt}[1]{\texttt{\allowbreak #1}}
- %\newcommand*{\ttt}[1]{\allowbreak \texttt{\allowbreak #1}}
- \newcommand*{\ttt}[1]{{\tt #1}}
- \newcommand*{\snippet}[1]{\ver{#1}} % variable
- \newcommand*{\fileName}[1]{\ttt{#1}} % variable
- \newcommand*{\vari}[1]{\ttt{#1}} % variable
- \newcommand*{\fce}[1]{\ttt{#1}} % funciton
- \newcommand*{\fceB}[1]{\\ \ttt{#1}} % funciton with newline
- \newcommand*{\thread}[1]{\ttt{#1}} % thread / background worker
- \newcommand*{\trida}[1]{\ttt{#1}} % class
- \newcommand*{\tridaC}[1]{\trida{C\_#1}}
- \newcommand*{\tridac}[1]{\tridaC{#1}}
- \newcommand*{\threadTelepresence}{\thread{START\_TP\_DoWork}}
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- % statistika
- %\newcommand*\conj[1]{\bar{#1}} %
- %\newcommand*{\mean}[1]{\bar{#1}} % aritmetický = výběrový průměr
- \newcommand*{\mean}[1]{\mu_{\textind{#1}}} % aritmetický = výběrový průměr
- \newcommand*{\stdev}[1]{s_{\textind{\mean{#1}}}} % výběrový rozptyl výběrového průměru = deviation
- %____________________________________________________
- %nejistoty měření
- \newcommand*{\uA}{u_{\textind{A}}} % nejistota typu A
- \newcommand*{\uB}{u_{\textind{B}}} % nejistota typu B
- \newcommand*{\uC}{u_{\textind{C}}} % kombinovana nejistota C = uC = sqrt(SUMSQ(uA,uB))
- \newcommand*{\uBii}[1]{u_{\textind{B,#1}}} % nejistota typu B pro zdroj [1]
- \newcommand*{\uBi}{\uBii{i}} % nejistota typu B pro zdroj i
- \newcommand*{\uAuA}{\uA^2}
- \newcommand*{\uBuB}{\uB^2}
- \newcommand*{\uCuC}{\uC^2}
- \newcommand*{\ua}[1]{\uA(#1)} % nejistota typu A veličiny [1]
- \newcommand*{\ub}[1]{\uB(#1)} % nejistota typu B veličiny [1]
- \newcommand*{\uc}[1]{\uC(#1)} % kombinovaná nejistota C veličiny [1]
- \newcommand*{\uRozsirena}[1]{U(#1)} % rozšířená nejistota veličiny [1]
- \newcommand*{\uaua}[1]{\uA^2(#1)}
- \newcommand*{\ubub}[1]{\uB^2(#1)}
- \newcommand*{\ucuc}[1]{\uC^2(#1)}
- \newcommand*{\Dmaxii}[1]{D_{\textind{\max, #1}}}
- \newcommand*{\Dmaxi}{\Dmaxii{i}}
- \newcommand*{\rozdelNahodVel}{\chi}
- % vztahy
- \newcommand*{\ucucVztah}{\uCuC = \uBuB + \uAuA}
- \newcommand*{\ucVztah}{\uC = \sqrt{\uAuA + \uBuB}}
- \newcommand*{\uRozsirenaVztah}[1]{\uRozsirena{#1} = k\uc{#1}}
- %____________________________________________________
- % chyby číslicových měřících přístrojů
- \newcommand*{\Rozsah}[1]{#1_{\textind{rozsah}}}
- \newcommand*{\Hodnota}[1]{#1_{\textind{měř}}}
- \newcommand*{\maxHodnota}[1]{\max{#1_{\textind{měř}}}}
- \newcommand*{\deltaHodnota}{\delta_{\textind{měř}}}
- \newcommand*{\deltaRozsah}{\delta_{\textind{rozsah}}}
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- % statistika pro jednotky
- % t - čas
- \newcommand*{\meant}{\mean{t}}
- \newcommand*{\stdevt}{\stdev{t}}
- \newcommand*{\uat}{\ua{t}}
- \newcommand*{\ubt}{\ub{t}}
- \newcommand*{\uct}{\uc{t}}
- \newcommand*{\uauat}{\uaua{t}}
- \newcommand*{\ububt}{\ubub{t}}
- \newcommand*{\ucuct}{\ucuc{t}}
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- \newcommand*{\PARr}{_{pravo}}
- \newcommand*{\PARl}{_{levo}}
- \newcommand*{\PARu}{_{nahoru}}
- \newcommand*{\PARd}{_{dolu}}
- \newcommand*{\PARR}{_{pravý úklon}}
- \newcommand*{\PARL}{_{levý úklon}}
- \newcommand*{\ur}{U\PARr}
- \newcommand*{\ul}{U\PARl}
- \newcommand*{\uu}{U\PARu}
- \newcommand*{\ud}{U\PARd}
- \newcommand*{\uR}{U\PARR}
- \newcommand*{\uL}{U\PARL}
- \newcommand*{\oor}{\omega\PARr}
- \newcommand*{\ool}{\omega\PARl}
- \newcommand*{\oou}{\omega\PARu}
- \newcommand*{\ood}{\omega\PARd}
- \newcommand*{\ooR}{\omega\PARR}
- \newcommand*{\ooL}{\omega\PARL}
- \newcommand*{\oyaw}{\omega_{yaw}}
- \newcommand*{\opit}{\omega_{pitch}}
- \newcommand*{\orol}{\omega_{roll}}
- \newcommand*{\Ur}{$U\PARr$}
- \newcommand*{\Ul}{$U\PARl$}
- \newcommand*{\Uu}{$U\PARu$}
- \newcommand*{\Ud}{$U\PARd$}
- \newcommand*{\UR}{$U\PARR$}
- \newcommand*{\UL}{$U\PARL$}
- \newcommand*{\Or}{$\omega\PARr$}
- \newcommand*{\Ol}{$\omega\PARl$}
- \newcommand*{\Ou}{$\omega\PARu$}
- \newcommand*{\Od}{$\omega\PARd$}
- \newcommand*{\OR}{$\omega\PARR$}
- \newcommand*{\OL}{$\omega\PARL$}
- \newcommand*{\Umin}{$U_{\min}$}
- \newcommand*{\Umax}{$U_{\max}$}
- \newcommand*{\Uklid}{$U_{klid}$}
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- % :: make better please
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- % diploma thesis
- \newcommand*{\tmi}{t_{M1}}
- \newcommand*{\tmii}{t_{M2}}
- \newcommand*{\tmiii}{t_{M3}}
- \newcommand*{\tmiiiVysledek}{$\tmiii = (72 \pm 20) \sims$}
- \newcommand*{\tmiiiVysledekADeset}{$\tmiii = (82 \pm 20) \sims$}
- \newcommand*{\trefresh}{T_{\texttt{disp}}}
- \newcommand*{\fRefresh}{f_{\texttt{disp}}}
- \newcommand*{\mereniHlavaMotorZacatekZkratka}{M1}
- \newcommand*{\mereniHlavaMotorZacatekNazev}{Zpoždění pohyb hlavy - pohyb aktuátoru}
- \newcommand*{\mereniHlavaMotorZacatekCele}{\mereniHlavaMotorZacatekZkratka: \mereniHlavaMotorZacatekNazev}
- %\newcommand*{\mereniHlavaMotorZacatekTabulkaCesta}{tab/mereniHlavaMotorZacatek.tex}
- \newcommand*{\mereniHlavaMotorZacatekGrafCesta}{obrazky/mereni/mereniHlavaMotorZacatek.pdf}
- \newcommand*{\mereniHlavaMotorKonecZkratka}{M2}
- \newcommand*{\mereniHlavaMotorKonecNazev}{Zpoždění pohyb hlavy - nulová odchylka motoru}
- \newcommand*{\mereniHlavaMotorKonecCele}{\mereniHlavaMotorKonecZkratka: \mereniHlavaMotorKonecNazev}
- %\newcommand*{\mereniHlavaMotorKonecTabulkaCesta}{tab/mereniHlavaMotorKonec.tex}
- \newcommand*{\mereniHlavaMotorKonecGrafCesta}{obrazky/mereni/mereniHlavaMotorKonec.pdf}
- \newcommand*{\mereniKameraDisplejZkratka}{M3}
- \newcommand*{\mereniKameraDisplejNazev}{Zpoždění kamera - displej}
- \newcommand*{\mereniKameraDisplejCele}{\mereniKameraDisplejZkratka: \mereniKameraDisplejNazev}
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- % :: ????
- \newcommand{\itt}{\small\bf\scshape}
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- % :: TO TRY?
- % \usepackage{xparse}
- %\NewDocumentCommand\mycommand{}{somecodehere}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement