Advertisement
Guest User

Untitled

a guest
Jan 16th, 2019
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Latex 6.76 KB | None | 0 0
  1. \documentclass[a4paper,11pt,twoside,floatssmall]{book}
  2. \usepackage[left=3cm,right=2cm,top=2.5cm,bottom=2.5cm]{geometry}
  3. \usepackage[OT1]{fontenc}
  4. \usepackage{polski}
  5. \usepackage{amsmath}
  6. \usepackage{amsfonts}
  7. \usepackage{amssymb}
  8. \usepackage{graphicx}
  9. \usepackage{epstopdf}
  10. \usepackage{url}
  11. \usepackage{tikz}
  12. \usetikzlibrary{arrows,calc,decorations.markings,math,arrows.meta}
  13. \usepackage{rotating}
  14. \usepackage[percent]{overpic}
  15. \usepackage[cp1250]{inputenc}
  16. \usepackage{xcolor}
  17. \usepackage{pgfplots}
  18. \usetikzlibrary{pgfplots.groupplots}
  19. \usepackage{listings}
  20. \usepackage{matlab-prettifier}
  21. \usepackage{siunitx}
  22. \usepackage{pdfpages}
  23. \usepackage{eso-pic}
  24. \usepackage{fancyhdr}
  25. \usepackage{emptypage}
  26. \usepackage{indentfirst}
  27. \usepackage{titlesec}
  28. \usepackage{tocloft}
  29. \usepackage{textcomp}
  30. \usepackage{caption}
  31. \usepackage{subcaption}
  32. \usepackage[section]{placeins}
  33. \usepackage{makecell}
  34. \usepackage[square,sort,comma,numbers]{natbib}
  35. \setcitestyle{aysep={,}}
  36. \usepackage[nottoc,numbib]{tocbibind}
  37. \bibliographystyle{dcu}
  38. \definecolor{szary}{rgb}{0.95,0.95,0.95}
  39. \sisetup{detect-weight,exponent-product=\cdot,output-decimal-marker={,},per-mode=symbol,binary-units=true,range-phrase={-},range-units=single}
  40.  
  41. \setcounter{secnumdepth}{0}
  42.  
  43. %konfiguracje pakietu listings
  44. \lstset{
  45.     backgroundcolor=\color{szary},
  46.     frame=single,
  47.     breaklines=true,
  48. }
  49. \lstdefinestyle{customlatex}{
  50.     basicstyle=\footnotesize\ttfamily,
  51.     %basicstyle=\small\ttfamily,
  52. }
  53. \lstdefinestyle{customc}{
  54.     breaklines=true,
  55.     frame=tb,
  56.     language=C,
  57.     xleftmargin=0pt,
  58.     showstringspaces=false,
  59.     basicstyle=\small\ttfamily,
  60.     keywordstyle=\bfseries\color{green!40!black},
  61.     commentstyle=\itshape\color{purple!40!black},
  62.     identifierstyle=\color{blue},
  63.     stringstyle=\color{orange},
  64. }
  65. \lstdefinestyle{custommatlab}{
  66.     captionpos=t,
  67.     breaklines=true,
  68.     frame=tb,
  69.     xleftmargin=0pt,
  70.     language=matlab,
  71.     showstringspaces=false,
  72.     %basicstyle=\footnotesize\ttfamily,
  73.     basicstyle=\scriptsize\ttfamily,
  74.     keywordstyle=\bfseries\color{green!40!black},
  75.     commentstyle=\itshape\color{purple!40!black},
  76.     identifierstyle=\color{blue},
  77.     stringstyle=\color{orange},
  78. }
  79.  
  80. %wymiar tekstu (bez zywej paginy)
  81. \textwidth 160mm \textheight 247mm
  82.  
  83. %ustawienia pakietu pgfplots
  84. \pgfplotsset{
  85.     tick label style={font=\scriptsize},
  86.     label style={font=\small},
  87.     legend style={font=\small},
  88.     title style={font=\small}
  89. }
  90.  
  91. \def\figurename{Rys.}
  92. \def\tablename{Tab.}
  93.  
  94.  
  95. %konfiguracja liczby pływających elementów
  96. \setcounter{topnumber}{0}%2
  97. \setcounter{bottomnumber}{3}%1
  98. \setcounter{totalnumber}{5}%3
  99. \renewcommand{\textfraction}{0.01}%0.2
  100. \renewcommand{\topfraction}{0.95}%0.7
  101. \renewcommand{\bottomfraction}{0.95}%0.3
  102. \renewcommand{\floatpagefraction}{0.35}%0.5
  103.  
  104. \fancypagestyle{plain}{
  105.     \fancyhf{} % clear all header and footer fields
  106.     \fancyfoot[LE,RO]{\thepage}
  107.     \renewcommand{\headrulewidth}{0pt}
  108. }
  109.  
  110. \widowpenalty10000
  111. \clubpenalty10000
  112.  
  113. %\pagestyle{fancy}
  114. %\fancyhf{}
  115. %\fancyhead[LE,RO]{\chaptername \space \thechapter}
  116. %\fancyhead[RE,LO]{}
  117. %\fancyfoot[LE,RO]{\thepage}
  118.  
  119. \linespread{1.09}
  120. \setlength{\parindent}{0.5cm}
  121.  
  122. %\newcommand{\chapfnt}{\fontsize{14}{17}}
  123. %\newcommand{\secfnt}{\fontsize{13}{16}}
  124. %\newcommand{\ssecfnt}{\fontsize{12}{14}}
  125.  
  126. \titleformat{\chapter}
  127. {\normalfont\huge\bfseries}{\thechapter.}{1em}{}
  128.  
  129. \titleformat{\section}
  130. {\normalfont\Large\bfseries}{\thesection.}{1em}{}
  131.  
  132. \titleformat{\subsection}
  133. {\normalfont\large\bfseries}{\thesubsection.}{1em}{}
  134.  
  135. \let \savenumberline \numberline
  136. \def \numberline#1{\savenumberline{#1.}}
  137.  
  138. \renewcommand\cftchapdotsep{\cftdotsep}
  139. \renewcommand\cftchapleader{\cftdotfill{\cftchapdotsep}}
  140.  
  141.  
  142. \begin{document}
  143.     \includepdf[pages=1]{title-page.pdf}
  144.     \newpage\thispagestyle{empty}
  145.     \mbox{}
  146.     \newpage\thispagestyle{plain}
  147.     \input{rozdzial0}
  148.     \newpage\thispagestyle{empty}
  149.     \mbox{}
  150.     \newpage\pagestyle{plain}
  151.     \includepdf[pages=1]{oswiadczenie.pdf}
  152.     \newpage\thispagestyle{empty}
  153.     \mbox{}
  154.     \newpage\thispagestyle{plain}
  155.     \tableofcontents
  156.     \newpage
  157.     \pagestyle{fancy}
  158.     \fancyhf{}
  159.     \fancyhead[LE,RO]{\chaptername \space \thechapter}
  160.     \fancyhead[RE,LO]{}
  161.     \fancyfoot[LE,RO]{\thepage}
  162.     \renewcommand{\headrulewidth}{1pt}
  163.     \input{rozdzial1}
  164.     \input{rozdzial1a}
  165.     \input{rozdzial2}
  166.     \input{rozdzial3}
  167. %   \input{rozdzial3a}
  168. %   \input{rozdzial4}
  169. %   \input{rozdzial5}
  170. %   \input{rozdzial6}
  171. %   \input{rozdzial7}
  172.    
  173. \begin{thebibliography}{99}
  174.  
  175. \bibitem{hipergl} Szczeklik A., Gajewski P.,
  176. \emph{Interna Szczeklika 2014, Podręcznik chorób wewnętrznych}, Kraków, Medycyna Praktyczna, 2014.
  177.  
  178. \bibitem{leczenie} Misso M.L., Egberts K.J., Page M., O'Connor D., Shaw J.,
  179. \emph{Continuous subcutaneous insulin infusion (CSII) versus multiple insulin injections for type 1 diabetes mellitus},
  180. Cochrane Database Syst Rev, 2010, 1.
  181.  
  182. \bibitem{wilinska} Wilinska M.,
  183. \emph{APCam-D10-6sub Simulator, Artifical Pancreas Project},
  184. University of Cambridge, 2011.
  185.  
  186. \bibitem{ile} Hovorka R. i in.,
  187. \emph{Nonlinear model predictive control of glucose concentration in subjects with
  188. type 1 diabetes}, Physiol. Meas. 2004, 25, 905-920.
  189.  
  190. \bibitem{rysWil} Wilinska M., Chassin L., Acerini C. i in.,
  191. \emph{Simulation Environment to Evaluate Closed-Loop
  192. Insulin Delivery Systems in Type 1 Diabetes}, J Diabetes Sci Technol, 2010 Jan, 4(1): 132 144.
  193.  
  194. \bibitem{hovorka} Hovorka R., Chassin L., Wilinska M. I in.,
  195. \emph{Closing the Loop: The Adicol Experience, Diabetes Technology \& Therapeutics},
  196. June 2004, Vol. 6, No. 3: 307-318.
  197.  
  198. \bibitem{lawrynczuk} Ławryńczuk M.,
  199. \emph{Sterowanie procesów ciągłych, preskrypt}, Warszawa, 2009 [dostęp listopad 2016], strona prywatna przedmiotu STP wydziału EiTI na serwerze http://studia.elka.pw.edu.pl/.
  200.  
  201. %\bibitem{Tatjewski} Tatjewski P.,
  202. %\emph{Sterowanie zaawansowane obiektów przemysłowych. Struktury i algorytmy}, Wydanie drugie zmienione, Akademicka Oficyna Wydawnicza Exit, 2016 [dostęp 27.12.2018], http://eczyt.bg.pw.edu.pl/han/ibuklibra.ibuk.pl/book/154119.
  203.  
  204. \bibitem{poda} Malinowski K., Tatjewski P.,\emph{Podstawy automatyki, preskrypt}, wersja elektroniczna, Warszawa, 2012.
  205.  
  206. \bibitem{trzustka} Boyles S.,
  207. \emph{Study: Insulin Pump Better Than Injections}, WebMD Health News, 2018 [dostęp 27.12.2018], https://www.ipag.co.uk/study-insulin-pump-better-than-injections/
  208.  
  209. \bibitem{Jagoda} Głowacka J.,
  210. \emph{Praca magisterska}, Politechnika Warszawska, 2017.
  211.  
  212. \bibitem{matlab}
  213. \emph{Matlab -- hasło}, Wikipedia [dostęp 13.01.2019], https://pl.wikipedia.org/wiki/MATLAB
  214.  
  215. \bibitem{pp}
  216. \emph{Punkt pracy -- hasło}, Wikipedia [dostęp 15.01.2019],
  217. https://pl.wikipedia.org/wiki/Punkt\_pracy
  218.  
  219. \end{thebibliography}
  220.     \newpage\thispagestyle{plain}
  221.     \listoffigures
  222.     \newpage\thispagestyle{plain}
  223.     \listoftables
  224.  
  225. %% http://tex.loria.fr/texlive-htmldoc/polish/latex2e/spisy/spis.html
  226.  
  227. \end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement