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
|
%% Good fonts for PDF
\usepackage[cyr]{aeguill}
%% Package for page headers
\usepackage{fancyhdr}
%% Package to include graphics
%% Comment for DVI
\usepackage[pdftex]{graphicx}
%% Index
\usepackage{makeidx}
\makeindex
%% Figures formats: jpeg or pdf
%% Comment for DVI
\DeclareGraphicsExtensions{.jpg,.pdf}
%% Package to create Hyperdocuments
%% Comment for DVI
\usepackage[pdftex,colorlinks=true,linkcolor=blue,citecolor=blue,urlcolor=blue]{hyperref}
%% Package to control printed area size
\usepackage{anysize}
%% ...by defining margins {left}{right}{top}{bottom}
\marginsize{22mm}{14mm}{12mm}{25mm}
%% Package used to include a bibliography
\usepackage{natbib}
%% R for real numbers
\usepackage{amssymb}
%% User defined commands
%% Figure reference
\newcommand{\figref}[1]{figure~\ref{#1}}
%% Equation reference
\newcommand{\Ref}[1]{(\ref{#1})}
%% Emphasize a word or a group of words
\newcommand{\empha}[1]{\textit{\textbf{#1}}}
%% Derivation operators
\newcommand{\D}{\partial}
\newcommand{\Dt}{\partial_t}
\newcommand{\Dx}{\partial_x}
\newcommand{\Dy}{\partial_y}
\newcommand{\bd}{\mathbf{d}}
\newcommand{\bl}{\mathbf{l}}
\newcommand{\br}{\mathbf{r}}
\newcommand{\bg}{\mathbf{g}}
\newcommand{\bp}{\mathbf{p}}
\newcommand{\bH}{\mathbf{H}}
\newcommand{\bv}{\mathbf{v}}
\newcommand{\bx}{\mathbf{x}}
\newcommand{\by}{\mathbf{y}}
\usepackage{url}
% Scilab macros
\newcommand{\scifunction}[1]{\textit{#1}}
\newcommand{\scivar}[1]{\textit{#1}}
% To highlight source code
\usepackage{listings}
\lstdefinelanguage{scilabscript}%
{morekeywords={abcd,abinv,abort,abs,acoshm,acosh,acosm,acos,addcolor,%
addf,addinter,addmenu,add_edge,add_node,adj2sp,adj_lists,aff2ab,%
amell,analpf,analyze,ans,apropos,arc_graph,arc_number,argn,arhnk,%
arl2,arma2p,armac,armax1,armax,arma,arsimul,artest,articul,ascii,%
asinhm,asinh,asinm,asin,atanhm,atanh,atanm,atan,augment,auread,%
auwrite,balanc,balreal,bandwr,basename,bdiag,besseli,besselj,%
besselk,bessely,best_match,bezout,bifish,bilin,binomial,black,%
bloc2exp,bloc2ss,bode,bool2s,boolean,boucle,break,bstap,buttmag,%
bvode,cainv,calerf,calfrq,call,canon,casc,case,ccontrg,cdfbet,%
cdfbin,cdfchi,cdfchn,cdffnc,cdff,cdfgam,cdfnbn,cdfnor,cdfpoi,%
cdft,ceil,center,cepstrum,chaintest,chain_struct,champ1,champ,%
chart,chdir,cheb1mag,cheb2mag,check_graph,check_io,chepol,chfact,%
chol,chsolve,circuit,classmarkov,clean,clearfun,clearglobal,%
clear,close,cls2dls,cmb_lin,cmndred,cmoment,code2str,coeff,coffg,%
coff,colcompr,colcomp,colinout,colormap,colregul,companion,comp,%
cond,conj,connex,contour2di,contour2d,contourf,contour,%
contract_edge,contrss,contr,cont_frm,cont_mat,convex_hull,convol,%
convstr,con_nodes,copfac,copy,correl,corr,coshm,cosh,cosm,cos,%
cotg,cothm,coth,covar,csim,cspect,ctr_gram,cumprod,cumsum,%
curblock,cycle_basis,czt,c_link,dasrt,dassl,datafit,date,dbphi,%
dcf,ddp,debug,dec2hex,deff,definedfields,degree,delbpt,%
delete_arcs,delete_nodes,delete,delip,delmenu,demos,denom,%
derivative,derivat,des2ss,des2tf,determ,detr,det,dft,dhinf,%
dhnorm,diag,diary,diff,diophant,dirname,dispbpt,dispfiles,disp,%
dlgamma,double,dragrect,drawaxis,drawlater,drawnow,draw,driver,%
dscr,dsearch,dsimul,dtsi,dt_ility,duplicate,edge_number,%
edit_curv,edit_graph_menus,edit_graph,edit,eigenmarkov,ell1mag,%
elseif,else,emptystr,endfunction,end,eqfir,eqiir,equil1,equil,%
ereduc,erfcx,erfc,erf,errbar,errcatch,errclear,error,eval3dp,%
eval3d,eval,evans,evstr,excel2sci,execstr,exec,exists,exit,expm,%
exp,external,eye,fac3d,factors,faurre,fchamp,fcontour2d,fcontour,%
fec,feedback,feval,ffilt,fftshift,fft,fgrayplot,figure,fileinfo,%
file,filter,findm,findobj,findx0BD,find_freq,find_path,find,%
findABCD,findAC,findBD,findBDK,findR,fit_dat,fix,floor,flts,foo,%
formatman,format,fort,for,fourplan,fplot2d,fplot3d1,fplot3d,%
fprintf,fprintfMat,frep2tf,freq,freson,frexp,frfit,frmag,fscanf,%
fscanfMat,fsfirlin,fsolve,fspecg,fstabst,fstair,ftest,ftuneq,%
fullrfk,fullrf,full,fun2string,funcprot,functions,function,%
funptr,fusee,gainplot,gamitg,gammaln,gamma,gcare,gcd,gcf,%
genfac3d,genlib,genmarkov,gen_net,geom3d,geomean,getblocklabel,%
getcolor,getcurblock,getcwd,getdate,getd,getenv,getfield,getfont,%
getf,getio,getlinestyle,getmark,getpid,getscicosvars,getsymbol,%
getvalue,getversion,get_function_path,get,gfare,gfrancis,girth,%
givens,glever,glist,global,glue,gpeche,graduate,grand,%
graphics_entities,graph_2_mat,graph_center,graph_complement,%
graph_diameter,graph_power,graph_simp,graph_sum,graph_union,%
graph-list,graycolormap,grayplot,graypolarplot,grep,group,%
gr_menu,gschur,gsort,gspec,gstacksize,gtild,g_margin,h2norm,halt,%
hamilton,hankelsv,hank,harmean,havewindow,help,hermit,hess,%
hex2dec,hilb,hinf,hist3d,histplot,horner,host,hotcolormap,%
householder,hrmt,htrianr,hypermat,h_cl,h_inf_st,h_inf,h_norm,%
iconvert,icon_edit,ieee,if,iirgroup,iirlp,iir,ilib_build,%
ilib_compile,ilib_for_link,ilib_gen_gateway,ilib_gen_loader,%
ilib_gen_Make,imag,impl,imrep2ss,imult,im_inv,inistate,input,%
int16,int2d,int32,int3d,int8,intc,intdec,integrate,interpln,%
interp,intersci,intersect,intg,intl,intppty,intsplin,inttrap,%
inttype,int,invr,invsyslin,inv_coeff,inv,iqr,isdef,isdir,isequal,%
iserror,isglobal,isinf,isnan,isoview,isreal,is_connex,jmat,%
justify,kalm,karmarkar,kernel,keyboard,knapsack,kpure,krac2,%
kroneck,kron,lasterror,lattn,lattp,lcf,lcmdiag,lcm,ldivf,ldiv,%
leastsq,legends,length,leqr,levin,lev,lex_sort,lft,lgfft,library,%
lib,lin2mu,lincos,lindquist,lines,line_graph,linfn,linf,link,%
linmeq,linpro,linsolve,linspace,lin,listfiles,list,lmisolver,%
lmitool,loadmatfile,loadplots,loadwave,load_graph,load,locate,%
log10,log1p,log2,logm,logspace,log,lotest,lqe,lqg2stan,lqg_ltr,%
lqg,lqr,lsq,lsslist,lstcat,lstsize,ltitr,ludel,lufact,luget,%
lusolve,lu,lyap,macglov,macr2lst,macrovar,macro,mad,make_graph,%
make_index,manedit,man,mapsound,markp2ss,matfile2sci,matrix,%
mat_2_graph,maxi,max_cap_path,max_clique,max_flow,max,mclearerr,%
mclose,meanf,mean,median,meof,mese,mesh2d,mfft,mfile2sci,mgeti,%
mgetl,mgetstr,mget,milk_drop,mine,mini,minreal,minss,%
min_lcost_cflow,min_lcost_flow1,min_lcost_flow2,min_qcost_flow,%
min_weight_tree,min,mlist,mode,modulo,moment,mopen,move,%
mps2linpro,mputl,mputstr,mput,mrfit,msd,mseek,mtell,mtlb_load,%
mtlb_mode,mtlb_save,mtlb_sparse,mu2lin,mulf,mvvacov,m_circle,%
names,nand2mean,nanmax,nanmeanf,nanmean,nanmedian,nanmin,%
nanstdev,nansum,narsimul,ndims,nearfloat,nehari,neighbors,%
netclose,netwindows,netwindow,newest,newfun,nextpow2,nf3d,nfreq,%
nlev,nnz,nodes_2_path,nodes_degrees,node_number,noisegen,norm,%
null,numdiff,numer,nyquist,obscont1,obscont,observer,obsvss,%
obsv_mat,obs_gram,odedc,odedi,odeoptions,ode_discrete,ode_root,%
ode,oldload,oldsave,ones,optim,orth,param3d1,param3d,%
paramfplot2d,parrot,part,pathconvert,path_2_nodes,pause,pbig,%
pdiv,pen2ea,pencan,penlaur,perctl,perfect_match,pertrans,pfss,%
phasemag,phc,pinv,pipe_network,playsnd,plot2d1,plot2d2,plot2d3,%
plot2d4,plot2d,plot3d1,plot3d2,plot3d3,plot3d,plotframe,%
plotprofile,plot_graph,plot,plzr,pmodulo,pol2des,pol2str,pol2tex,%
polarplot,polar,polfact,poly,portr3d,portrait,power,ppol,prbs_a,%
predecessors,predef,printf,printing,print,prod,profile,projsl,%
projspec,proj,psmall,pspect,pvm_addhosts,pvm_barrier,pvm_bcast,%
pvm_bufinfo,pvm_config,pvm_delhosts,pvm_error,pvm_exit,%
pvm_f772sci,pvm_getinst,pvm_gettid,pvm_get_timer,pvm_gsize,%
pvm_halt,pvm_joingroup,pvm_kill,pvm_lvgroup,pvm_mytid,pvm_parent,%
pvm_probe,pvm_recv,pvm_reduce,pvm_sci2f77,pvm_send,pvm_set_timer,%
pvm_spawn_independent,pvm_spawn,pvm_start,pvm_tasks,%
pvm_tidtohost,pvm,pwd,p_margin,qassign,qr,quapro,quart,quaskro,%
quit,randpencil,rand,range,rankqr,rank,rat,rcond,rdivf,read4b,%
readb,readc_,readmps,read,real,recur,reglin,regress,remezb,remez,%
repfreq,replot,residu,resume,return,riccati,riccsl,ricc,ric_desc,%
rlist,roots,rotate,round,routh_t,rowcompr,rowcomp,rowinout,%
rowregul,rowshuff,rpem,rref,rtitr,rubberbox,salesman,savewave,%
save_graph,save,scaling,scanf,schur,sci2exp,sci2for,sci2map,%
sciargs,scicosim,scicos,scifunc_block,sd2sci,secto3d,select,%
semidef,sensi,setbpt,seteventhandler,setfield,setmenu,%
setscicosvars,set,sfact,sgrid,shortest_path,showprofile,%
show_arcs,show_graph,show_nodes,sident,signm,sign,simp_mode,simp,%
sincd,sinc,sinc,sinhm,sinh,sinm,sin,size,sm2des,sm2ss,smooth,%
solve,sorder,sort,sound,sp2adj,spaninter,spanplus,spantwo,sparse,%
spchol,spcompack,specfact,spec,speye,spget,splin,split_edge,%
spones,sprand,sprintf,spzeros,sqroot,sqrtm,sqrt,squarewave,%
square,srfaur,srkf,ss2des,ss2ss,ss2tf,sscanf,sskf,ssprint,ssrand,%
stabil,stacksize,standard_define,standard_draw,standard_input,%
standard_origin,standard_output,startup,stdevf,stdev,steadycos,%
str2code,strange,strcat,strindex,strings,string,stripblanks,%
strong_connex,strong_con_nodes,strsubst,st_deviation,st_ility,%
subf,subgraph,subplot,successors,sum,supernode,sva,svd,svplot,%
sylm,sylv,sysconv,sysdiag,sysfact,syslin,syssize,systems,system,%
systmat,tabul,tangent,tanhm,tanh,tanm,tan,tdinit,testmatrix,%
texprint,tf2des,tf2ss,then,thrownan,timer,time_id,titlepage,%
tk_getdir,tk_getfile,tlist,toeplitz,tokenpos,tokens,trace,%
translatepaths,trans_closure,trans,trfmod,trianfml,tril,trimmean,%
trisolve,triu,trzeros,typename,typeof,type,uicontrol,uimenu,%
uint16,uint32,uint8,ui_observer,ulink,unglue,union,unique,unix_g,%
unix_s,unix_w,unix_x,unix,unobs,unsetmenu,user,varargin,%
varargout,variancef,variance,varn,warning,wavread,wavwrite,%
wcenter,wfir,what,whereami,whereis,where,while,whos,who_user,who,%
wiener,wigner,window,winsid,with_gtk,with_pvm,with_texmacs,%
with_tk,writb,write4b,write,xarcs,xarc,xarrows,xaxis,xbasc,%
xbasimp,xbasr,xchange,xclear,xclea,xclick,xclip,xdel,xend,xfarcs,%
xfarc,xfpolys,xfpoly,xfrect,xgetech,xgetfile,xgetmouse,xget,%
xgraduate,xgrid,xinfo,xinit,xlfont,xload,xname,xnumb,xpause,%
xpolys,xpoly,xrects,xrect,xrpoly,xs2fig,xs2gif,xs2ppm,xs2ps,%
xsave,xsegs,select,xsetech,xsetm,xset,xstringb,xstringl,xstring,%
xtape,xtitle,x_choices,x_choose,x_dialog,x_matrix,x_mdialog,%
x_message_modeless,x_message,yulewalk,zeropen,zeros,zgrid,zpbutt,%
zpch1,zpch2,zpell,mfprintf,mfscanf,mprintf,mscanf,msprintf,%
msscanf,mucomp,%
ABSBLK_f,AFFICH_f,ANDLOG_f,ANIMXY_f,BIGSOM_f,CLINDUMMY_f,CLKIN_f,%
CLKINV_f,CLKOUT_f,CLKOUTV_f,CLKSOM_f,CLKSOMV_f,CLKSPLIT_f,%
CLOCK_f,CLR_f,CLSS_f,CONST_f,COSBLK_f,CURV_f,DELAY_f,DELAYV_f,%
DEMUX_f,DLR_f,DLRADAPT_f,DLSS_f,EVENTSCOPE_f,EVTDLY_f,EVTGEN_f,%
EXPBLK_f,G_make,GAIN_f,GAINBLK_f,GENERAL_f,GENERIC_f,GENSIN_f,%
GENSQR_f,HALT_f,IFTHEL_f,IN_f,INTEGRAL_f,INTRP2BLK_f,INTRPLBLK_f,%
INVBLK_f,LOGBLK_f,LOOKUP_f,Matplot1,Matplot,MAX_f,MCLOCK_f,%
MFCLCK_f,MIN_f,MUX_f,NDcost,NEGTOPOS_f,OUT_f,POSTONEG_f,POWBLK_f,%
PROD_f,QUANT_f,RAND_f,READC_f,REGISTER_f,RELAY_f,RFILE_f,%
ScilabEval,Sfgrayplot,Sgrayplot,SAMPLEHOLD_f,SAT_f,SAWTOOTH_f,%
SCOPE_f,SCOPXY_f,SELECT_f,SINBLK_f,SOM_f,SPLIT_f,STOP_f,SUPER_f,%
TANBLK_f,TCLSS_f,TEXT_f,TIME_f,TK_EvalFile,TK_EvalStr,TK_GetVar,%
TK_SetVar,TRASH_f,WFILE_f,WRITEC_f,ZCROSS_f,%
\%asn,\%helps,\%k,\%sn},%
alsoletter=\%,% chmod
sensitive,%
morecomment=[l]//,%
morestring=[b]",%
morestring=[m]'%
numbers=none,%
basicstyle=\tiny,%
keywordstyle=\bfseries,%
commentstyle=\bfseries,%
showspaces=false,%
stringstyle=\bfseries
}[keywords,comments,strings]%
\lstdefinelanguage{matlabscript}%
{morekeywords={gt,lt,gt,lt,amp,abs,acos,acosh,acot,acoth,acsc,acsch,%
all,angle,ans,any,asec,asech,asin,asinh,atan,atan2,atanh,auread,%
auwrite,axes,axis,balance,bar,bessel,besselk,bessely,beta,%
betainc,betaln,blanks,bone,break,brighten,capture,cart2pol,%
cart2sph,caxis,cd,cdf2rdf,cedit,ceil,chol,cla,clabel,clc,clear,%
clf,clock,close,colmmd,Colon,colorbar,colormap,ColorSpec,colperm,%
comet,comet3,compan,compass,computer,cond,condest,conj,contour,%
contour3,contourc,contrast,conv,conv2,cool,copper,corrcoef,cos,%
cosh,cot,coth,cov,cplxpair,cputime,cross,csc,csch,csvread,%
csvwrite,cumprod,cumsum,cylinder,date,dbclear,dbcont,dbdown,%
dbquit,dbstack,dbstatus,dbstep,dbstop,dbtype,dbup,ddeadv,ddeexec,%
ddeinit,ddepoke,ddereq,ddeterm,ddeunadv,deblank,dec2hex,deconv,%
del2,delete,demo,det,diag,diary,diff,diffuse,dir,disp,dlmread,%
dlmwrite,dmperm,dot,drawnow,echo,eig,ellipj,ellipke,else,elseif,%
end,engClose,engEvalString,engGetFull,engGetMatrix,engOpen,%
engOutputBuffer,engPutFull,engPutMatrix,engSetEvalCallback,%
engSetEvalTimeout,engWinInit,eps,erf,erfc,erfcx,erfinv,error,%
errorbar,etime,etree,eval,exist,exp,expint,expm,expo,eye,fclose,%
feather,feof,ferror,feval,fft,fft2,fftshift,fgetl,fgets,figure,%
fill,fill3,filter,filter2,find,findstr,finite,fix,flag,fliplr,%
flipud,floor,flops,fmin,fmins,fopen,for,format,fplot,fprintf,%
fread,frewind,fscanf,fseek,ftell,full,function,funm,fwrite,fzero,%
gallery,gamma,gammainc,gammaln,gca,gcd,gcf,gco,get,getenv,%
getframe,ginput,global,gplot,gradient,gray,graymon,grid,griddata,%
gtext,hadamard,hankel,help,hess,hex2dec,hex2num,hidden,hilb,hist,%
hold,home,hostid,hot,hsv,hsv2rgb,if,ifft,ifft2,imag,image,%
imagesc,Inf,info,input,int2str,interp1,interp2,interpft,inv,%
invhilb,isempty,isglobal,ishold,isieee,isinf,isletter,isnan,%
isreal,isspace,issparse,isstr,jet,keyboard,kron,lasterr,lcm,%
legend,legendre,length,lin2mu,line,linspace,load,log,log10,log2,%
loglog,logm,logspace,lookfor,lower,ls,lscov,lu,magic,matClose,%
matDeleteMatrix,matGetDir,matGetFp,matGetFull,matGetMatrix,%
matGetNextMatrix,matGetString,matlabrc,matlabroot,matOpen,%
matPutFull,matPutMatrix,matPutString,max,mean,median,menu,mesh,%
meshc,meshgrid,meshz,mexAtExit,mexCallMATLAB,mexdebug,%
mexErrMsgTxt,mexEvalString,mexFunction,mexGetFull,mexGetMatrix,%
mexGetMatrixPtr,mexPrintf,mexPutFull,mexPutMatrix,mexSetTrapFlag,%
min,more,movie,moviein,mu2lin,mxCalloc,mxCopyCharacterToPtr,%
mxCopyComplex16ToPtr,mxCopyInteger4ToPtr,mxCopyPtrToCharacter,%
mxCopyPtrToComplex16,mxCopyPtrToInteger4,mxCopyPtrToReal8,%
mxCopyReal8ToPtr,mxCreateFull,mxCreateSparse,mxCreateString,%
mxFree,mxFreeMatrix,mxGetIr,mxGetJc,mxGetM,mxGetN,mxGetName,%
mxGetNzmax,mxGetPi,mxGetPr,mxGetScalar,mxGetString,mxIsComplex,%
mxIsFull,mxIsNumeric,mxIsSparse,mxIsString,mxIsTypeDouble,%
mxSetIr,mxSetJc,mxSetM,mxSetN,mxSetName,mxSetNzmax,mxSetPi,%
mxSetPr,NaN,nargchk,nargin,nargout,newplot,nextpow2,nnls,nnz,%
nonzeros,norm,normest,null,num2str,nzmax,ode23,ode45,orient,orth,%
pack,pascal,patch,path,pause,pcolor,pi,pink,pinv,plot,plot3,%
pol2cart,polar,poly,polyder,polyeig,polyfit,polyval,polyvalm,%
pow2,print,printopt,prism,prod,pwd,qr,qrdelete,qrinsert,quad,%
quad8,quit,quiver,qz,rand,randn,randperm,rank,rat,rats,rbbox,%
rcond,real,realmax,realmin,refresh,rem,reset,reshape,residue,%
return,rgb2hsv,rgbplot,rootobject,roots,rose,rosser,rot90,rotate,%
round,rref,rrefmovie,rsf2csf,save,saxis,schur,sec,sech,semilogx,%
semilogy,set,setstr,shading,sign,sin,sinh,size,slice,sort,sound,%
spalloc,sparse,spaugment,spconvert,spdiags,specular,speye,spfun,%
sph2cart,sphere,spinmap,spline,spones,spparms,sprandn,sprandsym,%
sprank,sprintf,spy,sqrt,sqrtm,sscanf,stairs,startup,std,stem,%
str2mat,str2num,strcmp,strings,strrep,strtok,subplot,subscribe,%
subspace,sum,surf,surface,surfc,surfl,surfnorm,svd,symbfact,%
symmmd,symrcm,tan,tanh,tempdir,tempname,terminal,text,tic,title,%
toc,toeplitz,trace,trapz,tril,triu,type,uicontrol,uigetfile,%
uimenu,uiputfile,unix,unwrap,upper,vander,ver,version,view,%
viewmtx,waitforbuttonpress,waterfall,wavread,wavwrite,what,%
whatsnew,which,while,white,whitebg,who,whos,wilkinson,wk1read,%
wk1write,xlabel,xor,ylabel,zeros,zlabel,zoom},%
sensitive,%
morecomment=[l]\%,%
basicstyle=\tiny,%
morestring=[m]'%
}[keywords,comments,strings]%
\usepackage{algorithmic}
% To allow one bibliograph by chapter
%\usepackage[sectionbib]{chapterbib}
\usepackage{url}
% Maths shortcuts
\newcommand{\RR}{\mathbb{R}}
\newcommand{\CC}{\mathbb{C}}
% For symbol degree
\DeclareTextSymbol{\degre}{T1}{6}
% Some environments
\newtheorem{theorem}{Theorem}[section]
\newtheorem{lemma}[theorem]{Lemma}
\newtheorem{proposition}[theorem]{Proposition}
\newtheorem{corollary}[theorem]{Corollary}
\newtheorem{axiom}[theorem]{Axiom}
%\newtheorem{example}[theorem]{Example}
\newtheorem{definition}[theorem]{Definition}
\newtheorem{remark}[theorem]{Remark}
\newtheorem{assumption}[theorem]{Assumption}
\newenvironment{proof}[1][Proof]{\begin{trivlist}
\item[\hskip \labelsep {\bfseries #1}]}{\qed\end{trivlist}}
%\newenvironment{definition}[1][Definition]{\begin{trivlist} \item[\hskip \labelsep {\bfseries #1}]}{\end{trivlist}}
\newenvironment{example}[1][Example]{\begin{trivlist}\item[\hskip \labelsep {\bfseries #1}]}{$\Box$\end{trivlist}}
%\newenvironment{remark}[1][Remark]{\begin{trivlist} \item[\hskip \labelsep {\bfseries #1}]}{\end{trivlist}}
\newcommand{\qed}{\nobreak \ifvmode \relax \else
\ifdim\lastskip<1.5em \hskip-\lastskip
\hskip1.5em plus0em minus0.5em \fi \nobreak
\vrule height0.75em width0.5em depth0.25em\fi}
|