rtlic-defs-utf8.sty 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197
  1. \providecommand*\@issn{0280-7971} % ISSN for rt lic
  2. \providecommand*\publication@series{Linköping studies in science and
  3. technology. Thesis\\No.\@}
  4. \ifx\local@ID\undefined
  5. \else
  6. \newcommand{\licLocal@ID}{LIU-TEK-LIC-\thesis@year:\local@ID}
  7. \fi
  8. \renewcommand*\maketitle{%
  9. \begingroup
  10. \setlength{\parskip}{\z@}
  11. \frontmatter
  12. \cleardoublepage
  13. \thispagestyle{empty}%
  14. \vspace*{-22mm}%
  15. \hspace*{-10mm}%
  16. \noindent\parbox[l][0pt][t]{0pt}{%
  17. \begin{minipage}[t][\paperheight-15mm][t]{\paperwidth-35mm}%
  18. \raggedright%
  19. \sffamily%
  20. \begin{large}\publication@series~\thesisn@\par\end{large}%
  21. \vspace*{17mm}%
  22. {\fontsize{11mm}{13mm}\selectfont\@title\par}%
  23. \ifrt@subtitle%
  24. \bigskip%
  25. \begin{huge}\@subtitle\par\end{huge}%
  26. \fi%
  27. \vspace*{10mm}%
  28. \begin{LARGE}\textbf{\@author}\par\end{LARGE}%
  29. \vspace*{\stretch{6}}%
  30. \hspace*{-5mm}\includegraphics[width=85mm]{LiU_primary_black}%
  31. \end{minipage}}
  32. \clearpage
  33. \thispagestyle{empty}
  34. \vspace*{\stretch{1}}
  35. \begin{center}
  36. \small
  37. This is a Swedish Licentiate's Thesis.\\[1.5mm]
  38. Swedish postgraduate education leads to a Doctor's degree and/or a
  39. Licentiate's degree.\\
  40. A Doctor's Degree comprises 240~ECTS~credits (4~years of full-time
  41. studies).\\
  42. A Licentiate's degree comprises 120~ECTS~credits,\\
  43. of which at least 60~ECTS~credits constitute a Licentiate's thesis.
  44. \end{center}
  45. \vspace*{\stretch{5}}
  46. \begin{center}
  47. \publication@series~\thesisn@
  48. \par\smallskip
  49. \textbf{\textsf{\@title\ifrt@subtitle\@subtitlesep\@subtitle\fi}}
  50. \par\smallskip
  51. \@author
  52. \par\bigskip
  53. {\slshape
  54. \ifx\em@il\undefined%
  55. \texttt{\u@name @isy.liu.se}\\
  56. \else%
  57. \texttt{\em@il}\\
  58. \fi%
  59. \texttt{www.control.isy.liu.se}\\
  60. Department of Electrical Engineering\\
  61. Linköping University\\
  62. SE-581 83 Linköping\\
  63. Sweden}
  64. \par\bigskip
  65. \ifx\licLocal@ID\undefined
  66. ISBN~\@isbn
  67. \hspace{1cm}
  68. ISSN~\@issn
  69. \else
  70. ~\hfill
  71. \makebox[.25\textwidth][c]{ISBN~\@isbn}\hfill
  72. \hfill
  73. \makebox[.25\textwidth][c]{ISSN~\@issn}\hfill
  74. \hfill
  75. \makebox[.25\textwidth][c]{\licLocal@ID}
  76. \hfill~
  77. \fi
  78. \par\bigskip
  79. Copyright \copyright~\thesis@year~\@author\par
  80. \par\bigskip
  81. {\small Printed by \publishername~\thesis@year}
  82. \normalsize
  83. \end{center}
  84. \clearemptydoublepage
  85. \thispagestyle{empty}
  86. \vspace*{70mm}
  87. \begin{flushright}
  88. \textsl{\dedic@tion}
  89. \end{flushright}
  90. \clearemptydoublepage
  91. \endgroup
  92. }
  93. \newcommand*\liclist[1][liclist-utf8]{%
  94. \clearemptydoublepage
  95. \pagestyle{empty}
  96. \begingroup
  97. \setlength{\parskip}{\z@}
  98. \begin{center}
  99. \small\bfseries%
  100. Licentiate Theses\\%
  101. Division of Automatic Control\\%
  102. Linköping University
  103. \end{center}
  104. \begin{list}{}{%
  105. \setlength\leftmargin{0pt}\setlength\rightmargin{0pt}%
  106. \setlength\labelwidth{0pt}\setlength\labelsep{.5em}%
  107. \setlength\itemindent{0pt}\setlength\itemsep{.20\baselineskip}%
  108. \setlength\parsep{0pt}\setlength\partopsep{0.5ex}%
  109. \newcommand*\licitem[4]{%
  110. \item\parbox{\linewidth}{\textbf{##1:} ##2. Thesis No.~##3, ##4.}}}
  111. \small
  112. \input{#1}
  113. \end{list}
  114. \endgroup
  115. }
  116. \AtEndDocument{\liclist}
  117. \newcommand*\makecover{%
  118. \pagestyle{empty}
  119. \begin{document}
  120. \thispagestyle{empty}%
  121. \thispagestyle{empty}%
  122. \vspace*{-22mm}%
  123. \hspace*{-5mm}\hspace*{-10mm}%
  124. \noindent\parbox[l][0pt][t]{0pt}{%
  125. \begin{minipage}[t][\paperheight-15mm][t]{\paperwidth-35mm}%
  126. \raggedright%
  127. \sffamily%
  128. \begin{large}\publication@series~\thesisn@\\Licentiate's Thesis\par\end{large}%
  129. \vspace*{17mm}%
  130. {\fontsize{11mm}{13mm}\selectfont\@title\par}%
  131. \ifrt@subtitle%
  132. \bigskip%
  133. \begin{huge}\@subtitle\par\end{huge}%
  134. \fi%
  135. \vspace*{10mm}%
  136. \begin{LARGE}\textbf{\@author}\par\end{LARGE}%
  137. \vspace*{\stretch{6}}%
  138. \hspace*{-5mm}\includegraphics[width=85mm]{LiU_primary_black}%
  139. \end{minipage}}
  140. \newpage
  141. \vspace*{-22mm}%
  142. \hspace*{-15mm}\hspace*{36mm}
  143. \noindent\parbox[l][0pt][t]{0pt}{%
  144. \begin{minipage}[t][\paperheight-10mm][t]{\paperwidth-41mm}
  145. \vspace*{30mm}
  146. \sffamily
  147. \raggedright%
  148. \begin{Large}%
  149. \bfseries
  150. Department of Electrical Engineering
  151. \par
  152. \end{Large}
  153. \bigskip
  154. \publication@series\thesisn@\\
  155. Licentiate's Thesis.
  156. \par
  157. \bigskip
  158. Linköping University\\
  159. SE-581 83 Linköping
  160. \par
  161. \bigskip
  162. \begin{Large}
  163. www.liu.se
  164. \end{Large}
  165. \par
  166. \vspace*{\stretch{3}}
  167. \hspace*{-6mm}\hspace*{-36mm}\includegraphics[width=85mm]{LiU_primary_black}
  168. \end{minipage}}
  169. \newpage
  170. \raggedright
  171. \rotatebox[origin=lb]{270}{%
  172. \sffamily%
  173. \hspace*{-4em}%
  174. \makebox[.90\paperheight][l]{%
  175. \def\\{ }%
  176. \def\linebreak{ }%
  177. \@author\hspace*{3em}%
  178. \hfill%
  179. \textbf{\@title\@subtitlesep\@subtitle}%
  180. \hspace*{3em}\hfill%
  181. \thesis@year%
  182. }
  183. }
  184. \let\liclist\relax
  185. \end{document}
  186. }