summaryrefslogtreecommitdiffstats
path: root/Dokument/Teknisk Dokumentation/root.tex
blob: bd9969a87a8ca1af9638999d5f20021a3906b88e (plain) (blame)
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
 \documentclass[10pt,oneside,swedish]{lips-no_customer}

%\usepackage[square]{natbib}\bibliographystyle{plainnat}\setcitestyle{numbers}
\usepackage[round]{natbib}\bibliographystyle{plainnat}

% Configure the document
\title{Teknisk dokumentation}
\author{Yc4}
\date{\today}
\version{0.1}

\reviewed{ReviewerName}{2015-xx-xx}
\approved{ApproverName}{2015-xx-xx}

\projecttitle{Styrning och optimering av bilbana}

\groupname{Yc4}
\groupemail{team_yc4@liuonline.onmicrosoft.com}
\groupwww{https://www.fs.isy.liu.se/Edu/Courses/TFYY51/}

\coursecode{TFYY51}
\coursename{Ingenjörsprojekt}

\orderer{Erik Frisk, Linköpings universitet}
\ordererphone{+46(0)13-285714}
\ordereremail{ordere@liu.se}

%\customer{Kund, Företag X}
%\customerphone{+46 xxxxxx}
%\customeremail{erik.frisk@liu.se}

\courseresponsible{Urban Forsberg}
\courseresponsiblephone{+46(0)13-281350}
\courseresponsibleemail{urban.frsberg@liu.se}

\supervisor{Viktor Leek}
\supervisorphone{+46(0)13-284493}
\supervisoremail{viktor.leek@liu.se}

\smalllogo{logo} % Page header logo, filename
\biglogo{logo} % Front page logo, filename

\cfoot{\thepage}
\begin{document}
\maketitle

\cleardoublepage
\makeprojectid

\begin{center}
  \Large Projektdeltagare
\end{center}
\begin{center}
  \begin{tabular}{|l|l|l|}
    \hline
    \textbf{Namn} & \textbf{Ansvar} & \textbf{E-post}\\
    \hline
    Anna Andersson & kundansvarig (KUN) & Annan111@student.liu.se\\
    \hline
    Beata Bson & dokumentansvarig (DOK) & Beabs222@student.liu.se\\
    \hline
    Cecilia Cson & designansvarig (DES) & Ceccs333@student.liu.se\\
    \hline
    Doris Dson & testansvarig (TEST) & Dords444@student.liu.se\\
    \hline
    Erik Eson & kvalitetssamordnare (QA) & Eries555@student.liu.se\\
    \hline
    Fredrik Fson & implementationsansvarig (IMP) & Frefs666@student.liu.se\\
    \hline
    Greta Gson & Projektledare (PL) & Gregs777@student.liu.se\\
    \hline
  \end{tabular}
\end{center}

\section*{Dokumenthistorik}
\begin{tabular}{p{.06\textwidth}|p{.1\textwidth}|p{.45\textwidth}|p{.13\textwidth}|p{.13\textwidth}} 
  \multicolumn{1}{c}{\bfseries Version} & 
  \multicolumn{1}{|c}{\bfseries Datum} & 
  \multicolumn{1}{|c}{\bfseries Utförda förändringar} & 
  \multicolumn{1}{|c}{\bfseries Utförda av} & 
  \multicolumn{1}{|c}{\bfseries Granskad}\\
  \hline
  \hline
  0.1 & 2019-11-26 & Förberedande struktur & Albin &   - \\
  \hline
  0.2 & 2015-11-03 & Första utkast & Sign2 & Name2   \\
  \hline
  0.3 & 2015-11-03 & Första revision & Sign2 & Name2   \\
  \hline

\end{tabular}

\cleardoublepage
\pagenumbering{arabic}\cfoot{\thepage}
\section*{Sammanfattning}
Massa text som sammanfattar hela skiten.
\cleardoublepage
\tableofcontents
\cleardoublepage

\section{Introduktion}
Nån text här
\subsection{Syfte och mål}
Nån text här
\subsection{Krav}
\lipsum[7]

Det finns en miljö (environment) för att skriva krav, hantera
numrering, och göra det möjligt att referera individuella krav. Det
skall se bra ut även när tabellen spänner över flera sidor. Se
källkoden för tabellen med krav nedan.

\begin{requirements}
  \requirementno\label{req:myreq} & Description & 2\\
  \requirementno & Description & 1\\
  \requirementno & Description & 1\\
  \requirementno & Description & 1\\
  \requirementno & Description & 1\\
  \requirementno & Description & 1\\
  \requirementno & Description & 1\\
  \requirementno & Description & 1\\
  \requirementno & Description & 1\\
  \requirementno\label{req:myreq2} & Description & 2\\
  \requirementno & Description & 1\\
  \requirementno & Description & 1\\
  \requirementno & Description & 1\\
  \requirementno & Description & 1\\
  \requirementno & Description & 1\\
  \requirementno & Description & 1\\
  \requirementno & Description & 1\\
  \requirementno & Description & 1\\
  \requirementno & Description & 1\\
  \requirementno & Description & 1\\
  \requirementno & Description & 1\\
  \requirementno & Description & 1\\
  \requirementno & Description & 1\\
  \requirementno & Description & 1\\
  \requirementno & Description & 1\\
  \requirementno & Description & 1\\
  \requirementno & Description & 1\\
  \requirementno & Description & 1\\
  \requirementno & Description & 1\\
  \requirementno & Description & 1\\
\end{requirements}

Notera att kraven~\ref{req:myreq} och~\ref{req:myreq2} har prioritet 2.

\clearpage
\bibliography{references}

\cleardoublepage

\section{Bakgrund}
Nån text

\section{Metod}
Tillvägagångssätt för utvecklign av systemet. Skriv massa positiva saker om git.
\section{System}
 Nån text
	\subsection{Delsystem}
		\subsubsection{Bana}
		\subsubsection{Display}
	\subsection{Funktioner och scripts}
		\subsubsection{main}
		\subsubsection{get\_ postition}
		% osv.

\section{Resultat}
Det gick åt skogen
Kanske visa lite grafer.

\section{Diskussion}
Undrar varför

\section{Första kapitlet}
Detta är en text. \emph{Detta är kursiv text}. \textbf{Detta är text i
  fetstil}.


\subsection{Alternativ till dokumentmall}
Följande alternativ kan specificeras till dokumentmallen:
\begin{itemize}
\item Språk: \texttt{english} (default) eller \texttt{swedish}
\item Sidlayout: \texttt{oneside} (default) eller \texttt{twoside}
\item Fontstorlek: \texttt{10pt} (default), \texttt{11pt}, eller \texttt{12pt}
\end{itemize}
Exempel på mallaktivering
\begin{verbatim}
\documentclass[10pt,oneside,english]{lips}
\end{verbatim}
\subsection{Rubrik nivå 2}
\label{sec:rubrik-niva-2}
\lipsum[7]

\subsubsection{Rubrik nivå 3}
\label{sec:rubrik-niva-3}
\lipsum[7]

\subsection{Andra rubrik nivå 2}
\lipsum[7]

\subsection{Tredje rubrik nivå 2}
Mere text och en Laplace-transform av functionen $f(t)$
\begin{equation}
  F(s) = \int_{-\infty}^{\infty} f(t)e^{-st}\,dt.
\end{equation}

\section{Andra kapitlet}
Eulers identitet med $\pi$ är
\begin{equation}
  e^{i\pi} + 1 = 0
\end{equation}
och med $\tau$, se \citep{HartVi:2011} (se detta som ett exempel på
hur on-line resurser kan citeras), 
\begin{equation}
  e^{i\tau} = 1
\end{equation}
så här citeras ett vetenskapligt arbete\citep{einstein1905uber}, och
så här skrivs en fotnot\footnote{Var konsistent med hur ni citerar, i
  ingenjörsvetenskap så används fotnötter mycket
  sparsamt.}. Information om de citerade arbetena skrivs i filen \texttt{references.bib}.

\subsection{Ytterligare en rubrik på nivå 2}
\lipsum[10]

\begin{equation}
  \int_{a}^{b} f'(x)\,dx = f(b)-f(a)
\end{equation}

\section{Tredje kapitlet}
Matlab-kod kan infogas prydligt via paketet \texttt{listings.sty},
exempelvis så här\footnote{Här, koden från Matlab-kommandot
  \texttt{rank} används som exempel.}.
\begin{lstlisting}[language=Matlab,frame=single, numbers=left, stepnumber=2]
function r = rank(A,tol)
% RANK   Matrix rank.
%   RANK(A) provides an estimate of the number of linearly
%   independent rows or columns of a matrix A.
%   RANK(A,tol) is the number of singular values of A
%   that are larger than tol.
%   RANK(A) uses the default tol = max(size(A)) * eps(norm(A)).
%
%   Class support for input A:
%      float: double, single

%   Copyright 1984-2007 The MathWorks, Inc.

s = svd(A);
if nargin==1
   tol = max(size(A)) * eps(max(s));
end
r = sum(s > tol);
\end{lstlisting}

\subsection{Inkludera figurer}
\lipsum[7]

Figur~\ref{fig:bluemarble} vidsar en berömd bild på jorden från Apollo~17.
\begin{figure}[htbp]
  \centering
  \includegraphics[width=.5\textwidth]{The_Earth_seen_from_Apollo_17}
  \caption{Det berömda 'The blue marble' fotot.}
  \label{fig:bluemarble}
\end{figure}

\section{\LaTeX{}}
Den här teten är ingen introduktion till \LaTeX{}. För mer
information, se online-resurser exempelvis på \citep{TUG}, där en bra
start är dokumentet \url{http://ctan.org/pkg/lshort}. Därifrån kan
även mjukvara for Linux
\url{http://www.tug.org/texlive/}, för Mac
\url{http://www.tug.org/mactex/}, och för Windows
\url{http://www.miktex.org} laddas ned.

För att typsätta det här dokumentet skriv
\begin{lstlisting}[language=sh,frame=single]
pdflatex general_sv.tex
bibtex general_sv
pdflatex general_sv.tex
\end{lstlisting}
vid en terminal prompt för att producera filen \texttt{lips-gen.pdf}.

\subsection{Att skriva krav}
\lipsum[7]

Det finns en miljö (environment) för att skriva krav, hantera
numrering, och göra det möjligt att referera individuella krav. Det
skall se bra ut även när tabellen spänner över flera sidor. Se
källkoden för tabellen med krav nedan.

\begin{requirements}
  \requirementno\label{req:myreq} & Description & 2\\
  \requirementno & Description & 1\\
  \requirementno & Description & 1\\
  \requirementno & Description & 1\\
  \requirementno & Description & 1\\
  \requirementno & Description & 1\\
  \requirementno & Description & 1\\
  \requirementno & Description & 1\\
  \requirementno & Description & 1\\
  \requirementno\label{req:myreq2} & Description & 2\\
  \requirementno & Description & 1\\
  \requirementno & Description & 1\\
  \requirementno & Description & 1\\
  \requirementno & Description & 1\\
  \requirementno & Description & 1\\
  \requirementno & Description & 1\\
  \requirementno & Description & 1\\
  \requirementno & Description & 1\\
  \requirementno & Description & 1\\
  \requirementno & Description & 1\\
  \requirementno & Description & 1\\
  \requirementno & Description & 1\\
  \requirementno & Description & 1\\
  \requirementno & Description & 1\\
  \requirementno & Description & 1\\
  \requirementno & Description & 1\\
  \requirementno & Description & 1\\
  \requirementno & Description & 1\\
  \requirementno & Description & 1\\
  \requirementno & Description & 1\\
\end{requirements}

Notera att kraven~\ref{req:myreq} och~\ref{req:myreq2} har prioritet 2.

\clearpage
\bibliography{references}

\cleardoublepage
\appendix
\section{Första appendix}
\subsection{Första underkapitel i första appendix}
\lipsum[5]

\subsubsection{Under underkapitel i första appendix}
En text.

\subsection{Andra underkapitel i första appendix}
\lipsum[5]
\subsubsection{Under underkapitel i första appendix}
En text

\section{Andra appendix}
\subsection{Första underkapitel i andra appendix}
\lipsum[5]

\subsubsection{Under underkapitel i andra appendix}
En text

\subsection{Andra underkapitel i andra appendix}
\lipsum[5]
\subsubsection{Under underkapitel i andra appendix}
En text

\end{document}

%%% Local Variables:
%%% mode: latex
%%% TeX-master: t
%%% End: