Advertisement
Guest User

Untitled

a guest
Jun 19th, 2019
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.53 KB | None | 0 0
  1. \NeedsTeXFormat{LaTeX2e}
  2. \ProvidesClass{iiuwb}[2011/11/26 Institute of Informatics of UwB LaTeX class]
  3. \DeclareOption*{% wszystkie opcje
  4. \PassOptionsToClass{\CurrentOption}{report}}
  5. \ProcessOptions
  6. \LoadClass[12pt,a4paper,twoside]{report}
  7. \RequirePackage[T1]{fontenc}
  8. \RequirePackage[utf8]{inputenc}
  9. \RequirePackage{array,graphicx,ifthen,float}
  10.  
  11. %Komendy, które muszą być nadpisane przez autora
  12. \DeclareRobustCommand{\imiona}{Imię}
  13. \DeclareRobustCommand{\nazwiska}{Nazwisko}
  14.  
  15. \DeclareRobustCommand{\stopienpromotora}{dr}
  16. \DeclareRobustCommand{\imionapromotora}{Promotor}
  17. \DeclareRobustCommand{\nazwiskapromotora}{Promotor}
  18. \DeclareRobustCommand{\profuwb}{TAK}
  19.  
  20. \DeclareRobustCommand{\stopienasystenta}{dr}
  21. \DeclareRobustCommand{\imionaasystenta}{Asystent}
  22. \DeclareRobustCommand{\nazwiskaasystenta}{Asystent}
  23.  
  24. \DeclareRobustCommand{\rok}{2012}
  25. \DeclareRobustCommand{\tytul}{Tytuł}
  26. \DeclareRobustCommand{\zaklad}{Zakład}
  27. \DeclareRobustCommand{\album}{00000}
  28. \DeclareRobustCommand{\rokakademicki}{2011/2012}
  29. \DeclareRobustCommand{\kierunek}{Informatyka}
  30. \DeclareRobustCommand{\sciezka}{Informatyka teoretyczna}
  31. \DeclareRobustCommand{\rodzaj}{Stacjonarne}
  32. \DeclareRobustCommand{\poziom}{I stopnia}
  33.  
  34. \DeclareRobustCommand{\stronatytulowa}{%
  35. \begin{titlepage}\Large
  36. \begin{center}
  37. UNIWERSYTET W BIAŁYMSTOKU\\
  38. WYDZIAŁ MATEMATYKI I INFORMATYKI\\
  39. INSTYTUT INFORMATYKI
  40. \end{center}
  41. \vfill
  42. \begin{center}
  43. {\large \imiona{} \MakeUppercase{\nazwiska}}\\
  44. \end{center}
  45. \vfill
  46. \begin{center}
  47. {\LARGE \textbf{\tytul}}
  48. \end{center}
  49. \vfill
  50. \begin{flushright}
  51. \begin{tabular}{r}
  52.  
  53. Promotor:\\
  54. \stopienpromotora\ \imionapromotora{} \MakeUppercase{\nazwiskapromotora}\ifthenelse{\equal{\profuwb}{TAK}}{, prof. UwB}{}
  55. \\
  56.  
  57. \ifthenelse{\NOT{\equal{\nazwiskaasystenta}{}}}{
  58. Asystent:\\
  59. \stopienasystenta\ \imionaasystenta{} \MakeUppercase{\nazwiskaasystenta}\\
  60. }{}
  61. \end{tabular}
  62. \end{flushright}
  63. \vfill
  64. \begin{center}
  65. BIAŁYSTOK \rok
  66. \end{center}
  67. \end{titlepage}
  68. }
  69.  
  70. \DeclareRobustCommand{\ramka}{%
  71.  
  72. }
  73.  
  74. \AtBeginDocument{%
  75. \renewcommand{\baselinestretch}{1.3}
  76. \stronatytulowa\newpage
  77. \ramka\newpage
  78. \setcounter{page}{1}
  79. }
  80.  
  81. %POZIOM
  82.  
  83. \setlength{\hoffset}{-1in}
  84. \setlength{\oddsidemargin}{35mm}
  85. \setlength{\evensidemargin}{25mm}
  86. \setlength{\textwidth}{150mm}
  87. \setlength{\marginparsep}{0mm}
  88. \setlength{\marginparwidth}{0mm}
  89.  
  90. %PION
  91.  
  92. \setlength{\voffset}{-1in}
  93. \setlength{\topmargin}{25mm}
  94. \setlength{\headheight}{0mm}
  95. \setlength{\headsep}{0mm}
  96. \setlength{\textheight}{247mm}
  97. \setlength{\footskip}{15mm}
  98.  
  99. \endinput
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement