-
Notifications
You must be signed in to change notification settings - Fork 2
/
floss-arduino-works.tex
198 lines (163 loc) · 5.6 KB
/
floss-arduino-works.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
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
\documentclass[a4paper,11pt]{book}
%\newcommand{\Origin}{/Users/kannan/FOSS/scilab-arduino}
% \newcommand{\Origin}{D:/Latex_files/scilab-arduino}
%\newcommand{\Origin}{/home/manas/Desktop/scilab-arduino}
%\newcommand{\Origin}{E:/scilab-arduino/scilab-arduino}
%\newcommand{\Home}{/Users/kannan/FOSS/scilab-arduino}
% \newcommand{\Home}{D:/Latex_files/scilab-arduino}
%\newcommand{\Origin}{/home/fossee/Desktop/scilab-arduino-final/scilab-arduino}
%\newcommand{\Home}{/home/fossee/Desktop/scilab-arduino-final/scilab-arduino}
\newcommand{\Home}
{/Users/kannan/FOSS/scilab-arduino/floss-arduino-clone}
\newcommand{\Origin}
{/Users/kannan/FOSS/scilab-arduino/floss-arduino-clone}
%\newcommand{\Home}{/home/fossee/Desktop/floss-scilab-arduino}
%\newcommand{\Origin}{/home/fossee/Desktop/floss-scilab-arduino}
%\newcommand{\Home}{E:/scilab-arduino/scilab-arduino}
\newcommand{\bluecolor}[1]{\color{blue}#1\color{black}}
\usepackage{color}
\usepackage{layouts}
\usepackage{cclicenses}
\usepackage{morefloats}
\usepackage{paralist}
\usepackage{chngcntr}
\usepackage{layouts}
\usepackage{fancyhdr}
\pagestyle{headings}
\usepackage{amsmath,graphicx,makeidx}
\usepackage{fancybox}
\usepackage{cite}
\usepackage{hyperref}
%\usepackage{appendix}
\counterwithout{footnote}{chapter}
\usepackage{subfig}
\usepackage{listings}
\usepackage{varioref} % for \vref commands
%\usepackage{hyperref}
%\DeclareFontFamily{OT1}{cmtt}{\hyphenchar \font=-1}
\usepackage[T1]{fontenc}
\usepackage{beramono}
\usepackage{seqsplit}
\newcommand{\portcmd}{\small%
, see \fnrefp{fn:port}}
\newcommand{\redcolor}[1]{\color{red}#1\color{black}}
\newcommand{\codclr}{10pt}
\newcommand{\scilab}{Scilab}
\newcommand{\arduino}{Arduino Uno}
\newcommand{\ie}{\emph{i.e.},}
\newcommand{\ourname}[1]{\\ [1.5mm] \noindent{\bf #1}}
% Shroff book size
%\textheight 7.75in
\textheight 7.5in
\textwidth 5.5in
\evensidemargin 0.625in
\oddsidemargin 0.625in
\input{\Home/suppl/styles}
\renewcommand\chaptermark[1]{\markboth{\bf {\thechapter. #1}}{}}
\renewcommand\sectionmark[1]{\markright{\bf {\thesection. #1}}}
\cfoot{}
\fancyfoot{}
\newcommand{\comment}[1]{\color{red}#1\color{black}}
\newcommand{\eatcomment}[0]{\renewcommand{\reminder}[1]{}}
\newcommand{\tnfig}{0.3\linewidth}
\newcommand{\smfig}{0.45\linewidth}%0.42
\newcommand{\smfigp}{0.49\linewidth}%0.42
\newcommand{\lgfig}{0.65\linewidth}%0.65
\newcommand{\hgfig}{0.9\linewidth}
\renewcommand\bibname{References}
\newcommand{\figref}[1]{Fig.~\ref{#1}}
\newcommand{\figrefp}[1]{Fig.~\vref{#1}}
\newcommand{\tabref}[1]{Table~\ref{#1}}
\newcommand{\tabrefp}[1]{Table~\vref{#1}}
\newcommand{\chapref}[1]{Chapter~\ref{#1}}
\newcommand{\secref}[1]{Sec.~\ref{#1}}
\newcommand{\sciref}[1]{Scilab~Code~\ref{#1}}
\newcommand{\pyref}[1]{Python~Code~\ref{#1}} % added for python
\newcommand{\juliaref}[1]{Julia~Code~\ref{#1}} % added for julia
\newcommand{\OpenModelicaref}[1]{OpenModelica~Code~\ref{#1}} % added for OpenModelica
\newcommand{\ardref}[1]{Arduino~Code~\ref{#1}}
\newcommand{\mypageref}[1]{Page~\pageref{#1}}
\newcommand{\fnref}[1]{Footnote~\ref{#1}}
\newcommand{\fnrefp}[1]{Footnote~\vref{#1}}
\renewcommand{\topfraction}{1}
\renewcommand{\bottomfraction}{1}
\renewcommand{\textfraction}{0}
\renewcommand{\floatpagefraction}{1}
% \bibliographystyle{./IEEEtran}
\bibliographystyle{unsrt}
\hyphenation{Ashu-tosh pr-ess}
\makeindex
\begin{document}
\pagestyle{plain}
\pagestyle{empty}
\frontmatter
\thispagestyle{empty}
%\input{suppl/dedicate}
\pagestyle{headings}
\tableofcontents
\listoffigures
\listoftables
\listofard
\listofcode
\listofpyd
\listofjuliad
\listofOpenModelicad
%\thispagestyle{empty}
\addtocontents{toc}{\protect\thispagestyle{empty}}
%\input{suppl/preface}
%\input{suppl/acr}
\input{suppl/acr}
\mainmatter
\pagestyle{headings}
\renewcommand\chaptermark[1]{\markboth{\bf {\thechapter. #1}}{}}
\renewcommand\sectionmark[1]{\markright{\bf {\thesection. #1}}}
%\input{texfiles/microcontintro.tex}
%\input{texfiles/sciaurint.tex}
\input{suppl/intro.tex}
\input{user-code/hw-env/hw-env.tex}
\input{user-code/sw-env/sw-env.tex}
\input{user-code/led/led-base.tex}
\input{user-code/led/led-scilab.tex}
\input{user-code/led/led-python.tex}
\input{user-code/led/led-julia.tex}
\input{user-code/led/led-OM.tex}
\input{user-code/push/push-base.tex}
\input{user-code/push/push-scilab.tex}
\input{user-code/push/push-python.tex}
\input{user-code/push/push-julia.tex}
\input{user-code/push/push-OM.tex}
\input{user-code/ldr/ldr-base.tex}
\input{user-code/ldr/ldr-scilab.tex}
\input{user-code/ldr/ldr-python.tex}
\input{user-code/ldr/ldr-julia.tex}
\input{user-code/ldr/ldr-OM.tex}
\input{user-code/pot/pot-base.tex}
\input{user-code/pot/pot-scilab.tex}
\input{user-code/pot/pot-python.tex}
\input{user-code/pot/pot-julia.tex}
\input{user-code/pot/pot-OM.tex}
\input{user-code/thermistor/thermistor-base.tex}
\input{user-code/thermistor/thermistor-scilab.tex}
\input{user-code/thermistor/thermistor-python.tex}
\input{user-code/thermistor/thermistor-julia.tex}
\input{user-code/thermistor/thermistor-OM.tex}
\input{user-code/servo/servo-base.tex}
\input{user-code/servo/servo-scilab.tex}
\input{user-code/servo/servo-python.tex}
\input{user-code/servo/servo-julia.tex}
\input{user-code/servo/servo-OM.tex}
\input{user-code/dcmotor/dcmotor-base.tex}
\input{user-code/dcmotor/dcmotor-scilab.tex}
\input{user-code/dcmotor/dcmotor-python.tex}
\input{user-code/dcmotor/dcmotor-julia.tex}
\input{user-code/dcmotor/dcmotor-OM.tex}
\input{user-code/modbus/modbus.tex}
%\input{texfiles/servo.tex}
%\input{texfiles/Appendix.tex}
%\appendix
%\input{texfiles/sp-appendix.tex}
%\input{windows/windows}
\bibliography{bibliography.bib}
%\printindex
%\input{texfiles/AuthorInfo.tex}
\end{document}