Advertisement
gr4viton

gr4_use.tex

May 16th, 2015
321
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.66 KB | None | 0 0
  1. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  2. % some usefful commands
  3. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  4. % tick cross
  5. \usepackage{amssymb} % http://ctan.org/pkg/amssymb
  6. \usepackage{amsmath} % align
  7. \usepackage{pifont} % http://ctan.org/pkg/pifont
  8.  
  9. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  10. %
  11. %\usepackage{tikz}
  12. %\usetikzlibrary{arrows,shapes,positioning,shadows,trees}
  13. %% http://www.texample.net/tikz/examples/work-breakdown-structure/
  14. %
  15. %\tikzset{
  16. % basic/.style = {draw, text width=2cm, drop shadow, font=\sffamily, rectangle},
  17. % root/.style = {basic, rounded corners=2pt, thin, align=center,
  18. % fill=green!30},
  19. % level 2/.style = {basic, rounded corners=6pt, thin,align=center, fill=green!60,
  20. % text width=8em},
  21. % level 3/.style = {basic, thin, align=left, fill=pink!60, text width=6.5em}
  22. %}
  23.  
  24.  
  25. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  26. \newcommand*{\cmark}{\ding{51}}
  27. \newcommand*{\xmark}{\ding{55}}
  28. % \checkmark - default
  29. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  30. % :: other
  31. \newcommand*{\ttl} {\textasciitilde}
  32. \newcommand*{\atan}{\textrm{atan}}
  33. \newcommand*{\RA}{$\Rightarrow$}
  34. \newcommand*{\ra}{$\Rightarrow$}
  35. \newcommand*{\tims}{$\times$}
  36. \newcommand*{\ctrl}{$\mathaccent$}
  37.  
  38.  
  39. \newcommand*{\hash}{\#}
  40. \newcommand*{\dotNET}{.NET}
  41. \newcommand*{\mvsxii}{Microsoft Visual Studio 2012}
  42.  
  43. \newcommand*{\citov} {[cit.\,2.\,3.\,2015].}
  44. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  45. % :: c sharp typesetting
  46.  
  47. \newcommand*{\csharp}
  48. { C\nolinebreak\hspace{-0.05em}\raisebox{0.6ex}{\footnotesize\bf \#} } % 8
  49. \newcommand*{\csharpSection}
  50. {C\#\,}
  51.  
  52. \newcommand*{\cpp }{C\raisebox{0.5ex}{\tiny\textbf{++}}}
  53.  
  54.  
  55. %{C\#\,}
  56. %{C$^\#$\,}
  57. %____________________________________________________
  58. % as in the original meaning of sharp
  59. %{C$^\sharp$\,}
  60. % from here: http://tex.stackexchange.com/questions/44528/how-to-make-the-correct-hash-symbol-in-c-sharp-c
  61. %{C$^\textbb{\#}$\,}
  62. %____________________________________________________
  63. %{C\nolinebreak\hspace{-0.05em}\raisebox{0.6ex}{\small\bf \#}}
  64. % from here: http://www.johndcook.com/blog/2011/10/18/typesetting-c-in-latex/
  65. %____________________________________________________
  66. % favourite
  67.  
  68. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  69. % :: math
  70. \newcommand*{\ver}[1]{\verb|#1|}
  71. %\newcommand*{\ttt}[1]{\ver{#1}}
  72. %\newcommand*{\ttt}[1]{\texttt{#1}}
  73. %\newcommand*{\ttt}[1]{\\ \texttt{#1}}
  74. %\newcommand*{\ttt}[1]{\texttt{\allowbreak #1}}
  75. %\newcommand*{\ttt}[1]{\allowbreak \texttt{\allowbreak #1}}
  76. \newcommand*{\ttt}[1]{{\tt #1}}
  77.  
  78. \newcommand*{\snippet}[1]{\ver{#1}} % variable
  79.  
  80. \newcommand*{\fileName}[1]{\ttt{#1}} % variable
  81. \newcommand*{\vari}[1]{\ttt{#1}} % variable
  82. \newcommand*{\fce}[1]{\ttt{#1}} % funciton
  83. \newcommand*{\fceB}[1]{\\ \ttt{#1}} % funciton with newline
  84. \newcommand*{\thread}[1]{\ttt{#1}} % thread / background worker
  85.  
  86. \newcommand*{\trida}[1]{\ttt{#1}} % class
  87. \newcommand*{\tridaC}[1]{\trida{C\_#1}}
  88. \newcommand*{\tridac}[1]{\tridaC{#1}}
  89.  
  90. \newcommand*{\threadTelepresence}{\thread{START\_TP\_DoWork}}
  91.  
  92. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  93. % statistika
  94. %\newcommand*\conj[1]{\bar{#1}} %
  95. %\newcommand*{\mean}[1]{\bar{#1}} % aritmetický = výběrový průměr
  96. \newcommand*{\mean}[1]{\mu_{\textind{#1}}} % aritmetický = výběrový průměr
  97. \newcommand*{\stdev}[1]{s_{\textind{\mean{#1}}}} % výběrový rozptyl výběrového průměru = deviation
  98.  
  99. %____________________________________________________
  100. %nejistoty měření
  101. \newcommand*{\uA}{u_{\textind{A}}} % nejistota typu A
  102. \newcommand*{\uB}{u_{\textind{B}}} % nejistota typu B
  103. \newcommand*{\uC}{u_{\textind{C}}} % kombinovana nejistota C = uC = sqrt(SUMSQ(uA,uB))
  104.  
  105. \newcommand*{\uBii}[1]{u_{\textind{B,#1}}} % nejistota typu B pro zdroj [1]
  106. \newcommand*{\uBi}{\uBii{i}} % nejistota typu B pro zdroj i
  107.  
  108. \newcommand*{\uAuA}{\uA^2}
  109. \newcommand*{\uBuB}{\uB^2}
  110. \newcommand*{\uCuC}{\uC^2}
  111.  
  112. \newcommand*{\ua}[1]{\uA(#1)} % nejistota typu A veličiny [1]
  113. \newcommand*{\ub}[1]{\uB(#1)} % nejistota typu B veličiny [1]
  114. \newcommand*{\uc}[1]{\uC(#1)} % kombinovaná nejistota C veličiny [1]
  115.  
  116. \newcommand*{\uRozsirena}[1]{U(#1)} % rozšířená nejistota veličiny [1]
  117.  
  118. \newcommand*{\uaua}[1]{\uA^2(#1)}
  119. \newcommand*{\ubub}[1]{\uB^2(#1)}
  120. \newcommand*{\ucuc}[1]{\uC^2(#1)}
  121.  
  122. \newcommand*{\Dmaxii}[1]{D_{\textind{\max, #1}}}
  123. \newcommand*{\Dmaxi}{\Dmaxii{i}}
  124. \newcommand*{\rozdelNahodVel}{\chi}
  125.  
  126. % vztahy
  127. \newcommand*{\ucucVztah}{\uCuC = \uBuB + \uAuA}
  128. \newcommand*{\ucVztah}{\uC = \sqrt{\uAuA + \uBuB}}
  129. \newcommand*{\uRozsirenaVztah}[1]{\uRozsirena{#1} = k\uc{#1}}
  130.  
  131. %____________________________________________________
  132. % chyby číslicových měřících přístrojů
  133.  
  134. \newcommand*{\Rozsah}[1]{#1_{\textind{rozsah}}}
  135. \newcommand*{\Hodnota}[1]{#1_{\textind{měř}}}
  136. \newcommand*{\maxHodnota}[1]{\max{#1_{\textind{měř}}}}
  137.  
  138. \newcommand*{\deltaHodnota}{\delta_{\textind{měř}}}
  139. \newcommand*{\deltaRozsah}{\delta_{\textind{rozsah}}}
  140.  
  141.  
  142. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  143. % statistika pro jednotky
  144. % t - čas
  145. \newcommand*{\meant}{\mean{t}}
  146. \newcommand*{\stdevt}{\stdev{t}}
  147. \newcommand*{\uat}{\ua{t}}
  148. \newcommand*{\ubt}{\ub{t}}
  149. \newcommand*{\uct}{\uc{t}}
  150. \newcommand*{\uauat}{\uaua{t}}
  151. \newcommand*{\ububt}{\ubub{t}}
  152. \newcommand*{\ucuct}{\ucuc{t}}
  153. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  154.  
  155. \newcommand*{\PARr}{_{pravo}}
  156. \newcommand*{\PARl}{_{levo}}
  157. \newcommand*{\PARu}{_{nahoru}}
  158. \newcommand*{\PARd}{_{dolu}}
  159. \newcommand*{\PARR}{_{pravý úklon}}
  160. \newcommand*{\PARL}{_{levý úklon}}
  161.  
  162.  
  163. \newcommand*{\ur}{U\PARr}
  164. \newcommand*{\ul}{U\PARl}
  165. \newcommand*{\uu}{U\PARu}
  166. \newcommand*{\ud}{U\PARd}
  167. \newcommand*{\uR}{U\PARR}
  168. \newcommand*{\uL}{U\PARL}
  169.  
  170. \newcommand*{\oor}{\omega\PARr}
  171. \newcommand*{\ool}{\omega\PARl}
  172. \newcommand*{\oou}{\omega\PARu}
  173. \newcommand*{\ood}{\omega\PARd}
  174. \newcommand*{\ooR}{\omega\PARR}
  175. \newcommand*{\ooL}{\omega\PARL}
  176.  
  177. \newcommand*{\oyaw}{\omega_{yaw}}
  178. \newcommand*{\opit}{\omega_{pitch}}
  179. \newcommand*{\orol}{\omega_{roll}}
  180.  
  181. \newcommand*{\Ur}{$U\PARr$}
  182. \newcommand*{\Ul}{$U\PARl$}
  183. \newcommand*{\Uu}{$U\PARu$}
  184. \newcommand*{\Ud}{$U\PARd$}
  185. \newcommand*{\UR}{$U\PARR$}
  186. \newcommand*{\UL}{$U\PARL$}
  187.  
  188. \newcommand*{\Or}{$\omega\PARr$}
  189. \newcommand*{\Ol}{$\omega\PARl$}
  190. \newcommand*{\Ou}{$\omega\PARu$}
  191. \newcommand*{\Od}{$\omega\PARd$}
  192. \newcommand*{\OR}{$\omega\PARR$}
  193. \newcommand*{\OL}{$\omega\PARL$}
  194.  
  195.  
  196.  
  197. \newcommand*{\Umin}{$U_{\min}$}
  198. \newcommand*{\Umax}{$U_{\max}$}
  199. \newcommand*{\Uklid}{$U_{klid}$}
  200.  
  201. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  202. % :: make better please
  203.  
  204. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  205. % diploma thesis
  206.  
  207. \newcommand*{\tmi}{t_{M1}}
  208. \newcommand*{\tmii}{t_{M2}}
  209. \newcommand*{\tmiii}{t_{M3}}
  210.  
  211. \newcommand*{\tmiiiVysledek}{$\tmiii = (72 \pm 20) \sims$}
  212. \newcommand*{\tmiiiVysledekADeset}{$\tmiii = (82 \pm 20) \sims$}
  213.  
  214. \newcommand*{\trefresh}{T_{\texttt{disp}}}
  215. \newcommand*{\fRefresh}{f_{\texttt{disp}}}
  216.  
  217. \newcommand*{\mereniHlavaMotorZacatekZkratka}{M1}
  218. \newcommand*{\mereniHlavaMotorZacatekNazev}{Zpoždění pohyb hlavy - pohyb aktuátoru}
  219. \newcommand*{\mereniHlavaMotorZacatekCele}{\mereniHlavaMotorZacatekZkratka: \mereniHlavaMotorZacatekNazev}
  220.  
  221. %\newcommand*{\mereniHlavaMotorZacatekTabulkaCesta}{tab/mereniHlavaMotorZacatek.tex}
  222. \newcommand*{\mereniHlavaMotorZacatekGrafCesta}{obrazky/mereni/mereniHlavaMotorZacatek.pdf}
  223.  
  224.  
  225. \newcommand*{\mereniHlavaMotorKonecZkratka}{M2}
  226. \newcommand*{\mereniHlavaMotorKonecNazev}{Zpoždění pohyb hlavy - nulová odchylka motoru}
  227. \newcommand*{\mereniHlavaMotorKonecCele}{\mereniHlavaMotorKonecZkratka: \mereniHlavaMotorKonecNazev}
  228.  
  229. %\newcommand*{\mereniHlavaMotorKonecTabulkaCesta}{tab/mereniHlavaMotorKonec.tex}
  230. \newcommand*{\mereniHlavaMotorKonecGrafCesta}{obrazky/mereni/mereniHlavaMotorKonec.pdf}
  231.  
  232.  
  233.  
  234.  
  235. \newcommand*{\mereniKameraDisplejZkratka}{M3}
  236. \newcommand*{\mereniKameraDisplejNazev}{Zpoždění kamera - displej}
  237. \newcommand*{\mereniKameraDisplejCele}{\mereniKameraDisplejZkratka: \mereniKameraDisplejNazev}
  238.  
  239. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  240. % :: ????
  241. \newcommand{\itt}{\small\bf\scshape}
  242. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  243.  
  244. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  245. % :: TO TRY?
  246. % \usepackage{xparse}
  247.  
  248. %\NewDocumentCommand\mycommand{}{somecodehere}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement