Advertisement
Guest User

uicth11.clo

a guest
Mar 21st, 2019
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Latex 15.32 KB | None | 0 0
  1. % This is the default font size dependent style option file for use
  2. % with the UICTHESI STY style file for thesis formatting at UIC.
  3. % To use it please enter the line \verb+\documentstyle{uicthesi}+.
  4. % This file an adoptation of the Report Document style for
  5. % \LaTeX\ version 2.09 Copyright (C) 1988 by Leslie Lamport and
  6. % for use with the new Font Selection Scheme that accompanied \TeX\
  7. % version 3.1 at UIC.
  8. %
  9. % First Edition:
  10. % Paul Davis, UIC Computer Center, 31 December 1991.
  11. %
  12. % Changes to this file:
  13. %  (should be described here)
  14. %  (remember to update the filedate and fileversion as needed.)
  15. %
  16. % Changed \itemsep to 0. Formerly, the extra space resulted in
  17. %   triple-spacing in list environments.
  18. % Paul Davis, UIC Computer Center, 8 Jun 1992.(b)
  19. %
  20. % This file has been updated to work under \LaTeX\ version 2e.
  21. % Wherever possible or necessary I have substituted the appropriate
  22. % \LaTeX\ version 2e command for the old commands that didn't work.
  23. % As I started this project with little prior knowledge there may
  24. % be bugs or other mistakes, so please feel free to add corrections
  25. % and enhancements as seen fit. I used the University of California
  26. % thesis style class ucthesis.cls and associated files as guides in
  27. % this effort. Those are available from any CTAN archive.
  28. %
  29. % Thomas McKibben, UIC Dept. of Physics, January 1996.
  30. %
  31. %
  32. % First, announce ourselves.
  33.  
  34. \typeout{Loading uicth11.clo...}
  35.  
  36. \renewcommand{\normalsize}{\fontsize\@xipt{13.6}\selectfont%
  37. \abovedisplayskip 11\p@ plus3\p@ minus6\p@
  38. \belowdisplayskip \abovedisplayskip
  39. \abovedisplayshortskip  \z@ plus3\p@  
  40. \belowdisplayshortskip  6.5\p@ plus3.5\p@ minus3\p@
  41. \let\@listi\@listI}   % Setting of \@listi added 9 Jun 87
  42.  
  43. \newcommand{\small}{\fontsize\@xpt{12}\selectfont%
  44. \abovedisplayskip 10\p@ plus2\p@ minus5\p@
  45. \belowdisplayskip \abovedisplayskip
  46. \abovedisplayshortskip  \z@ plus3\p@  
  47. \belowdisplayshortskip  6\p@ plus3\p@ minus3\p@
  48. \def\@listi{\leftmargin\leftmargini %% Added 22 Dec 87
  49. \topsep 6\p@ plus2\p@ minus2\p@\parsep 3\p@ plus2\p@ minus\p@
  50. \itemsep \parsep}}
  51.  
  52.  
  53. \def\footnotesize{
  54.   \@setsize\footnotesize{11pt}\ixpt\@ixpt
  55.   \abovedisplayskip 8pt plus 2pt minus 4pt
  56.   \belowdisplayskip \abovedisplayskip
  57.   \abovedisplayshortskip \z@ plus 1pt
  58.   \belowdisplayshortskip 4pt plus 2pt minus 2pt
  59.   \def\@listi{
  60.      \leftmargin\leftmargini
  61.      \topsep 4pt plus 2pt minus 2pt
  62.      \parsep 2pt plus 1pt minus 1pt
  63.      \itemsep 0pt}}
  64.  
  65. \def\scriptsize{
  66.   \@setsize\scriptsize{9.5pt}\viiipt\@viiipt}
  67. \def\tiny{
  68.   \@setsize\tiny{7pt}\vipt\@vipt}
  69. \def\large{
  70.   \@setsize\large{14pt}\xiipt\@xiipt}
  71. \def\Large{
  72.   \@setsize\Large{18pt}\xivpt\@xivpt}
  73. \def\LARGE{
  74.   \@setsize\LARGE{22pt}\xviipt\@xviipt}
  75. \def\huge{
  76.   \@setsize\huge{25pt}\xxpt\@xxpt}
  77. \def\Huge{
  78.   \@setsize\Huge{30pt}\xxvpt\@xxvpt}
  79. \normalsize
  80. %    \end{macrocode}
  81. % \section{Floats}
  82. % A float is something like a figure or table.
  83. %
  84. % \subsection{Floats on a Text Page}
  85. %    \begin{macrocode}
  86. \floatsep 60pt plus 2pt minus 2pt     % Space between adjacent floats
  87.                                       % moved to top or bottom of text
  88.                                       % page.
  89. \textfloatsep 60pt plus 2pt minus 4pt % Space between main text and
  90.                                       % floats at top or bottom of page.
  91. \intextsep 60pt plus 2pt minus 2pt    % Space between in-text figures and
  92.                                       % text.
  93. %\@maxsep 75pt                         % The maximum of \floatsep,
  94.                                       % \textfloatsep and \intextsep
  95.                                       % (minus the stretch and shrink).
  96. %    \end{macrocode}
  97. % \subsection{For Floats on a Separate Float Page}
  98. %    \begin{macrocode}
  99. \@fptop 0pt plus 1fil    % Stretch at top of float page/column. (Must be
  100.                          % 0pt plus ...)
  101. \@fpsep 60pt plus 2fil   % Space between floats on float page/column.
  102. \@fpbot 0pt plus 1fil    % Stretch at bottom of float page/column. (Must
  103.                          % be 0pt plus ... )
  104. %    \end{macrocode}
  105. % \subsection{Marginal Notes}
  106. %    \begin{macrocode}
  107. \marginparpush 5pt       % Minimum vertical separation between two marginal
  108.                          % notes.
  109. %    \end{macrocode}
  110. % \section{Paragraphing}
  111. %    \begin{macrocode}
  112. \parskip 0pt plus 1pt              % Extra vertical space between paragraphs.
  113. \parindent 17pt                    % Width of paragraph indentation.
  114. \partopsep 3pt plus 1pt minus 2pt  % Extra vertical space, in addition to
  115.                                    % \verb+\parskip+ and \verb+\topsep+, added w
  116.                                    % leaves blank line before environment.
  117. %    \end{macrocode}
  118. % See \verb+\@listI+ for values of \verb+\topsep+ and \verb+\itemsep+.
  119. % The following page-breaking penalties are defined
  120. %    \begin{macrocode}
  121.  
  122. \@lowpenalty   51      % Produced by \nopagebreak[1] or \nolinebreak[1]
  123. \@medpenalty  151      % Produced by \nopagebreak[2] or \nolinebreak[2]
  124. \@highpenalty 301      % Produced by \nopagebreak[3] or \nolinebreak[3]
  125.  
  126. \@beginparpenalty -\@lowpenalty    % Before a list or paragraph environment.
  127. \@endparpenalty   -\@lowpenalty    % After a list or paragraph environment.
  128. \@itempenalty     -\@lowpenalty    % Between list items.
  129. %    \end{macrocode}
  130.  
  131. % \verb+\clubpenalty+         % 'Club line'  at bottom of page.
  132. % \verb+\widowpenalty+        % 'Widow line' at top of page.
  133. % \verb+\displaywidowpenalty+ % Math display widow line.
  134. % \verb+\predisplaypenalty+   % Breaking before a math display.
  135. % \verb+\postdisplaypenalty+  % Breaking after a math display.
  136. % \verb+\interlinepenalty+    % Breaking at a line within a paragraph.
  137. % \verb+\brokenpenalty+       % Breaking after a hyphenated line.
  138. %
  139. % \section{Lists}
  140. %
  141. % The following commands are used to set the default values for the list
  142. % environment's parameters. See the \LaTeX\ manual for an explanation of
  143. % the meanings of the parameters.  Defaults for the list environment are
  144. % set as follows.  First, \verb+\rightmargin+, \verb+\listparindent+
  145. % and \verb+\itemindent+ are set to 0pt.
  146. % Then, for a Kth level list, the command \verb+\@listK+ is
  147. % called, where 'K' denotes 'i', 'ii', ... , 'vi'.
  148. % (I.e., \verb+\@listiii+ is called for a third-level list.)
  149. % By convention, \verb+\@listK+ should set
  150. % \verb+\leftmargin+ to \verb+\leftmarginK+.
  151. %
  152. % For efficiency, level-one list's values are defined at top level, and
  153. % \verb+\@listi+ is defined to set only \verb+\leftmargin+.
  154. %    \begin{macrocode}
  155.  
  156. \leftmargini 2.5em
  157. \leftmarginii 2.2em
  158. \leftmarginiii 1.87em
  159. \leftmarginiv 1.7em
  160. \leftmarginv 1em
  161. \leftmarginvi 1em
  162.  
  163. \leftmargin\leftmargini
  164. \labelsep .5em
  165. \labelwidth\leftmargini\advance\labelwidth-\labelsep
  166. %    \end{macrocode}
  167. % \verb+\@listI+ defines top level and \verb+\@listi+ values of
  168. % \verb+\leftmargin+, \verb+\topsep+, \verb+\parsep+, and \verb+\itemsep+
  169. %    \begin{macrocode}
  170. \def\@listI{\leftmargin\leftmargini \parsep 4.5pt plus 2pt minus 1pt%
  171. \topsep 9pt plus 3pt minus 5pt%
  172. \itemsep 0pt plus 2pt minus 1pt}
  173.  
  174. \let\@listi\@listI
  175. \@listi
  176.  
  177. \def\@listii{\leftmargin\leftmarginii
  178.   \labelwidth\leftmarginii\advance\labelwidth-\labelsep
  179.   \topsep 4.5pt plus 2pt minus 1pt
  180.   \parsep 2pt plus 1pt minus 1pt
  181.   \itemsep 0pt}
  182.  
  183. \def\@listiii{\leftmargin\leftmarginiii
  184.    \labelwidth\leftmarginiii\advance\labelwidth-\labelsep
  185.    \topsep 2pt plus 1pt minus 1pt
  186.    \parsep \z@ \partopsep 1pt plus 0pt minus 1pt
  187.    \itemsep 0pt}
  188.  
  189. \def\@listiv{\leftmargin\leftmarginiv
  190.     \labelwidth\leftmarginiv\advance\labelwidth-\labelsep}
  191.  
  192. \def\@listv{\leftmargin\leftmarginv
  193.     \labelwidth\leftmarginv\advance\labelwidth-\labelsep}
  194.  
  195. \def\@listvi{\leftmargin\leftmarginvi
  196.     \labelwidth\leftmarginvi\advance\labelwidth-\labelsep}
  197. %    \end{macrocode}
  198.  
  199. %
  200. % BEGIN DEFINITIONS
  201. %
  202. % \subsubsection{Generic Bold Definition}
  203. % This defines a generic bold default series to be used in the definition for
  204. % chapter for example. This definition will cause an emphasized word
  205. % in the title section to be printed in slanted bold instead of roman bold.
  206. % Only works with the new font definition scheme!
  207. %    \begin{macrocode}
  208. %\def\transparentbold{\def\default@series{bx}\bf}
  209. %    \end{macrocode}
  210. \def\transparentbold{\bfseries} % TMcK 1996
  211. %
  212. % \subsubsection{Underlining}
  213. % Hey, it works!
  214. %    \begin{macrocode}
  215. \newbox\ustrutbox
  216.  
  217. \setbox\ustrutbox=\hbox{\vrule height8.5pt depth3.2pt width0pt}
  218.  
  219. \def\ustrut{\relax\ifmmode\copy\ustrutbox\else\unhcopy\ustrutbox\fi}
  220.  
  221. \def\underl#1 {\leavevmode\let\first=\relax\underli #1 }
  222. \def\underli#1 {\ifx&#1\let\next=\relax\unskip
  223.  \else\let\next=\underli\first\ulinebox{#1}\fi\let\first=\undersp\next}
  224. \def\undersp{\penalty50\ulinebox{\space}\penalty50}
  225. \def\ulinebox#1{\vtop{\hbox{\ustrut#1}\hrule}}
  226. %    \end{macrocode}
  227.  
  228.  
  229. % \section{Definitions}
  230. % The next line defines a flag to detect
  231. % when we started the body, the chapter macro (numbered) checks this flag.
  232. % If it was false it changes to arabic pagenumbering and sets it to one.
  233. % If it is already true it does not do anything.
  234. %    \begin{macrocode}
  235. \newif\if@startedbodyyet\@startedbodyyetfalse
  236. \newif\if@startedappendices\@startedappendicesfalse
  237. \newif\if@multappendices\@multappendicesfalse
  238. \newif\if@isatable\@isatablefalse
  239. \newif\if@nowarning       % New if to test if we need to issue a
  240. \@nowarningtrue           % warning during footnote placement.
  241. \newif\if@bibforma\@bibformafalse
  242. \newcount\c@fnref
  243. \newcount\out@fnpage@count
  244. \out@fnpage@count=1
  245. \newif\ifabseqnumbering\abseqnumberingfalse
  246.  
  247. \def\today{\ifcase\month\or
  248.  January\or February\or March\or April\or May\or June\or
  249.  July\or August\or September\or October\or November\or December\fi
  250.  \space\number\day, \number\year}
  251. %    \end{macrocode}
  252.  
  253. % \subsubsection{Page Numbering at Top}
  254. % In this section we will redefine the running title, so that only the
  255. % page number is printed. This can be achieved with a pagestyle which
  256. % only prints the page at the top (like plain prints at the bottom).
  257. %    \begin{macrocode}
  258. \def\ps@pageontop{
  259.   \def\@oddhead{\rmfamily\hfil\thepage}
  260.   \let\@evenhead\@oddhead
  261.   \def\@oddfoot{}
  262.   \let\@evenfoot\@oddfoot}
  263. %    \end{macrocode}
  264. %
  265. % \subsubsection{Page Numbering at Bottom}
  266. %    \begin{macrocode}
  267. \def\ps@pageonbottom{
  268.   \def\@oddhead{}
  269.   \def\@evenhead{}
  270.   \def\@oddfoot{\rmfamily\hfil\thepage\hfil}
  271.   \let\@evenfoot\@oddfoot}
  272. %    \end{macrocode}
  273. %
  274.  
  275. %
  276. % END DEFINITIONS
  277. %
  278.  
  279. %
  280. % BEGIN PAGE LAYOUT
  281. %
  282. % \section{Page Layout}
  283. % \subsection{Page Definition}
  284. % Now, lets do the page settings.
  285. % Margins are 1.25 inch on the left side and 1 inch on the right.
  286. %    \begin{macrocode}
  287. \oddsidemargin=0.25in
  288. \evensidemargin=0.25in
  289. \textwidth=6.25in
  290. \def\innerheadskip{12pt}
  291. \headheight=32pt
  292. \headsep=30pt                  % area between the heading and the text
  293. \footskip=20pt
  294. \textheight=9in                % height of the physical page
  295. \advance \textheight by -\headheight
  296. \advance \textheight by -\headsep
  297. \advance \textheight by -\footskip
  298. \mark{{}{}}                    % Initializes TeX's marks
  299. %\@twosidefalse                 % Default is one-sided printing.
  300. \pagestyle{pageonbottom}
  301. \pagestyle{plain}
  302. \pagenumbering{roman}
  303. %    \end{macrocode}
  304. %
  305. % The pagenumbering is set to roman because that is what the preliminary
  306. % pages should be numbered with.
  307. %    \begin{macrocode}
  308. \@afterindenttrue
  309. \looseness=1
  310. \clubpenalty=10000
  311. \widowpenalty=10000
  312. \displaywidowpenalty=10000
  313. \raggedbottom
  314. %    \end{macrocode}
  315. %
  316. % \subsection{Line Spacing}
  317. % Set up double spacing
  318. %    \begin{macrocode}
  319. \def\baselinestretch{2}
  320. %    \end{macrocode}
  321. %
  322. % New command \verb+\setstretch+ (slightly more mnemonic...
  323. % and easier to type)
  324. %    \begin{macrocode}
  325. \def\setstretch#1{\renewcommand{\baselinestretch}{#1}}
  326. %    \end{macrocode}
  327. %
  328. % A single spaced quote (say) is done by surrounding singlespace with quote.
  329. %    \begin{macrocode}
  330. \def\singlespace{
  331.   \vskip\parskip\vskip\baselineskip
  332.   \def\baselinestretch{1}
  333.   \baselineskip\f@baselineskip\relax
  334.   \baselineskip\baselinestretch\baselineskip
  335.   \setbox\strutbox\hbox{
  336.      \vrule\@height.7\baselineskip\@depth.3\baselineskip \@width\z@}
  337.   \normalbaselineskip\baselineskip
  338.   \glb@settings \the\every@math@size
  339.   \aftergroup\glb@settings
  340.   \vskip-\parskip
  341.   \vskip-\baselineskip}
  342.  
  343. \def\endsinglespace{\par}
  344. %    \end{macrocode}
  345. %
  346. %  Spacing, doublespace and onehalfspace all are meant to INCREASE the
  347. %  spacing (i.e. calling onehalfspace from within doublespace will not
  348. %  produce a graceful transition between spacings)
  349. %    \begin{macrocode}
  350. \def\spacing#1{
  351.   \par
  352.   \def\baselinestretch{#1}
  353.   \baselineskip\f@baselineskip\relax
  354.   \baselineskip\baselinestretch\baselineskip
  355.   \setbox\strutbox\hbox{
  356.      \vrule\@height.7\baselineskip\@depth.3\baselineskip \@width\z@}
  357.   \normalbaselineskip\baselineskip
  358.   \glb@settings \the\every@math@size
  359.   \aftergroup\glb@settings
  360.   \vskip-\parskip
  361.   \vskip-\baselineskip}
  362.  
  363. \def\endspacing{
  364.   \par
  365.   \vskip \parskip
  366.   \vskip \baselineskip
  367.   \endgroup
  368.   \vskip -\parskip
  369.   \vskip -\baselineskip
  370.   \begingroup}
  371.  
  372. \def\onehalfspace{\spacing{1.5}}
  373. \let\endonehalfspace=\endspacing
  374.  
  375. \def\doublespace{\spacing{2}}
  376. \let\doublespace=\endspacing
  377. %    \end{macrocode}
  378. %
  379. % Fix up spacing before and after displayed math
  380. % (arraystretch seems to do a fine job for inside LaTeX displayed math,
  381. % since array and eqnarray seem to be affected as expected)
  382. % Changing \baselinestretch and doing a font change also works if done here,
  383. % but then you have to change @setsize to remove the call to @nomath)
  384. %    \begin{macrocode}
  385. \everydisplay{
  386.   \abovedisplayskip \baselinestretch\abovedisplayskip
  387.   \belowdisplayskip \abovedisplayskip
  388.   \abovedisplayshortskip \baselinestretch\abovedisplayshortskip
  389.   \belowdisplayshortskip \baselinestretch\belowdisplayshortskip}
  390. %    \end{macrocode}
  391. %
  392. % \subsection{Running Titles}
  393. % \subsubsection{Front Matter Continuation Headings}
  394. % This is the page style needed to print the headers in subsequent pages
  395. % of the front matter pages other than the table of contents and the
  396. % lists of figures and tables.
  397. % The line that has a \verb+\vbox to 24pt{}+
  398. % was set to use the \verb+\baselineskip+ but the baselineskip is set
  399. % to zero and therefore cannot be used.
  400. %    \begin{macrocode}
  401. \def\ps@continued{
  402.   \def\@oddhead{\headmark}
  403.   \let\@evenhead\@oddhead
  404.   \def\@oddfoot{\rmfamily\normalsize\hfil\thepage\hfil}
  405.   \let\@evenfoot\oddfoot}
  406. %      \end{macrocode}
  407. %
  408. % \subsubsection{Appendix Continuation Headings}
  409. % This is the page style needed to print the headers in subsequent pages
  410. % of the appendix.
  411. %    \begin{macrocode}
  412. \def\ps@appendixcontinued{
  413.   \def\@oddhead{\headmark}
  414.   \let\@evenhead\@oddhead
  415.   \def\@oddfoot{}
  416.   \let\@evenfoot\oddfoot}
  417. %    \end{macrocode}
  418. %
  419. % END PAGE LAYOUT
  420. %
  421.  
  422. % This is the page style needed to print the headers in subsequent pages
  423. % of the abibliography.
  424. %    \begin{macrocode}
  425. \def\ps@bibliographycontinued{
  426.   \def\@oddhead{\vbox{
  427.                {\hbox to \textwidth{\rmfamily\normalsize\hfil\thepage}}
  428.                \vspace{\innerheadskip}
  429.                {\hbox to \textwidth
  430.                   {\hfil{\bfseries\large CITED LITERATURE
  431.                       (continued)}\hfil}}}}
  432.   \let\@evenhead\@oddhead
  433.   \def\@oddfoot{}
  434.   \let\@evenfoot\oddfoot}
  435. %    \end{macrocode}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement