Ein Roboter mit bürstenlosem Antrieb, differenzial und NRF24L01 Funk. Großflächig gebaut um ein großes Solarpanel aufzunehmen. https://gitlab.informatik.hs-fulda.de/fdai5253/roboter
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

235 lines
6.6 KiB

  1. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  2. % Lachaise Assignment
  3. % Structure Specification File
  4. % Version 1.0 (26/6/2018)
  5. %
  6. % This template originates from:
  7. % http://www.LaTeXTemplates.com
  8. %
  9. % Authors:
  10. % Marion Lachaise & François Févotte
  11. % Vel (vel@LaTeXTemplates.com)
  12. %
  13. % License:
  14. % CC BY-NC-SA 3.0 (http://creativecommons.org/licenses/by-nc-sa/3.0/)
  15. %
  16. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  17. %----------------------------------------------------------------------------------------
  18. % PACKAGES AND OTHER DOCUMENT CONFIGURATIONS
  19. %----------------------------------------------------------------------------------------
  20. \usepackage{subfigure}
  21. \usepackage[ngerman]{babel} %UMLAUTE
  22. \usepackage{amsmath,amsfonts,stmaryrd,amssymb} % Math packages
  23. \usepackage{enumerate} % Custom item numbers for enumerations
  24. \usepackage[ruled]{algorithm2e} % Algorithms
  25. \usepackage[framemethod=tikz]{mdframed} % Allows defining custom boxed/framed environments
  26. \usepackage{listings} % File listings, with syntax highlighting
  27. \lstset{
  28. basicstyle=\ttfamily, % Typeset listings in monospace font
  29. }
  30. \usepackage{graphicx}
  31. %Path relative to the main .tex file
  32. \graphicspath{ {images/} }
  33. %----------------------------------------------------------------------------------------
  34. % DOCUMENT MARGINS
  35. %----------------------------------------------------------------------------------------
  36. \usepackage{geometry} % Required for adjusting page dimensions and margins
  37. \geometry{
  38. paper=a4paper, % Paper size, change to letterpaper for US letter size
  39. top=2.5cm, % Top margin
  40. bottom=3cm, % Bottom margin
  41. left=2.5cm, % Left margin
  42. right=2.5cm, % Right margin
  43. headheight=14pt, % Header height
  44. footskip=1.5cm, % Space from the bottom margin to the baseline of the footer
  45. headsep=1.2cm, % Space from the top margin to the baseline of the header
  46. %showframe, % Uncomment to show how the type block is set on the page
  47. }
  48. %----------------------------------------------------------------------------------------
  49. % FONTS
  50. %----------------------------------------------------------------------------------------
  51. \usepackage[utf8]{inputenc} % Required for inputting international characters
  52. \usepackage[T1]{fontenc} % Output font encoding for international characters
  53. \usepackage{XCharter} % Use the XCharter fonts
  54. %----------------------------------------------------------------------------------------
  55. % COMMAND LINE ENVIRONMENT
  56. %----------------------------------------------------------------------------------------
  57. % Usage:
  58. % \begin{commandline}
  59. % \begin{verbatim}
  60. % $ ls
  61. %
  62. % Applications Desktop ...
  63. % \end{verbatim}
  64. % \end{commandline}
  65. \mdfdefinestyle{commandline}{
  66. leftmargin=10pt,
  67. rightmargin=10pt,
  68. innerleftmargin=15pt,
  69. middlelinecolor=black!50!white,
  70. middlelinewidth=2pt,
  71. frametitlerule=false,
  72. backgroundcolor=black!5!white,
  73. frametitle={Command Line},
  74. frametitlefont={\normalfont\sffamily\color{white}\hspace{-1em}},
  75. frametitlebackgroundcolor=black!50!white,
  76. nobreak,
  77. }
  78. % Define a custom environment for command-line snapshots
  79. \newenvironment{commandline}{
  80. \medskip
  81. \begin{mdframed}[style=commandline]
  82. }{
  83. \end{mdframed}
  84. \medskip
  85. }
  86. %----------------------------------------------------------------------------------------
  87. % FILE CONTENTS ENVIRONMENT
  88. %----------------------------------------------------------------------------------------
  89. % Usage:
  90. % \begin{file}[optional filename, defaults to "File"]
  91. % File contents, for example, with a listings environment
  92. % \end{file}
  93. \mdfdefinestyle{file}{
  94. innertopmargin=1.6\baselineskip,
  95. innerbottommargin=0.8\baselineskip,
  96. topline=false, bottomline=false,
  97. leftline=false, rightline=false,
  98. leftmargin=2cm,
  99. rightmargin=2cm,
  100. singleextra={%
  101. \draw[fill=black!10!white](P)++(0,-1.2em)rectangle(P-|O);
  102. \node[anchor=north west]
  103. at(P-|O){\ttfamily\mdfilename};
  104. %
  105. \def\l{3em}
  106. \draw(O-|P)++(-\l,0)--++(\l,\l)--(P)--(P-|O)--(O)--cycle;
  107. \draw(O-|P)++(-\l,0)--++(0,\l)--++(\l,0);
  108. },
  109. nobreak,
  110. }
  111. % Define a custom environment for file contents
  112. \newenvironment{file}[1][File]{ % Set the default filename to "File"
  113. \medskip
  114. \newcommand{\mdfilename}{#1}
  115. \begin{mdframed}[style=file]
  116. }{
  117. \end{mdframed}
  118. \medskip
  119. }
  120. %----------------------------------------------------------------------------------------
  121. % NUMBERED QUESTIONS ENVIRONMENT
  122. %----------------------------------------------------------------------------------------
  123. % Usage:
  124. % \begin{question}[optional title]
  125. % Question contents
  126. % \end{question}
  127. \mdfdefinestyle{question}{
  128. innertopmargin=1.2\baselineskip,
  129. innerbottommargin=0.8\baselineskip,
  130. roundcorner=5pt,
  131. nobreak,
  132. singleextra={%
  133. \draw(P-|O)node[xshift=1em,anchor=west,fill=white,draw,rounded corners=5pt]{%
  134. Question \theQuestion\questionTitle};
  135. },
  136. }
  137. \newcounter{Question} % Stores the current question number that gets iterated with each new question
  138. % Define a custom environment for numbered questions
  139. \newenvironment{question}[1][\unskip]{
  140. \bigskip
  141. \stepcounter{Question}
  142. \newcommand{\questionTitle}{~#1}
  143. \begin{mdframed}[style=question]
  144. }{
  145. \end{mdframed}
  146. \medskip
  147. }
  148. %----------------------------------------------------------------------------------------
  149. % WARNING TEXT ENVIRONMENT
  150. %----------------------------------------------------------------------------------------
  151. % Usage:
  152. % \begin{warn}[optional title, defaults to "Warning:"]
  153. % Contents
  154. % \end{warn}
  155. \mdfdefinestyle{warning}{
  156. topline=false, bottomline=false,
  157. leftline=false, rightline=false,
  158. nobreak,
  159. singleextra={%
  160. \draw(P-|O)++(-0.5em,0)node(tmp1){};
  161. \draw(P-|O)++(0.5em,0)node(tmp2){};
  162. \fill[black,rotate around={45:(P-|O)}](tmp1)rectangle(tmp2);
  163. \node at(P-|O){\color{white}\scriptsize\bf !};
  164. \draw[very thick](P-|O)++(0,-1em)--(O);%--(O-|P);
  165. }
  166. }
  167. % Define a custom environment for warning text
  168. \newenvironment{warn}[1][Warning:]{ % Set the default warning to "Warning:"
  169. \medskip
  170. \begin{mdframed}[style=warning]
  171. \noindent{\textbf{#1}}
  172. }{
  173. \end{mdframed}
  174. }
  175. %----------------------------------------------------------------------------------------
  176. % INFORMATION ENVIRONMENT
  177. %----------------------------------------------------------------------------------------
  178. % Usage:
  179. % \begin{info}[optional title, defaults to "Info:"]
  180. % contents
  181. % \end{info}
  182. \mdfdefinestyle{info}{%
  183. topline=false, bottomline=false,
  184. leftline=false, rightline=false,
  185. nobreak,
  186. singleextra={%
  187. \fill[black](P-|O)circle[radius=0.4em];
  188. \node at(P-|O){\color{white}\scriptsize\bf i};
  189. \draw[very thick](P-|O)++(0,-0.8em)--(O);%--(O-|P);
  190. }
  191. }
  192. % Define a custom environment for information
  193. \newenvironment{info}[1][Info:]{ % Set the default title to "Info:"
  194. \medskip
  195. \begin{mdframed}[style=info]
  196. \noindent{\textbf{#1}}
  197. }{
  198. \end{mdframed}
  199. }