% \iffalse meta-comment % % Copyright (C) 1994 by Jiri Zlatuska. All rights reserved. % For additional copyright information see further down in this file. % % This file is for the LaTeX2e system (version <1994/06/01>) % ------------------------------------------------------------------ % % \fi % \CheckSum{1744} %% \CharacterTable %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z %% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z %% Digits \0\1\2\3\4\5\6\7\8\9 %% Exclamation \! Double quote \" Hash (number) \# %% Dollar \$ Percent \% Ampersand \& %% Acute accent \' Left paren \( Right paren \) %% Asterisk \* Plus \+ Comma \, %% Minus \- Point \. Solidus \/ %% Colon \: Semicolon \; Less than \< %% Equals \= Greater than \> Question mark \? %% Commercial at \@ Left bracket \[ Backslash \\ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} % % \iffalse % \section{Identification} % % The ``zpravodaj'' document classe can only be used with \LaTeXe, so we make % sure that an appropriate message is displayed when another \TeX{} % format is used. % \begin{macrocode} %<+zpravodaj>\NeedsTeXFormat{LaTeX2e}[1994/06/01] % \end{macrocode} % % Announce the Class name and its version: % \begin{macrocode} %<+zpravodaj>\ProvidesClass{zpravodaj} %<*driver> \ProvidesFile{zpravodaj.drv} % [1994/09/04 v1.1.1 %<+zpravodaj> UVT MU Newsletter] % \end{macrocode} % \fi % % \iffalse % \section{A driver for this document} % % The next bit of code contains the documentation driver file for % \TeX{}, i.e., the file that will produce the documentation you are % currently reading. It will be extracted from this file by the % {\sc docstrip} program. % % \begin{macrocode} %<*driver> ] \documentclass{ltxdoc} % \end{macrocode} % % We don't want everything to appear in the index % \begin{macrocode} \DoNotIndex{\',\.,\@M,\@@input,\@addtoreset,\@arabic,\@badmath} \DoNotIndex{\@centercr,\@cite} \DoNotIndex{\@dotsep,\@empty,\@float,\@gobble,\@gobbletwo,\@ignoretrue} \DoNotIndex{\@input,\@ixpt,\@m} \DoNotIndex{\@minus,\@mkboth,\@ne,\@nil,\@nomath,\@plus,\@set@topoint} \DoNotIndex{\@tempboxa,\@tempcnta,\@tempdima,\@tempdimb} \DoNotIndex{\@tempswafalse,\@tempswatrue,\@viipt,\@viiipt,\@vipt} \DoNotIndex{\@vpt,\@warning,\@xiipt,\@xipt,\@xivpt,\@xpt,\@xviipt} \DoNotIndex{\@xxpt,\@xxvpt,\\,\ ,\addpenalty,\addtolength,\addvspace} \DoNotIndex{\advance,\Alph,\alph} \DoNotIndex{\arabic,\ast,\begin,\begingroup,\bfseries,\bgroup,\box} \DoNotIndex{\bullet} \DoNotIndex{\cdot,\cite,\CodelineIndex,\cr,\day,\DeclareOption} \DoNotIndex{\def,\DisableCrossrefs,\divide,\DocInput,\documentclass} \DoNotIndex{\DoNotIndex,\egroup,\ifdim,\else,\fi,\em,\endtrivlist} \DoNotIndex{\EnableCrossrefs,\end,\end@dblfloat,\end@float,\endgroup} \DoNotIndex{\endlist,\everycr,\everypar,\ExecuteOptions,\expandafter} \DoNotIndex{\fbox} \DoNotIndex{\filedate,\filename,\fileversion,\fontsize,\framebox,\gdef} \DoNotIndex{\global,\halign,\hangindent,\hbox,\hfil,\hfill,\hrule} \DoNotIndex{\hsize,\hskip,\hspace,\hss,\if@tempswa,\ifcase,\or,\fi,\fi} \DoNotIndex{\ifhmode,\ifvmode,\ifnum,\iftrue,\ifx,\fi,\fi,\fi,\fi,\fi} \DoNotIndex{\input} \DoNotIndex{\jobname,\kern,\leavevmode,\let,\leftmark} \DoNotIndex{\list,\llap,\long,\m@ne,\m@th,\mark,\markboth,\markright} \DoNotIndex{\month,\newcommand,\newcounter,\newenvironment} \DoNotIndex{\NeedsTeXFormat,\newdimen} \DoNotIndex{\newlength,\newpage,\nobreak,\noindent,\null,\number} \DoNotIndex{\numberline,\OldMakeindex,\OnlyDescription,\p@} \DoNotIndex{\pagestyle,\par,\paragraph,\paragraphmark,\parfillskip} \DoNotIndex{\penalty,\PrintChanges,\PrintIndex,\ProcessOptions} \DoNotIndex{\protect,\ProvidesClass,\raggedbottom,\raggedright} \DoNotIndex{\refstepcounter,\relax,\renewcommand,\reset@font} \DoNotIndex{\rightmargin,\rightmark,\rightskip,\rlap,\rmfamily,\roman} \DoNotIndex{\roman,\secdef,\selectfont,\setbox,\setcounter,\setlength} \DoNotIndex{\settowidth,\sfcode,\skip,\sloppy,\slshape,\space} \DoNotIndex{\symbol,\the,\trivlist,\typeout,\tw@,\undefined,\uppercase} \DoNotIndex{\usecounter,\usefont,\usepackage,\vfil,\vfill,\viiipt} \DoNotIndex{\viipt,\vipt,\vskip,\vspace} \DoNotIndex{\wd,\xiipt,\year,\z@} % \end{macrocode} % We do want an index, using linenumbers % \begin{macrocode} \EnableCrossrefs % \end{macrocode} % We use so many \file{docstrip} modules that we set the % \texttt{StandardModuleDepth} counter to 1. % \begin{macrocode} \setcounter{StandardModuleDepth}{1} % \end{macrocode} % The following command retrieves the date and version information % from the file. % \begin{macrocode} \GetFileInfo{zpravodaj.drv} % \end{macrocode} % Some commonly used abbreviations % \begin{macrocode} \newcommand\Lopt[1]{\textsf {#1}} \newcommand\file[1]{\texttt {#1}} \newcommand\Lcount[1]{\textsl {\small#1}} \newcommand\pstyle[1]{\textsl {#1}} % \end{macrocode} % We also want the full details. % \begin{macrocode} \emergencystretch=1cm \begin{document} \DocInput{zpravodaj.dtx} \PrintIndex % ^^A\PrintChanges \end{document} % % \end{macrocode} % % \fi % % \changes{1.0.2}{1994/01/21}{Counter in \cmd\bibitem corrected.} % \changes{1.0.2}{1994/01/21}{Box in \cmd\endsec repositioned.} % \changes{1.0.3}{1994/01/21}{Option `align' added.} % \changes{1.0.4}{1994/05/27}{\cmd\bq macro corrected (\cmd\break and % \cmd\leavevmode).} % \changes{1.1.1}{1994/09/04}{Updated for LaTeX2e <1994/06/01>} % % \title{UVT MU Newsletter \LaTeXe\ document class % ``\texttt{zpravodaj}''\thanks{This % file has version number \fileversion, last revised % \filedate.}} % % \author{% % Copyright (C) 1992 by Leslie Lamport \and % Copyright (C) 1992 by Petr Sojka \and % Copyright (C) 1993 by Frank Mittelbach \and Johannes Braams \and % Copyright (C) 1994 by Jiri Zlatuska % } % \date{\filedate} % \maketitle % \tableofcontents % % \StopEventually{} ^^A % % % \section{Initial Code} % % In this part we define a few commands that are used later on. % % \begin{macro}{\@ptsize} % This control sequence is used to store the second digit of the % pointsize we are typesetting in. So, normally, it's value is one % of 0, 1 or 2. % \begin{macrocode} %<*zpravodaj> \newcommand\@ptsize{} % \end{macrocode} % \end{macro} % % \begin{macro}{\if@restonecol} % When the document has to printed in two columns, we sometimes % have to temporarily switch to one column. This switch is used to % remember to switch back. % \begin{macrocode} \newif\if@restonecol % \end{macrocode} % \end{macro} % % \begin{macro}{\if@balance} % A switch to indicate if balancing should be attempted. % The default is not to balance. % \begin{macrocode} \newif\if@balance \@balancefalse \newdimen\difference % \end{macrocode} % \end{macro} % % \section{Declaration of Options} % % % \subsection{Setting Paper Sizes} % % The variables |\paperwidth| and |\paperheight| should reflect the % physical paper size after trimming. For desk printer output this % is usually the real paper size since there is no post-processing. % Classes for real book production will probably add other paper % sizes and additionally the production of crop marks for trimming. % \begin{macrocode} \DeclareOption{a4paper} {\setlength\paperheight {297mm}% \setlength\paperwidth {210mm}} \DeclareOption{a5paper} {\setlength\paperheight {210mm}% \setlength\paperwidth {148mm}} \DeclareOption{b5paper} {\setlength\paperheight {250mm}% \setlength\paperwidth {176mm}} \DeclareOption{letterpaper} {\setlength\paperheight {11in}% \setlength\paperwidth {8.5in}} \DeclareOption{legalpaper} {\setlength\paperheight {14in}% \setlength\paperwidth {8.5in}} \DeclareOption{executivepaper} {\setlength\paperheight {10.5in}% \setlength\paperwidth {7.25in}} % \end{macrocode} % % The option \Lopt{landscape} switches the values of |\paperheight| % and |\paperwidth|, assuming the dimensions wer given for portrait % paper. % \begin{macrocode} \DeclareOption{landscape} {\setlength\@tempdima {\paperheight}% \setlength\paperheight {\paperwidth}% \setlength\paperwidth {\@tempdima}} % \end{macrocode} % % \subsection{Choosing the type size} % % The type size options are handled by defining |\@ptsize| to contain % the last digit of the size in question and branching on |\ifcase| % statements. This is done for historical reasons to stay compatible % with other packages that use the |\@ptsize| variable to select % special actions. It makes the declarations of size options less % than 10pt difficult, although one can probably use \texttt{9} % and \texttt{8} assuming that a class wont define both % \Lopt{8pt} and \Lopt{18pt} options. % % \begin{macrocode} \DeclareOption{11pt}{\renewcommand\@ptsize{1}} % \end{macrocode} % % % \subsection{Two-side or one-side printing} % % For two-sided printing we use the switch |\if@twoside|. In % addition we have to set the |\if@mparswitch| to get any margin % paragraphs into the outside margin. % \begin{macrocode} \DeclareOption{oneside}{\@twosidefalse \@mparswitchfalse} \DeclareOption{twoside}{\@twosidetrue \@mparswitchtrue} % \end{macrocode} % % % \subsection{Draft option} % % If the user requests \Lopt{draft} we show any overfull boxes. % We could probably add some more interesting stuff to this option. % \begin{macrocode} \DeclareOption{draft}{\setlength\overfullrule{5pt}} \DeclareOption{final}{\setlength\overfullrule{0pt}} % \end{macrocode} % % \subsection{Balancing} % % Balancing is realized via a switch. % \begin{macrocode} \DeclareOption{balance}{\@balancetrue} % \end{macrocode} % % \changes{1.0.3}{1994/01/21}{Option `align' added.} % \subsection{Balancing adjustment for final printing} % % We just need to ensure that the terminal |\eject| doesn't spoil things. % \begin{macrocode} \DeclareOption{align}{% \global\let\@ndd@cum@nt\enddocument \gdef\enddocument{\vskip -0pt plus -1fil\@ndd@cum@nt}% \@balancetrue } % \end{macrocode} % \subsection{Twocolumn printing} % % Two-column and one-column printing is again realized via a switch. % \begin{macrocode} \DeclareOption{onecolumn}{\@twocolumnfalse} \DeclareOption{twocolumn}{\@twocolumntrue} % \end{macrocode} % % % \section{Executing Options} % % Here we execute the default options to initialize certain % variables. Note that the document class `book' always uses two % sided printing. % \begin{macrocode} \ExecuteOptions{a4paper,11pt,twoside,twocolumn,final} % \end{macrocode} % % The |\ProcessOptions| command causes the execution of the code % for every option \Lopt{FOO} % which is declared and for which the user typed % the \Lopt{FOO} option in his % |\documentclass| command. For every option \Lopt{BAR} he typed, % which is not declared, the option is assumed to be a global option. % All options will be passed as document options to any % |\usepackage| command in the document preamble. % \begin{macrocode} \ProcessOptions % \end{macrocode} % % \section{Loading Packages} % % `Zpravodaj' assumes LucidaBright fonts. % % \begin{macrocode} \RequirePackage{lucida} % \end{macrocode} % % \section{Document Layout} % \label{sec:maincode} % % In this section we are finally dealing with the nasty typographical % details. % % \subsection{Fonts} % % \LaTeX\ offers the user commands to change the size of the font, % relative to the `main' size. Each relative size changing command % |\size| executes the command % |\@setfontsize||\size|\meta{font-size}\meta{baselineskip} where: % % \begin{description} % \item[\meta{font-size}] The absolute size of the font to use from % now on. % % \item[\meta{baselineskip}] The normal value of |\baselineskip| % for the size of the font selected. (The actual value will be % |\baselinestretch| * \meta{baselineskip}.) % \end{description} % % A number of commands, defined in the \LaTeX{} kernel, shorten the % following definitions and are used throughout. They are: % \begin{center} % \begin{tabular}{ll@{\qquad}ll@{\qquad}ll} % \verb=\@vpt= & 5 & \verb=\@vipt= & 6 & \verb=\@viipt= & 7 \\ % \verb=\@viiipt= & 8 & \verb=\@ixpt= & 9 & \verb=\@xpt= & 10 \\ % \verb=\@xipt= & 10.95 & \verb=\@xiipt= & 12 & \verb=\@xivpt= & 14.4\\ % ... % \end{tabular} % \end{center} % % \begin{macro}{\normalsize} % \begin{macro}{\@normalsize} % To stay compatible with older packages |\@normalsize| is defined % to expand to |\normalsize|. In new applications you % should use |\normalsize|. % % This macro also sets new values for |\abovedisplayskip|, % |\abovedisplayshortskip| and % |\belowdisplayshortskip|. % % \begin{macrocode} \renewcommand\normalsize{% \@setfontsize\normalsize\@xipt{13.6}% \abovedisplayskip 7\p@ \@plus3\p@ \@minus3\p@ \abovedisplayshortskip 3\p@ \@plus2\p@ \@minus1\p@ \belowdisplayshortskip \abovedisplayshortskip \belowdisplayskip \abovedisplayskip % \end{macrocode} % The parameters of the first level list are % always given by |\@listI|. % \begin{macrocode} \let\@listi\@listI} % \end{macrocode} % Make |\@normalsize| a synonymn for |\normalsize|. % \begin{macrocode} \let\@normalsize\normalsize % \end{macrocode} % % We initially choose the normalsize font. % \begin{macrocode} \normalsize % \end{macrocode} % \end{macro} % \end{macro} % % \changes{1.1.1}{1994/09/04}{Updated for LaTeX2e <1994/06/01>} % \begin{macro}{\small} % This is similar to |\normalsize|. % \begin{macrocode} \newcommand\small{% \@setfontsize\small\@xpt\@xiipt \abovedisplayskip 10\p@ \@plus2\p@ \@minus2\p@ \abovedisplayshortskip \z@ \@plus1\p@ \belowdisplayshortskip \abovedisplayshortskip \def\@listi{\leftmargin\leftmargini \topsep .6\p@ \@plus.2\p@ \@minus.2\p@ \parsep .3\p@ \@plus.2\p@ \@minus0.1\p@ \setlength\itemsep{.3\parsep}}% }% % \end{macrocode} % \end{macro} % % \begin{macro}{\footnotesize} % This is similar to |\normalsize|. % \begin{macrocode} \newcommand\footnotesize{% \@setfontsize\footnotesize\@ixpt{11}% \abovedisplayskip 8\p@ \@plus2\p@ \@minus4\p@ \abovedisplayshortskip \z@ \@plus\p@ \belowdisplayshortskip 4\p@ \@plus2\p@ \@minus2\p@ \def\@listi{\leftmargin\leftmargini \topsep 4\p@ \@plus2\p@ \@minus2\p@ \parsep 2\p@ \@plus\p@ \@minus\p@ \itemsep \parsep}% \belowdisplayskip \abovedisplayskip } % \end{macrocode} % \end{macro} % % \begin{macro}{\scriptsize} % \begin{macro}{\tiny} % \begin{macro}{\large} % \begin{macro}{\Large} % \begin{macro}{\LARGE} % \begin{macro}{\huge} % \begin{macro}{\Huge} % These are all much simpler than the previous macros, they just % select a new fontsize, but leave the parameters for displays and % lists alone. % \begin{macrocode} \newcommand\scriptsize{\@setfontsize\scriptsize\@viiipt{9.5}} \newcommand\tiny{\@setfontsize\tiny\@vipt\@viipt} \newcommand\large{\@setfontsize\large\@xiipt{14}} \newcommand\Large{\@setfontsize\Large\@xivpt{18}} \newcommand\LARGE{\@setfontsize\LARGE\@xviipt{22}} \newcommand\huge{\@setfontsize\huge\@xxpt{25}} \newcommand\Huge{\@setfontsize\Huge\@xxvpt{30}} % \end{macrocode} % \end{macro} % \end{macro} % \end{macro} % \end{macro} % \end{macro} % \end{macro} % \end{macro} % % % \subsection{Paragraphing} % % \begin{macro}{\lineskip} % \begin{macro}{\normallineskip} % These parameters control \TeX's behaviour when two lines tend to % come too close together. % \begin{macrocode} \setlength\lineskip{1\p@} \setlength\normallineskip{1\p@} % \end{macrocode} % \end{macro} % \end{macro} % % \begin{macro}{\baselinestretch} % This is used as a multiplier for |\baselineskip|. The default is % to {\em not\/} stretch the baselines. % \begin{macrocode} \renewcommand\baselinestretch{} % \end{macrocode} % \end{macro} % % \begin{macro}{\parskip} % \begin{macro}{\parindent} % |\parskip| gives extra vertical space between paragraphs and % |\parindent| is the width of the paragraph indentation. The value % of |\parindent| is set to 0pt. % \begin{macrocode} \setlength\parskip{1.3mm \@plus 2\p@ \@minus .5\p@} \setlength\parindent{0\p@} % \end{macrocode} % \end{macro} % \end{macro} % % \begin{macro}{\@lowpenalty} % \begin{macro}{\@medpenalty} % \begin{macro}{\@highpenalty}% % The commands |\nopagebreak| and |\nolinebreak| put in penalties % to discourage these breaks at the point they are put in. % They use |\@lowpenalty|, |\@medpenalty| or |\@highpenalty|, % dependant on their argument. % \begin{macrocode} \@lowpenalty 51 \@medpenalty 151 \@highpenalty 301 % \end{macrocode} % \end{macro} % \end{macro} % \end{macro} % % \begin{macro}{\clubpenalty} % \begin{macro}{\widowpenalty} % These penalties are use to discourrage club and widow lines. % \begin{macrocode} \clubpenalty 10000 \widowpenalty 9000 % \end{macrocode} % \end{macro} % \end{macro} % % \begin{macro}{\displaywidowpenalty} % \begin{macro}{\predisplaypenalty} % \begin{macro}{\postdisplaypenalty} % Discourrage (but not so much) widows in front of a math display % and forbid breaking directly in front of a display. Allow break % after a display without a penalty. The default values are % used, therefore we only show them here. % \begin{macrocode} % \displaywidowpenalty 50 % \predisplaypenalty 10000 % \postdisplaypenalty 0 % \end{macrocode} % \end{macro} % \end{macro} % \end{macro} % % \begin{macro}{\interlinepenalty} % Allow the breaking of a page in the middle of a paragraph. % \begin{macrocode} % \interlinepenalty 0 % \end{macrocode} % \end{macro} % % % \begin{macro}{\brokenpenalty} % We discourage the breaking of a page after a hyphenated line. % \begin{macrocode} \brokenpenalty 3500 % \end{macrocode} % \end{macro} % % % \subsection{Page Layout} % % All margin dimensions are measured from a point one inch from the % top and lefthand side of the page. % % \subsubsection{Vertical spacing} % % \begin{macro}{\headheight} % \begin{macro}{\headsep} % \begin{macro}{\topskip} % The |\headheight| is the height of the box that will contain the % running head. The |\headsep| is the distance between the bottom % of the running head and the top of the text. |\topskip| is the % |\baselineskip| for the first line on a page. % \begin{macrocode} \setlength\headheight{12\p@} \setlength\headsep {25\p@} \setlength\topskip {11\p@} % \end{macrocode} % \end{macro} % \end{macro} % \end{macro} % % \begin{macro}{\footskip} % The distance from the baseline of the box which contains the % running footer to the baseline of last line of text is controlled % by the |\footskip|. % Bottom of page: % \begin{macrocode} \setlength\footskip{20\p@} % % \end{macrocode} % \end{macro} % % \subsubsection{The dimension of text} % % \begin{macro}{\textwidth} % When we are in compatibility mode we have to make sure that the % dimensions of the printed area are not different from what the % user was used to see. % % \begin{macrocode} \setlength\textwidth{176mm} % \end{macrocode} % \end{macro} % % \begin{macro}{\textheight} % Now that we have the width of the text, we have to take % care of the height. The |\textheight| is the height of text % (including footnotes and figures, excluding running head and % foot). % % \begin{macrocode} \setlength\textheight{235mm} % \end{macrocode} % \end{macro} % % \subsubsection{Margins} % % \begin{macro}{\oddsidemargin} % \begin{macro}{\evensidemargin} % \begin{macro}{\marginparwidth} % \begin{macrocode} \setlength\oddsidemargin {-8mm} \setlength\evensidemargin {-8mm} \setlength\marginparwidth {1in} % \end{macrocode} % \end{macro} % \end{macro} % \end{macro} % % \begin{macro}{\marginparsep} % \begin{macro}{\marginparpush} % The horizontal space between the main text and marginal notes is % determined by |\marginparsep|, the minimum vertical separation % between two marginal notes is controlled by |\marginparpush|. % \begin{macrocode} \if@twocolumn \setlength\marginparsep {10\p@} \else \setlength\marginparsep{10\p@} \fi % \end{macrocode} % \end{macro} % \end{macro} % % \begin{macro}{\topmargin} % The |\topmargin| is the distance between the top of `the % printable area' --which is 1 inch below the top of the paper-- % and the top of the box which contains the running head. % % \begin{macrocode} \setlength\topmargin{-20mm} % \end{macrocode} % \end{macro} % % % \subsubsection{Footnotes} % % \begin{macro}{\footnotesep} % |\footnotesep| is the height of the strut placed at the beginning % of every footnote. It equals the height of a normal % |\footnotesize| strut in this % class, thus no extra space occurs between footnotes. % \begin{macrocode} \setlength\footnotesep{7.7\p@} % \end{macrocode} % \end{macro} % % \begin{macro}{\footins} % |\skip\footins| is the space between the last line of the main % text and the top of the first footnote. % \begin{macrocode} \setlength{\skip\footins}{10\p@ \@plus 4\p@ \@minus 2\p@} % \end{macrocode} % \end{macro} % % \subsubsection{Float placement parameters} % % \paragraph{Limits for the placement of floating objects} % % \begin{macro}{\c@topnumber} % The \Lcount{topnumber} counter holds the maximum number of % floats that can appear on the top of a text page. % \begin{macrocode} \setcounter{topnumber}{2} % \end{macrocode} % \end{macro} % % \begin{macro}{\topfraction} % This indicates the maximum part of a text page that can be % occupied by floats at the top. % \begin{macrocode} \renewcommand\topfraction{.7} % \end{macrocode} % \end{macro} % % \begin{macro}{\c@bottomnumber} % The \Lcount{bottomnumber} counter holds the maximum number of % floats that can appear on the bottom of a text page. % \begin{macrocode} \setcounter{bottomnumber}{1} % \end{macrocode} % \end{macro} % % \begin{macro}{\bottomfraction} % This indicates the maximum part of a text page that can be % occupied by floats at the bottom. % \begin{macrocode} \renewcommand\bottomfraction{.3} % \end{macrocode} % \end{macro} % % \begin{macro}{\c@totalnumber} % This indicates the maximum number of floats that can appear on % any text page. % \begin{macrocode} \setcounter{totalnumber}{3} % \end{macrocode} % \end{macro} % % \begin{macro}{\textfraction} % This indicates the minimum part of a text page that has to be % occupied by text. % \begin{macrocode} \renewcommand\textfraction{.2} % \end{macrocode} % \end{macro} % % \begin{macro}{\floatpagefraction} % This indicates the minimum part of a page that has to be % occupied by floating objects before a `float page' is produced. % \begin{macrocode} \renewcommand\floatpagefraction{.5} % \end{macrocode} % \end{macro} % % \begin{macro}{\c@dbltopnumber} % The \Lcount{dbltopnumber} counter holds the maximum number of % two column floats that can appear on the top of a two column text % page. % \begin{macrocode} \setcounter{dbltopnumber}{2} % \end{macrocode} % \end{macro} % % \begin{macro}{\dbltopfraction} % This indicates the maximum part of a two column text page that % can be occupied by two column floats at the top. % \begin{macrocode} \renewcommand\dbltopfraction{.7} % \end{macrocode} % \end{macro} % % \begin{macro}{\dblfloatpagefraction} % This indicates the minimum part of a page that has to be % occupied by two column wide floating objects before a `float % page' is produced. % \begin{macrocode} \renewcommand\dblfloatpagefraction{.5} % \end{macrocode} % \end{macro} % % \paragraph{Floats on a text page} % % \begin{macro}{\floatsep} % \begin{macro}{\textfloatsep} % \begin{macro}{\intextsep} % When a floating object is placed on a page with text, these % parameters control the seperation between the float and the other % objects on the page. These parameters are used for both % one-column mode and single-column floats in two-column mode. % % |\floatsep| is the space between adjacent floats that are moved % to the top or bottom of the text page. % % |\textfloatsep| is the space between the main text and floats % at the top or bottom of the page. % % |\intextsep| is the space between in-text floats and the text. % \begin{macrocode} \setlength\floatsep {12\p@ \@plus 2\p@ \@minus 2\p@} \setlength\textfloatsep{20\p@ \@plus 2\p@ \@minus 4\p@} \setlength\intextsep {12\p@ \@plus 2\p@ \@minus 2\p@} % \end{macrocode} % \end{macro} % \end{macro} % \end{macro} % % \begin{macro}{\dblfloatsep} % \begin{macro}{\dbltextfloatsep} % When floating objects that span the whole |\textwidth| are placed % on a text page when we are in twocolumn mode the separation % between the float and the text is controlled by |\dblfloatsep| % and |\dbltextfloatsep|. % % |\dblfloatsep| is the space between adjacent floats that are moved % to the top or bottom of the text page. % % |\dbltextfloatsep| is the space between the main text and floats % at the top or bottom of the page. % % \begin{macrocode} \setlength\dblfloatsep {12\p@ \@plus 2\p@ \@minus 2\p@} \setlength\dbltextfloatsep{20\p@ \@plus 2\p@ \@minus 4\p@} % \end{macrocode} % \end{macro} % \end{macro} % % \paragraph{Floats on their own page or column} % % \begin{macro}{\@fptop} % \begin{macro}{\@fpsep} % \begin{macro}{\@fpbot} % When floating objects are placed on seperate pages the layout of % such pages is controlled by these parameters. At the top of the % page |\@fptop| amount of stretchable whitespace is inserted, at % the bottom of the page we get an |\@fpbot| amount of stretchable % whitespace. Between adjacent floats the |\@fpsep| is inserted. % % These paramaters are used for the placement of floating objects % in one column mode, or in single column floats in two column % mode. % % Note that at least one of the two parameters |\@fptop| and % |\@fpbot| should contain a |plus ...fil| to allow filling the % remaining empty space. % \begin{macrocode} \setlength\@fptop{0\p@ \@plus 1fil} \setlength\@fpsep{8\p@ \@plus 2fil} \setlength\@fpbot{0\p@ \@plus 1fil} % \end{macrocode} % \end{macro} % \end{macro} % \end{macro} % % \begin{macro}{\@dblfptop} % \begin{macro}{\@dblfpsep} % \begin{macro}{\@dblfpbot} % Double column floats in two column mode are handled with similar % parameters. % \begin{macrocode} \setlength\@dblfptop{0\p@ \@plus 1fil} \setlength\@dblfpsep{8\p@ \@plus 2fil} \setlength\@dblfpbot{0\p@ \@plus 1fil} % \end{macrocode} % \end{macro} % \end{macro} % \end{macro} % % \subsection{Page Styles} % % The page style \pstyle{foo} is defined by defining the command % |\ps@foo|. This command should make only local definitions. % There should be no stray spaces in the definition, since they % could lead to mysterious extra spaces in the output (well, that's % something that should be always avoided). % % \begin{macro}{\@evenhead} % \begin{macro}{\@oddhead} % \begin{macro}{\@evenfoot} % \begin{macro}{\@oddfoot} % The |\ps@...| command defines the macros |\@oddhead|, % |\@oddfoot|, |\@evenhead|, and |\@evenfoot| to define the running % heads and feet---e.g., |\@oddhead| is the macro to produce the % contents of the heading box for odd-numbered pages. It is called % inside an |\hbox| of width |\textwidth|. % \end{macro} % \end{macro} % \end{macro} % \end{macro} % % \subsubsection{Defining the page styles} % \label{sec:pagestyle} % % The pagestyles \pstyle{empty} and \pstyle{plain} are defined in % \file{latex.tex}. % % \section{Document Markup} % % \subsection{Chapters and Sections} % % \subsubsection{Building blocks} % The definitions in this part of the class file make use of two % macros, |\@startsection| and |\secdef|, which are defined by % \file{latex.tex}. To understand what is going on here, we % describe their syntax. % % The macro |\@startsection| has 6 required arguments, optionally % followed by a $*$, an optional argument and a required argument: % % |\@startsection|\meta{name}\meta{level}\meta{indent}^^A % \meta{beforeskip}\meta{afterskip}\meta{style} % optional *\\ % \null\hphantom{\bslash @startsection}^^A % |[|\meta{altheading}|]|\meta{heading} % % It is a generic command to start a section, the arguments have % the following meaning: % % \begin{description} % \item[\meta{name}] The name of the user level command, e.g., % `section'. % \item[\meta{level}] A number, denoting the depth of the section % -- e.g., chapter=1, section = 2, etc. A section number % will be printed if and only if \meta{level} $<=$ the value % of the \Lcount{secnumdepth} counter. % \item[\meta{indent}] The indentation of the heading from the left % margin % \item[\meta{beforeskip}] The absolute value of this argument % gives the skip to leave above the heading. If it is % negative, then the paragraph indent of the text following % the heading is suppressed. % \item[\meta{afterskip}] If positive, this gives the skip to leave % below the heading, else it gives the skip to leave to the % right of a run-in heading. % \item[\meta{style}] Commands to set the style of the heading. % \item[$*$] When this is missing the heading is numbered and the % corresponding counter is incremented. % \item[\meta{altheading}] Gives an alternative heading to use in % the table of contents and in the running heads. This should % be present when the $*$ form is used. % \item[\meta{heading}] The heading of the new section. % \end{description} % A sectioning command is normally defined to |\@startsection| and % its first six arguments. % % The macro |\secdef| can be used when a sectioning command is % defined without using |\@startsection|. It has two arguments: % % |\secdef|\meta{unstarcmds}\meta{starcmds} % % \begin{description} % \item[\meta{unstarcmds}] Used for the normal form of the % sectioning command. % \item[\meta{starcmds}] Used for the $*$-form of the % sectioning command. % \end{description} % % You can use |\secdef| as follows: % \begin{verbatim} % \def\chapter { ... \secdef \CMDA \CMDB } % \def\CMDA [#1]#2{ ... } % Command to define % % \chapter[...]{...} % \def\CMDB #1{ ... } % Command to define % % \chapter*{...} % \end{verbatim} % % \subsubsection{Mark commands} % % \begin{macro}{\chaptermark} % \begin{macro}{\sectionmark} % \begin{macro}{\subsectionmark} % \begin{macro}{\subsubsectionmark} % \begin{macro}{\paragraphmark} % \begin{macro}{\subparagraphmark} % Default initializations of |\...mark| commands. These commands % are used in the definition of the page styles (see % section~\ref{sec:pagestyle}) Most of them are already defined by % \file{latex.tex}, so they are only shown here. % % \begin{macrocode} % \newcommand\sectionmark[1]{} % \newcommand\subsectionmark[1]{} % \newcommand\subsubsectionmark[1]{} % \newcommand\paragraphmark[1]{} % \newcommand\subparagraphmark[1]{} % \end{macrocode} % \end{macro} % \end{macro} % \end{macro} % \end{macro} % \end{macro} % \end{macro} % % \subsubsection{Define Counters} % % \begin{macro}{\c@secnumdepth} % The value of the counter \Lcount{secnumdepth} gives the depth of % the highest-level sectioning command that is to produce section % numbers. % \begin{macrocode} \setcounter{secnumdepth}{3} % \end{macrocode} % \end{macro} % % \begin{macro}{\c@part} % \begin{macro}{\c@chapter} % \begin{macro}{\c@section} % \begin{macro}{\c@subsection} % \begin{macro}{\c@subsubsection} % \begin{macro}{\c@paragraph} % \begin{macro}{\c@subparagraph} % These counters are used for the section numbers. The macro % |\newcounter{|\meta{newctr}|}[|\meta{oldctr}|]| defines % \meta{newctr} to be a counter, which is reset to zero when % counter \meta{oldctr} is stepped. Counter \meta{oldctr} must % already be defined. % % \begin{macrocode} \newcounter {section} \newcounter {subsection}[section] \newcounter {subsubsection}[subsection] \newcounter {paragraph}[subsubsection] \newcounter {subparagraph}[paragraph] % \end{macrocode} % \end{macro} % \end{macro} % \end{macro} % \end{macro} % \end{macro} % \end{macro} % \end{macro} % % \begin{macro}{\thesection} % \begin{macro}{\thesubsection} % \begin{macro}{\thesubsubsection} % \begin{macro}{\theparagraph} % \begin{macro}{\thesubparagraph} % For any counter \Lcount{CTR}, |\theCTR| is a macro that defines % the printed version of counter \Lcount{CTR}. It is defined in % terms of the following macros: % % |\arabic{|\Lcount{COUNTER}|}| prints the value of % \Lcount{COUNTER} as an arabic numeral. % % |\roman{|\Lcount{COUNTER}|}| prints the value of % \Lcount{COUNTER} as a lowercase roman numberal. % % |\Roman{|\Lcount{COUNTER}|}| prints the value of % \Lcount{COUNTER} as an uppercase roman numberal. % % |\alph{|\Lcount{COUNTER}|}| prints the value of \Lcount{COUNTER} % as a lowercase letter: $1 =$~a, $2 =$~ b, etc. % % |\Alph{|\Lcount{COUNTER}|}| prints the value of \Lcount{COUNTER} % as an uppercase letter: $1 =$~A, $2 =$~B, etc. % % \begin{macrocode} %\renewcommand\thesection {\arabic{section}} \renewcommand\thesection {} \renewcommand\thesubsection {\arabic{subsection}} \renewcommand\thesubsubsection {\thesubsection .\arabic{subsubsection}} \renewcommand\theparagraph {\thesubsubsection.\arabic{paragraph}} \renewcommand\thesubparagraph {\theparagraph.\arabic{subparagraph}} % \end{macrocode} % \end{macro} % \end{macro} % \end{macro} % \end{macro} % \end{macro} % % \subsubsection{Lower level headings} % % These commands all make use of |\@startsection|. % \begin{macro}{\section} % This gives a normal heading with white space above and below the % heading, the title set in |\Large\bfseries|, and no indentation % on the first paragraph. % \begin{macrocode} \newcommand\section{\@startsection {section}{0}{\z@}% {-2.55ex \@plus -1ex \@minus -.2ex}% {1ex \@plus.2ex}% {\reset@font\large\bfseries}} % \end{macrocode} % \end{macro} % % \begin{macro}{\subsection} % This gives a normal heading with white space above and below the % heading, the title set in |\large\bfseries|, and no indentation % on the first paragraph. % \begin{macrocode} \newcommand\subsection{\@startsection{subsection}{1}{\z@}% {-2ex\@plus -1ex \@minus-.2ex}% {0.5ex \@plus .1ex}% {\reset@font\large\bfseries}} % \end{macrocode} % \end{macro} % % \begin{macro}{\subsubsection} % This gives a normal heading with white space above and below the % heading, the title set in |\normalsize\bfseries|, and no % indentation on the first paragraph. % \begin{macrocode} \newcommand\subsubsection{\@startsection{subsubsection}{2}{\z@}% {-1.55ex\@plus -1ex \@minus -.2ex}% {0.35ex \@plus .2ex}% {\reset@font\normalsize\bfseries}} % \end{macrocode} % \end{macro} % % \begin{macro}{\paragraph} % This gives a run-in heading with white space above and to the % right of the heading, the title set in |\normalsize\bfseries|. % \begin{macrocode} \newcommand\paragraph{\@startsection{paragraph}{3}{\z@}% {-0.25ex \@plus1ex \@minus-.2ex}% {-1em}% {\reset@font\normalsize\bfseries}} % \end{macrocode} % \end{macro} % % \begin{macro}{\subparagraph} % This gives an indented run-in heading with white space above and % to the right of the heading, the title set in % |\normalsize\bfseries|. % \begin{macrocode} \newcommand\subparagraph{\@startsection{subparagraph}{4}{\parindent}% {1.25ex \@plus1ex \@minus .2ex}% {-1em}% {\reset@font\normalsize\bfseries}} % \end{macrocode} % \end{macro} % % \subsubsection{Various headings for ``Zpravodaj''} % \begin{macro}{\ssig} % \changes{1.0.2}{1994/01/21}{Box in \cmd\endsec repositioned.} % \begin{macro}{\endsec} % \begin{macro}{\hsection} % \begin{macro}{\sigspec} % \begin{macrocode} \def\ssig#1/#2/{\sig{#1}{#2}} \def\endsec{~~~$\Box$} \def\hsection{\@startsection {section}{1}{\z@}{-2.55ex plus -1ex minus -.2ex}{1ex plus .2ex}{\Large\bf}} \def\sig#1#2{\bigskip\pagebreak[3]%{\samepage \hsection*{{#1\\ \it #2}}\addcontentsline{toc}{section}{#1, {\it #2}}%\smallskip\par\parindent 20mm\indent #1\vskip 10pt} } \def\sigspec#1#2#3{\bigskip\pagebreak[3]%{\samepage \hsection*{{#1\\ \it #2}}\addcontentsline{toc}{section}{#3, {\it #2}}%\smallskip\par\parindent 20mm\indent #1\vskip 10pt} } % \end{macrocode} % \end{macro} % \end{macro} % \end{macro} % \end{macro} % % \begin{macro}{\sigem} % \begin{macrocode} \def\sigem#1#2#3{\bigskip\pagebreak[3]%{\samepage \hsection*{{#1\\ \it #2 \normalsize\tt \\[-1mm] \hspace*{0.6mm}#3}} \addcontentsline{toc}{section}{#1, {\it #2}}%\smallskip\par\parindent 20mm\indent #1\vskip 10pt} } % \end{macrocode} % \end{macro} % % \begin{macro}{\sigfnt} % \begin{macro}{\sigfna} % \begin{macrocode} \def\sigfnt#1#2#3{\bigskip\pagebreak[3]%{\samepage \hsection*{{#1\footnote{#3}\\ \it #2}} \addcontentsline{toc}{section}{#1, {\it #2}}%\smallskip\par\parindent 20mm\indent #1\vskip 10pt} } \def\sigfna#1#2#3{\bigskip\pagebreak[3]%{\samepage \hsection*{{#1\\ \it #2\footnote{#3}}} \addcontentsline{toc}{section}{#1, {\it #2}}%\smallskip\par\parindent 20mm\indent #1\vskip 10pt} } % \end{macrocode} % \end{macro} % \end{macro} % % \begin{macro}{\signa} % \begin{macrocode} \def\signa#1{\bigskip\pagebreak[3]%{\samepage \hsection*{{#1}}\addcontentsline{toc}{section}{#1}%\smallskip\par\parindent 20mm\indent #1\vskip 10pt} } % \end{macrocode} % \end{macro} % % \subsection{Lists} % % \subsubsection{General List Parameters} % % The following commands are used to set the default values for the list % environment's parameters. See the \LaTeX{} manual for an explanation % of the meanings of the parameters. Defaults for the list % environment are set as follows. First, |\rightmargin|, % |\listparindent| and |\itemindent| are set to 0pt. Then, for a Kth % level list, the command |\@listK| is called, where `K' denotes `i', % '`i', ... , `vi'. (I.e., |\@listiii| is called for a third-level % list.) By convention, |\@listK| should set |\leftmargin| to % |\leftmarginK|. % % \begin{macro}{\leftmargin} % \begin{macro}{\leftmargini} % \begin{macro}{\leftmarginii} % \begin{macro}{\leftmarginiii} % \begin{macro}{\leftmarginiv} % \begin{macro}{\leftmarginv} % \begin{macro}{\leftmarginvi} % For efficiency, level-one list's values are defined at top level, and % |\@listi| is defined to set only |\leftmargin|. % % \begin{macrocode} \setlength\leftmargini {14\p@} \setlength\leftmarginii {10\p@} \setlength\leftmarginiii {6\p@} \setlength\leftmarginiv {5\p@} \setlength\leftmarginv {5\p@} \setlength\leftmarginvi {5\p@} % \end{macrocode} % Here we set the top level leftmargin. % \begin{macrocode} \setlength\leftmargin {\leftmargini} % \end{macrocode} % \end{macro} % \end{macro} % \end{macro} % \end{macro} % \end{macro} % \end{macro} % \end{macro} % % \begin{macro}{\labelsep} % \begin{macro}{\labelwidth} % |\labelsep| is the distance between the label and the text of an % item; |\labelwidth| is the width of the label. % \begin{macrocode} \setlength \labelsep {5\p@} \setlength \labelwidth{\leftmargini} \addtolength\labelwidth{-\labelsep} % \end{macrocode} % \end{macro} % \end{macro} % % \begin{macro}{\partopsep} % When the user leaves a blank line before the environment an extra % vertical space of |\partopsep| is inserted, in addition to % |\parskip| and |\topsep|. % \begin{macrocode} \setlength\partopsep{.5\p@ \@plus 0\p@ \@minus .5\p@} % \end{macrocode} % \end{macro} % % \begin{macro}{\@beginparpenalty} % \begin{macro}{\@endparpenalty} % These penalties are inserted before and after a list or paragraph % environment. They are set to a bonus value to encourage page % breaking at these points. % \begin{macro}{\@itempenalty} % This penalty is inserted between list items. % \begin{macrocode} \@beginparpenalty -\@lowpenalty \@endparpenalty -\@lowpenalty \@itempenalty -\@lowpenalty % \end{macrocode} % \end{macro} % \end{macro} % \end{macro} % % \begin{macro}{\@listI} % \begin{macro}{\@listi} % |\@listI| defines top level and |\@listi| values of % |\leftmargin|, |\parsep|, |\topsep|, and |\itemsep| % % \begin{macrocode} \def\@listI{\setlength\leftmargin{\leftmargini} \setlength\parsep {.5\p@ \@plus.3\p@ \@minus.3\p@}% \setlength\topsep {.8\p@ \@plus.4\p@ \@minus.4\p@}% \setlength\itemsep {.3\parsep}} \let\@listi\@listI % \end{macrocode} % We have to initialise these parameters. % \begin{macrocode} \@listi % \end{macrocode} % \end{macro} % \end{macro} % % \begin{macro}{\@listii} % \begin{macro}{\@listiii} % \begin{macro}{\@listiv} % \begin{macro}{\@listv} % \begin{macro}{\@listvi} % Here are the same macros for the higher level lists. % \begin{macrocode} \def\@listii {\setlength \leftmargin{\leftmarginii}% \setlength \labelwidth{\leftmarginii}% \addtolength\labelwidth{-\labelsep}% \setlength \topsep {4\p@ \@plus2\p@ \@minus\p@}% \setlength \parsep {2\p@ \@plus\p@ \@minus\p@}% \setlength \itemsep {\parsep}} \def\@listiii{\setlength \leftmargin{\leftmarginiii}% \setlength \labelwidth{\leftmarginiii}% \addtolength\labelwidth{-\labelsep}% \setlength \topsep {2\p@ \@plus\p@ \@minus\p@}% \setlength \parsep {\z@}% \setlength \partopsep {\p@ \@plus\z@ \@minus\p@}% \setlength \itemsep {\topsep}} \def\@listiv {\setlength \leftmargin{\leftmarginiv}% \setlength \labelwidth{\leftmarginiv}% \addtolength\labelwidth{-\labelsep}} \def\@listv {\setlength \leftmargin{\leftmarginv}% \setlength \labelwidth{\leftmarginv}% \addtolength\labelwidth{-\labelsep}} \def\@listvi {\setlength \leftmargin{\leftmarginvi}% \setlength \labelwidth{\leftmarginvi}% \addtolength\labelwidth{-\labelsep}} % \end{macrocode} % \end{macro} % \end{macro} % \end{macro} % \end{macro} % \end{macro} % % \subsubsection{Enumerate} % % The enumerate environment uses four counters: \Lcount{enumi}, % \Lcount{enumii}, \Lcount{enumiii} and \Lcount{enumiv}, where % \Lcount{enumN} controls the numbering of the Nth level % enumeration. % % \begin{macro}{\theenumi} % \begin{macro}{\theenumii} % \begin{macro}{\theenumiii} % \begin{macro}{\theenumiv} % The counters are already defined in \file{latex.tex}, but their % representation is changed here. % % \begin{macrocode} \renewcommand\theenumi{\arabic{enumi}} \renewcommand\theenumii{\alph{enumii}} \renewcommand\theenumiii{\roman{enumiii}} \renewcommand\theenumiv{\Alph{enumiv}} % \end{macrocode} % \end{macro} % \end{macro} % \end{macro} % \end{macro} % % \begin{macro}{\labelenumi} % \begin{macro}{\labelenumii} % \begin{macro}{\labelenumiii} % \begin{macro}{\labelenumiv} % The label for each item is generated by the commands % |\labelenumi| ... |\labelenumiv|. % \begin{macrocode} \newcommand\labelenumi{\theenumi.} \newcommand\labelenumii{(\theenumii)} \newcommand\labelenumiii{\theenumiii.} \newcommand\labelenumiv{\theenumiv.} % \end{macrocode} % \end{macro} % \end{macro} % \end{macro} % \end{macro} % % \begin{macro}{\p@enumii} % \begin{macro}{\p@enumiii} % \begin{macro}{\p@enumiv} % The expansion of |\p@enumN||\theenumN| defines the output of a % |\ref| command when referencing an item of the Nth level of an % enumerated list. % \begin{macrocode} \renewcommand\p@enumii{\theenumi} \renewcommand\p@enumiii{\theenumi(\theenumii)} \renewcommand\p@enumiv{\p@enumiii\theenumiii} % \end{macrocode} % \end{macro} % \end{macro} % \end{macro} % % \subsubsection{Itemize} % % \begin{macro}{\labelitemi} % \begin{macro}{\labelitemii} % \begin{macro}{\labelitemiii} % \begin{macro}{\labelitemiv} % Itemization is controlled by four commands: |\labelitemi|, % |\labelitemii|, |\labelitemiii|, and |\labelitemiv|, which define % the labels of thevarious itemization levels: the symbols used are % bullet, bold en-dash, asterisk and centred dot. % % \begin{macrocode} \newcommand\labelitemi{$\m@th\bullet$} \newcommand\labelitemii{\bfseries --} \newcommand\labelitemiiii{$\m@th\ast$} \newcommand\labelitemiv{$\m@th\cdot$} % \end{macrocode} % \end{macro} % \end{macro} % \end{macro} % \end{macro} % % \subsubsection{Description} % % \begin{macro}{\description} % \begin{macro}{\descriptionlabel} % The description environment is defined here -- while the itemize % and enumerate environments are defined in \file{latex.tex}. % % To change the formatting of the label, you must redefine % |\descriptionlabel|. % % \begin{macrocode} \newcommand\descriptionlabel[1]{\hspace\labelsep \bfseries #1} \newenvironment{description} {\list{}{\labelwidth\z@ \itemindent-\leftmargin \let\makelabel\descriptionlabel}} {\endlist} % \end{macrocode} % \end{macro} % \end{macro} % % \subsubsection{Enumalfa} % % \begin{macro}{\enumalfa} % \begin{macrocode} \def\enumalfa{\def\theenumi{\alph{enumi}}\enumerate} \let\endenumalfa\endenumerate % \end{macrocode} % \end{macro} % % \subsection{Defining new environments} % % \subsubsection{Verse} % % \begin{macro}{\verse} % The verse environment is defined by making clever use of the % list environment's parameters. The user types |\\| to end a line. % This is implemented by |\let|'ing |\\| equal |\@centercr|. % % \begin{macrocode} \newenvironment{verse} {\let\\=\@centercr \list{}{\setlength\itemsep{\z@}% \setlength\itemindent{-1.5em}% \setlength\listparindent{\itemindent}% \setlength\rightmargin{\leftmargin}% \addtolength\leftmargin{1.5em}}% \item[]} {\endlist} % \end{macrocode} % \end{macro} % % \subsubsection{Quotation} % % \begin{macro}{\quotation} % The quotation environment is also defined by making clever use of % the list environment's parameters. The lines in the environment % are set smaller than |\textwidth|. The first line of a paragraph % inside this environment is indented. % % \begin{macrocode} \newenvironment{quotation} {\list{}{\setlength\listparindent{1.5em}% \setlength\itemindent{\listparindent}% \setlength\rightmargin{\leftmargin}% \setlength\parsep{\z@ \@plus\p@}}% \item[]} {\endlist} % \end{macrocode} % \end{macro} % % \subsubsection{Quote} % % \begin{macro}{\quote} % The quote environment is like the quotation environment except % that paragraphs are not indented. % % \begin{macrocode} \newenvironment{quote} {\list{}{\setlength\rightmargin{\leftmargin}}% \item[]} {\endlist} % \end{macrocode} % \end{macro} % % \subsubsection{Theorem} % % This document class does not define it's own theorem environemts, % the defaults, supplied by \file{latex.tex} are available. % % % \subsection{Setting parameters for existing environments} % % \subsubsection{Array and tabular} % % \begin{macro}{\arraycolsep} % The columns in an array environment are separated by % 2|\arraycolsep|. % \begin{macrocode} \setlength\arraycolsep{5\p@} % \end{macrocode} % \end{macro} % % \begin{macro}{\tabcolsep} % The columns in an tabular environment are separated by % 2|\tabcolsep|. % \begin{macrocode} \setlength\tabcolsep{6\p@} % \end{macrocode} % \end{macro} % % \begin{macro}{\arrayrulewidth} % The width of rules in the array and tabular environments is given % by |\arrayrulewidth|. % \begin{macrocode} \setlength\arrayrulewidth{.4\p@} % \end{macrocode} % \end{macro} % % \begin{macro}{\doublerulesep} % The space between adjacent rules in the array and tabular % environments is given by |\doublerulesep|. % \begin{macrocode} \setlength\doublerulesep{2\p@} % \end{macrocode} % \end{macro} % % \subsubsection{Tabbing} % % \begin{macro}{\tabbingsep} % This controls the space that the |\'| command puts in. (See % \LaTeX{} manual for an explanation.) % \begin{macrocode} \setlength\tabbingsep{\labelsep} % \end{macrocode} % \end{macro} % % \subsubsection{Minipage} % % \begin{macro}{\@minipagerestore} % The macro |\@minipagerestore| is called upon entry to a minipage % environment to set up things that are to be handled differently % inside a minipage environment. In the current styles, it does % nothing. % \end{macro} % % \begin{macro}{\@mpfootins} % Minipages have their own footnotes; |\skip||\@mpfootins| plays % same r\^ole for footnotes in a minipage as |\skip||\footins| does % for ordinary footnotes. % % \begin{macrocode} \skip\@mpfootins = \skip\footins % \end{macrocode} % \end{macro} % % \subsubsection{Framed boxes} % % \begin{macro}{\fboxsep} % The space left by |\fbox| and |\framebox| between the box and the % text in it. % \begin{macro}{\fboxrule} % The width of the rules in the box made by |\fbox| and |\framebox|. % \begin{macrocode} \setlength\fboxsep{3\p@} \setlength\fboxrule{.4\p@} % \end{macrocode} % \end{macro} % \end{macro} % % \subsubsection{Equation and eqnarray} % % \begin{macro}{\theequation} % The equation counter will be reset at beginning of a new chapter % and the equation number will be prefixed by the chapter number. % % This code must follow the |\chapter| definition, or more exactly % the definition of the chapter counter. % \begin{macrocode} \renewcommand\theequation{\arabic{equation}} % \end{macrocode} % \end{macro} % % \begin{macro}{\jot} % |\jot| is the extra space added between lines of an eqnarray % environment. The default value is used. % \begin{macrocode} % \setlength\jot{3pt} % \end{macrocode} % \end{macro} % % \begin{macro}{\@eqnnum} % The macro |\@eqnnum| defines how equation numbers are to appear in % equations. Again the default is used. % % \begin{macrocode} % \def\@eqnnum{(\theequation)} % \end{macrocode} % \end{macro} % % \subsection{Floating objects} % % The file \file{latex.tex} only defines a number of tools with % which floating objects can be defined. This is done in the % document class. It needs to define the following macros for each % floating object of type \texttt{TYPE} (e.g., \texttt{TYPE} = % figure). % % \begin{description} % \item[\texttt{\bslash fps@TYPE}] % The default placement specifier for floats of type % \texttt{TYPE}. % % \item[\texttt{\bslash ftype@TYPE}] % The type number for floats of type \texttt{TYPE}. Each % \texttt{TYPE} has associated a unique positive {\texttt % TYPE} number, which is a power of two. E.g., figures might % have type number 1, tables type number 2, programs type % number 4, etc. % % \item[\texttt{\bslash ext@TYPE}] % The file extension indicating the file on which the contents % list for float type \texttt{TYPE} is stored. For example, % |\ext@figure| = `lof'. % % \item[\texttt{\bslash fnum@TYPE}] % A macro to generate the figure number for a caption. For % example, |\fnum@TYPE| == `Figure |\thefigure|'. % % \item[\texttt{\bslash @makecaption{\meta{num}}{\meta{text}}}] % A macro to make a caption, with \meta{num} the value produced % by |\fnum@...| and \meta{text} the text of the caption. It % can assume it's in a |\parbox| of the appropriate width. % This will be used for {\em all} floating objects. % % \end{description} % % The actual environment that implements a floating object such as % a figure is defined using the macros |\@float| and |\end@float|, % which are defined in \file{latex.tex}. % % An environemt that implements a single column floating object is % started with |\@float{|\texttt{TYPE}|}[|\meta{placement}|]| of type % \texttt{TYPE} with \meta{placement} as the placement specifier. % The default value of \meta{PLACEMENT} is defined by |\fps@TYPE|. % % The environment is ended by |\end@float|. E.g., |\figure| == % |\@float|{figure}, |\endfigure| == |\end@float|. % % \subsubsection{Figure} % % Here is the implementation of the figure environment. % % \begin{macro}{\c@figure} % First we have to allocate a counter to number the figures. In the % report and book document classes the figures are numbered per % chapter. % \begin{macrocode} \newcounter{figure} \renewcommand\thefigure{\@arabic\c@figure} % \end{macrocode} % \end{macro} % % \begin{macro}{\fps@figure} % \begin{macro}{\ftype@figure} % \begin{macro}{\ext@figure} % \begin{macro}{\num@figure} % Here are the parameters for the floating objects of type `figure'. % \begin{macrocode} \def\fps@figure{tbp} \def\ftype@figure{1} \def\ext@figure{lof} \def\fnum@figure{\figurename~\thefigure} % \end{macrocode} % \end{macro} % \end{macro} % \end{macro} % \end{macro} % % \begin{macro}{\figure} % \begin{macro}{\figure*} % And the definition of the actual environment. The form with the % |*| is used for double column figures. % \begin{macrocode} \newenvironment{figure} {\@float{figure}} {\end@float} \newenvironment{figure*} {\@dblfloat{figure}} {\end@dblfloat} % \end{macrocode} % \end{macro} % \end{macro} % % \subsubsection{Table} % % Here is the implementation of the table environment. It is very % much the same as the figure environment. % % \begin{macro}{\c@table} % First we have to allocate a counter to number the tables. In the % report and book document classes the tables are numbered per % chapter. % \begin{macrocode} \newcounter{table} \renewcommand\thetable{\@arabic\c@table} % \end{macrocode} % \end{macro} %*% \begin{macro}{\fps@table} % \begin{macro}{\ftype@table} % \begin{macro}{\ext`table} % \begin{macro}{\num@table} % Here are the parameters for the floating objects of type `table'. % \begin{macrocode} \def\fps@table{tbp} \def\ftype@table{2} \def\ext@table{lot} \def\fnum@table{\tablename~\thetable} % \end{macrocode} % \end{macro} % \end{macro} % \end{macro} % \end{macro} % % \begin{macro}{\table} % \begin{macro}{\table*} % And the definition of the actual environment. The form with the % |*| is used for double column tables. % \begin{macrocode} \newenvironment{table} {\@float{table}} {\end@float} \newenvironment{table*} {\@dblfloat{table}} {\end@dblfloat} % \end{macrocode} % \end{macro} % \end{macro} % % \subsubsection{Captions} % % \begin{macro}{\@makecaption} % The |\caption| command calls |\@makecaption| to format the % caption of floating objects. It gets two arguments, % \meta{number}, the number of the floating object and \meta{text}, % the text of the caption. Usually \meta{number} contains a string % such as `Figure 3.2'. The macro can assume it is called inside a % |\parbox| of right width, with |\normalsize|. % % \begin{macro}{\abovecaptionskip} % \begin{macro}{\belowcaptionskip} % These lengths contain the amount of white space to leave above % and below the caption. % \begin{macrocode} \newlength\abovecaptionskip \newlength\belowcaptionskip \setlength\abovecaptionskip{10\p@} \setlength\belowcaptionskip{0\p@} % \end{macrocode} % \end{macro} % \end{macro} % % The definition of this macro is |\long| in order to allow more % then one paragraph in a caption. % \begin{macrocode} \long\def\@makecaption#1#2{% \vskip\abovecaptionskip % \end{macrocode} % We want to see if the caption fits on one line on the page, % therefore we first typeset it in a temporary box. % \begin{macrocode} \setbox\@tempboxa\hbox{#1: #2}% % \end{macrocode} % We can the measure its width. It that is larger than the current % |\hsize| we typeset the caption as an ordinary paragraph. % \begin{macrocode} \ifdim \wd\@tempboxa >\hsize #1: #2\par % \end{macrocode} % If the caption fits, we center it. % \begin{macrocode} \else \hbox to\hsize{\hfil\box\@tempboxa\hfil}% \fi \vskip\belowcaptionskip} % \end{macrocode} % \end{macro} % % \subsection{Font changing} % % \changes{1.1.1}{1994/09/04}{Updated for LaTeX2e <1994/06/01>} % Here we supply the declarative font changing commands that were % common in \LaTeX\ version 2.09 and earlier. These commands work % in text mode \emph{and} in math mode. They are provided for % compatiblity, but one should start using the |\text...| and % |\math...| commands instead. These commands are defined using % |\DeclareOldFontCommand|, a command with three arguments: the user % command to be defined; \LaTeX\ commands to execute in text mode % and \LaTeX\ commands to execute in math mode. % % \begin{macro}{\rm} % \begin{macro}{\tt} % \begin{macro}{\sf} % % The commands to change the family. When in compatibilty mode we % select the `default' font first, to get \LaTeX2.09 behviour. % \begin{macrocode} \DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm} \DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf} \DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt} % \end{macrocode} % \end{macro} % \end{macro} % \end{macro} % % \begin{macro}{\bf} % The command to change to the bold series. One should use % |\mdseries| to explicitly switch back to medium series. % \begin{macrocode} \DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf} % \end{macrocode} % \end{macro} % % \begin{macro}{\sl} % \begin{macro}{\it} % \begin{macro}{\sc} % % And the commands to change the shape of the font. The slanted and % small caps shapes are not available by default as math alphabets, % so those changes do nothing in math mode. One should use % |\upshape| to explicitly change back to the upright shape. % \begin{macrocode} \DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit} \DeclareOldFontCommand{\sl}{\normalfont\slshape}{\@nomath\sl} \DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc} % \end{macrocode} % \end{macro} % \end{macro} % \end{macro} % % \begin{macro}{\cal} % \begin{macro}{\mit} % % The commands |\cal| and |\mit| should only be used in math mode, % outside math mode they have no effect. Currently the New Font % Selection Scheme defines these commands to generate warning % messages. Therefore we have to define them `by hand'. % \begin{macrocode} \renewcommand{\cal}{\protect\pcal} \newcommand{\pcal}{\@fontswitch{\relax}{\mathcal}} \renewcommand{\mit}{\protect\pmit} \newcommand{\pmit}{\@fontswitch{\relax}{\mathnormal}} % \end{macrocode} % \end{macro} % \end{macro} % % \section{Cross Referencing} % \subsection{Table of Contents, etc.} % % A |\section| command writes a % |\contentsline{section}{|\meta{title}|}{|\meta{page}|}| command % on the \file{.toc} file, where \meta{title} contains the % contents of the entry and \meta{page} is the page number. If % sections are being numbered, then \meta{title} will be of the % form |\numberline{|\meta{num}|}{|\meta{heading}|}| where % \meta{num} is the number produced by |\thesection|. Other % sectioning commands work similarly. % % A |\caption| command in a `figure' environment writes % % |\contentsline{figure}{\numberline{|\meta{num}|}{|% % \meta{caption}|}}{|\meta{page}|}| % % on the .\file{lof} file, where \meta{num} is the number produced % by |\thefigure| and \meta{caption} is the figure caption. It % works similarly for a `table' environment. % % The command |\contentsline{|\meta{name}|}| expands to % |\l@|\meta{name}. So, to specify the table of contents, we must % define |\l@chapter|, |\l@section|, |\l@subsection|, ... ; to % specify the list of figures, we must define |\l@figure|; and so % on. Most of these can be defined with the |\@dottedtocline| % command, which works as follows. % % |\@dottedtocline{|\meta{level}|}{|\meta{indent}|}{|^^A % \meta{numwidth}|}{|^^A % \meta{title}|}{|\meta{page}|}| % % \begin{description} % \item[\meta{level}] An entry is produced only if\meta{ level} % $<=$ value of the \Lcount{tocdepth} counter. Note, % |\chapter| is level 0, |\section| is level 1, etc. % \item[\meta{indent}] The indentation from the outer left margin % of the start of the contents line. % \item[\meta{numwidth}] The width of a box in which the section % number is to go, if \meta{title} includes a |\numberline| % command. % \end{description} % % \begin{macro}{\@pnumwidth} % \begin{macro}{\@tocrmarg} % \begin{macro}{\@dotsep} % This command uses the following three parameters, which are set % with a |\newcommand| (so em's can be used to make them depend upon % the font). % \begin{description} % \item[\texttt{\bslash @pnumwidth}] The width of a box in which the % page number is put. % \item[\texttt{\bslash @tocrmarg}] The right margin for multiple % line entries. One wants |\@tocrmarg| > or = |\@pnumwidth| % \item[\texttt{\bslash @dotsep}] Separation between dots, in mu % units. Should be defined as a number like 2 or 1.7 % \end{description} % % \begin{macrocode} \newcommand\@pnumwidth{1.55em} \newcommand\@tocrmarg {2.55em} \newcommand\@dotsep{4.5} \setcounter{tocdepth}{0} % \end{macrocode} % \end{macro} % \end{macro} % \end{macro} % % \subsubsection{Table of Contents} % % \begin{macro}{\tableofcontents} % This macro is used to request that \LaTeX{} produces a table of % contents. In the report and book document classes the tables of % contents, figures etc. are always set in single-column style. % % \begin{macrocode} \newcommand\tableofcontents{% \section*{\contentsname}% % \end{macrocode} % The the actual table of contents is made by calling % |\@starttoc{toc}|. After that we restore twocolumn mode if % necessary. % \begin{macrocode} \@starttoc{toc}% \def\lrule{\makebox[\textwidth]{\hbox{}\hrulefill\hbox{}}}% } % \end{macrocode} % \end{macro} % % \begin{macro}{\l@section} % In the article document class the entry in the table of contents % for sections looks much like the chapter entries for the report % and bok document classes. % % First we make sure that if a pagebreak should occur, it occurs % {\em before} this entry. Also a little whitespace is added and a % group begun to keep changes local. % \begin{macrocode} \newcommand\l@section[2]{% \addpenalty{\@secpenalty}% \addvspace{.3em \@plus1\p@}% % \end{macrocode} % % The macro |\numberline| requires that the width of the box that % holds the part number is stored in \LaTeX's scratch register % |\@tempdima|. Therefore we put it there. We begin a group, and % change some of the paragraph paramters. % \begin{macrocode} \setlength\@tempdima{1.5em}% \begingroup \parindent \z@ \rightskip \@pnumwidth \parfillskip -\@pnumwidth % \end{macrocode} % Then we leave vertical mode and switch to a bold font. % \begin{macrocode} \leavevmode \bfseries % \end{macrocode} % Because we do not use |\numberline| here, we have do some fine % tuning `by hand', before we can set the entry. We discourage but % not disallow a pagebreak immediately after a chapter entry. % \begin{macrocode} \advance\leftskip\@tempdima \hskip -\leftskip #1\nobreak\hfil \nobreak\,\dotfill \nobreak\hbox to\@pnumwidth{\hss #2}\par \endgroup} % \end{macrocode} % \end{macro} % % \begin{macro}{\l@appendix} % This is very much like \cmd\l@section, except that no page % number is produced. % % \begin{macrocode} \newcommand\l@appendix[2]{% \addpenalty{\@secpenalty}% \addvspace{.3em \@plus1\p@}% \setlength\@tempdima{1.5em}% \begingroup \parindent \z@ \rightskip \@pnumwidth \parfillskip -\@pnumwidth \leavevmode \bfseries \advance\leftskip\@tempdima \hskip -\leftskip #1\hfill\hbox{} \par \endgroup} % \end{macrocode} % \end{macro} % % \begin{macro}{\l@subsection} % \begin{macro}{\l@subsubsection} % \begin{macro}{\l@paragraph} % \begin{macro}{\l@subparagraph} % All lower level entries are defined using the macro % |\@dottedtocline| (see above). % \begin{macrocode} \newcommand\l@subsection {\@dottedtocline{2}{3.8em}{3.2em}} \newcommand\l@subsubsection{\@dottedtocline{3}{7.0em}{4.1em}} \newcommand\l@paragraph {\@dottedtocline{4}{10em}{5em}} \newcommand\l@subparagraph {\@dottedtocline{5}{12em}{6em}} % \end{macrocode} % \end{macro} % \end{macro} % \end{macro} % \end{macro} % % \subsection{Bibliography} % % \begin{macro}{\bibindent} % The ``open'' bibliography format uses an indentation of % |\bibindent|. % \begin{macrocode} \newdimen\bibindent \bibindent=1.5em % \end{macrocode} % \end{macro} % % \begin{macro}{\thebibliography} % \begin{macro}{\newblock} % The `thebibliography' environment executes the following % commands: % % |\renewcommand\newblock{\hskip .11em \@plus .33em \@minus .07em}| % -- Defines the ``closed'' format, where the blocks (major units % of information) of an entry run together. % % |\sloppy| -- Used because it's rather hard to do line breaks in % bibliographies, % % |\sfcode`\.=1000\relax| -- % Causes a `.' (period) not to produce an end-of-sentence space. % % The implementation of this environment is based on the generic % list environment. It uses the \Lcount{enumiv} counter internally % to generate the labels of the list. % % When an empty `thebibliography' environment is found, a warning % is issued. % % \changes{1.0.1}{1994/01/21}{Counter in \cmd\bibitem corrected.} % \begin{macrocode} \newcommand\newblock{} \newenvironment{thebibliography}[1] {\section*{Literatura}% \list{\@biblabel{\arabic{enumiv}}}% {\settowidth\labelwidth{\@biblabel{#1}}% \leftmargin\labelwidth \advance\leftmargin\labelsep \usecounter{enumiv}% \let\p@enumiv\@empty \renewcommand\theenumiv{\arabic{enumiv}}}% \renewcommand\newblock{\hskip .11em \@plus.33em \@minus.07em}% \sloppy\clubpenalty4000\widowpenalty4000% \sfcode`\.=\@m} {\def\@noitemerr{\@warning{Empty `thebibliography' environment}}% \endlist} % \end{macrocode} % \end{macro} % \end{macro} % % \begin{macro}{\@biblabel} % The label for a |\bibitem[...]| command is produced by this % macro. The default from \file{latex.tex} is used. % \begin{macrocode} % \renewcommand\@biblabel#1{[#1]\hfill} % \end{macrocode} % \end{macro} % % \begin{macro}{\@cite} % The output of the |\cite| command is produced by this macro. The % default from \file{latex.tex} is used. % \begin{macrocode} % \renewcommand\@cite#1{[#1]} % \end{macrocode} % \end{macro} % % \subsection{Footnotes} % % \begin{macro}{\footnoterule} % Usually, footnotes are separated from the main body of the text % by a small rule. This rule is drawn by the macro |\footnoterule|. % We have to make sure that the rule takes no vertical space (see % \file{plain.tex}) so we compensate for the natural heigth of the % rule of 0.4pt by adding the right amount of vertical skip. % % To prevent the rule from colliding with the footnote we first add % a little negative vertical skip, then we put the rule and make % sure we end up at the same point where we begun this operation. % \begin{macrocode} \renewcommand\footnoterule{% \kern-3\p@ \hrule width .4\columnwidth \kern 2.6\p@} % \end{macrocode} % \end{macro} % % \begin{macro}{\c@footnote} % Footnotes are numbered within chapters in the report and book % document styles. % \begin{macrocode} % \newcounter{footnote} % \end{macrocode} % \end{macro} % % \begin{macro}{\@makefntext} % The footnote mechanism of \LaTeX{} calls the macro |\@makefntext| % to produce the actual footnote. The macro gets the text of the % footnote as its argument and should use |\@thefnmark| as the mark % of the footnote. The macro |\@makefntext|is called when % effectively inside a |\parbox| of width |\columnwidth| (i.e., % with |\hsize| = |\columnwidth|). % % An example of what can be achieved is given by the following piece % of \TeX\ code. % \begin{verbatim} % \long\def\@makefntext#1{% % \@setpar{\@@par % \@tempdima = \hsize % \advance\@tempdima-10pt % \parshape \@ne 10pt \@tempdima}% % \par % \parindent 1em\noindent % \hbox to \z@{\hss$\m@th^{\@thefnmark}$}#1} % \end{verbatim} % The effect of this definition is that all lines of the footnote % are indented by 10pt, while the first line of a new paragraph is % indented by 1em. To change these dimensions, just substitute the % desired value for `10pt' (in both places) or `1em'. The mark is % flushright against the footnote. % % In these document classes we use a simpler macro, in which the % footnote text is set like an ordinary text paragraph, with no % indentation except on the first line of a paragraph, and the % first line of the footnote. Thus, all the macro must do is set % |\parindent| to the appropriate value for succeeding paragraphs % and put the proper indentation before the mark. % % \begin{macrocode} \long\def\@makefntext#1{% \parindent 1em% \noindent \hbox to 1.8em{\hss$\m@th^{\@thefnmark}$}#1} % \end{macrocode} % \end{macro} % % \begin{macro}{\@makefnmark} % The footnote markers that are printed in the text to point to the % footnotes should be produced by the macro |\@makefnmark|. We use % the default definition for it. % \begin{macrocode} %\def\@makefnmark{\hbox{$^{\@thefnmark}\m@th$}} % \end{macrocode} % \end{macro} % % \subsection{Colophon} % % \begin{macro}{\tiraz} % \begin{macrocode} \def\tiraz{\hbox to \textwidth{\vbox{% \hrule% \hbox to \textwidth{\small\rm Editor: J.\,Kohoutkov\'a, \'UVT MU, Brno, Bure\v sova 20, tel. 41321237\,/\,388, {\small\tt zpravodaj@muni.cz} \hfil$\bullet$\hfil\ {\small\it Neprodejn\'e}} \hbox to \textwidth{\small\rm Vyd\'av\'a \'Ustav v\'ypo\v cetn\'i techniky MU \hfil $\bullet$ \hfil Tisk: Grafex Blansko \hfil$\bullet$\hfil\ Sazba syst\'emem \LaTeXe\ p\'ismem LucidaBright} \vskip1mm \hrule}}\thispagestyle{empty}} % \end{macrocode} % \end{macro} % % \subsection{Heading} % % \begin{macro}{\hdr} % \begin{macrocode} \def\hdr#1#2#3#4{\twocolumn[\vspace*{63mm} %\noindent\hbox to \textwidth{{\title a}\hss} \hbox to \textwidth{\hbox{}\hrulefill~~~~~} \vskip -1mm \hbox to \textwidth{\normalsize\rm Bulletin pro z\'ajemce o~v\'ypo\v cetn\'i techniku na~Masarykov\v e univerzit\v e\hfill$\bullet$\hfill #2 #3\hfill$\bullet$\hfill ro\v c.~#4\hfill$\bullet$\hfill \v c. \Huge\rm #1} \vskip 2mm\hrule \vskip 6mm] \thispagestyle{empty} } % \end{macrocode} % \end{macro} % % \subsection{Address label} % % \begin{macro}{\samolepka} % \begin{macrocode} \def\samolepka{{\unitlength=1cm \begin{center}\begin{picture}(14,5)(-7,-2.5) \put(0,0){\oval(14,5){\hfill}} \end{picture}\end{center} }} % \end{macrocode} % \end{macro} % % \subsection{Postamble} % % \begin{macro}{\postamble} % \begin{macrocode} \def\postamble{\vfill \tableofcontents\vfill \samolepka\par\noindent \vfill\tiraz} % \end{macrocode} % \end{macro} % % \section{Initialization} % % \subsection{Words} % % \begin{macro}{\contentsname} % \begin{macro}{\figurename} % \begin{macro}{\tablename} % \begin{macro}{\seename} % This document class is for documents prepared in the English language. % To prepare a version for another language, various English words must % be replaced. All the English words that require replacement are % defined below in command names. % % \begin{macrocode} \newcommand\contentsname{Obsah} \newcommand\figurename{Obr\'azek} \newcommand\tablename{Tabulka} \newcommand\seename{viz} % \end{macrocode} % \end{macro} % \end{macro} % \end{macro} % \end{macro} % % \subsection{Date} % % \begin{macro}{\today} % This macro uses the \TeX\ primitives |\month|, |\day| and |\year| % to provide the date of the \LaTeX-run. % \begin{macrocode} \newcommand\today{\number\day. \ifcase\month\or ledna\or \'unora\or b\v rezna\or dubna\or kv\v etna\or \v cervna\or \v cervence\or srpna\or z\'a\v r\'\i\or \v r\'\ijna\or listopadu\or prosince\fi \space\number\year} % \end{macrocode} % \end{macro} % % \subsection{Two column mode} % % \begin{macro}{\columnsep} % This gives the distance between two columns in two column mode. % \begin{macrocode} \setlength\columnsep{5mm} % \end{macrocode} % \end{macro} % % \begin{macro}{\columnseprule} % This gives the width of the rule between two columns in two % column mode. We have no visible rule. % \begin{macrocode} \setlength\columnseprule{0\p@} % \end{macrocode} % \end{macro} % % \subsection{The page style} % We have \pstyle{plain} pages in the document classes article and % report unless the user specified otherwise. In the `book' % document class we use the page style \pstyle{headings} by % default. We use arabic pagenumbers. % \begin{macrocode} \pagestyle{plain} \pagenumbering{arabic} % Arabic page numbers % \end{macrocode} % % \subsection{Single or double sided printing} % % When the \Lopt{twocolumn} option was specified we call % |\twocolumn| to activate this mode. We try to make each column as % long as the others, but call |sloppy| to make our life easier. % \begin{macrocode} \twocolumn \sloppy \flushbottom \def\up#1\pu{\mbox{\protect{\kern-0.3em\raise.5ex\hbox{\scriptsize #1}}}} \def\down#1\nwod{\protect\raisebox{-1ex}[0pt][0pt]{\mbox{\scriptsize #1}}} \def\eq{\mbox{\kern-.1ex``\kern.1ex}} \newdimen\uv@z@vky % \changes{1.0.4}{1994/05/27}{\cmd\bq macro corrected (\cmd\break % and \cmd\leavevmode).} \def\bq{\leavevmode\setbox0=\hbox{% \setbox0=\hbox{\kern-.1ex''\kern.1ex}% \setbox1=\hbox{\kern-.1ex''\/\kern.1ex}% \uv@z@vky=\wd1\advance\uv@z@vky by -\wd0% \kern-\uv@z@vky\kern.1ex\raise-1.3ex\box0\kern-.1ex% \kern\uv@z@vky}\ht0=0pt\relax\dp0=0pt\box0\nobreak\hskip0pt \nobreak} \def\kurz{\em} \def\bold{\bf} \def\under{\em} \frenchspacing %% This should be set for Czech \czech \hyphenation{CLEAN SCAN UUCP BITNET EARN EUNET} \hbadness=3000 \vbadness=3000 \sloppy % \end{macrocode} % Normally we call |\onecolumn| to initiate typesetting in one % column. % \section{Colophon information and Table of Contents} % % \changes{1.0.1}{1994/01/06}{Balancing added.} % \begin{macrocode} \newbox\Zaver \newbox\Obsah \newbox\Nalepka \newbox\Tiraz \newdimen\emptyspace \AtBeginDocument{\@th@@k}% \long\def\@th@@k{% \setbox\Obsah=\vbox{\hsize\textwidth\tableofcontents} \setbox\Nalepka=\vbox{\hsize\textwidth\samolepka\par} \setbox\Tiraz=\vbox{\hsize\textwidth\tiraz} \setbox\Zaver=\vbox{\hbox{\kern\oddsidemargin\vbox{\hsize\textwidth \vspace*{0.5\footskip} \copy\Obsah \vspace{0.3\footskip}%\vfill \copy\Nalepka \vspace{0.2\footskip}%\vfill \copy\Tiraz }}}% \global\emptyspace=\ht\Zaver \if@balance \ifdim\difference>0pt\global\advance\emptyspace\difference \else\global\difference=0pt\fi \else\global\difference=0pt% \fi }%% AtBeginDocument \newif\ifworked \newbox\Page \let\Shipout=\shipout \let\Output=\output \def\shipout {\global\workedtrue \global\setbox\expandafter\Page} \newtoks\output \output=\expandafter{\the\Output} \def\ann@unce{\typeout{*** Tiraz bude na strane \lastpage.}% \global\let\ann@unce\relax} \newlength\p@geg@al \newlength\p@get@tal \newlength\r@zdil \let\extrasp@ce\relax \AtEndDocument{\endgraf \gdef\extrasp@ce {\if@firstcolumn \advance\p@get@tal-\p@geg@al \advance\p@geg@al-\p@get@tal \immediate\write\@auxout {\@percentchar Rozdil1: \the\p@geg@al}% \else \advance\p@geg@al-\p@get@tal \immediate\write\@auxout {\@percentchar Rozdil2: \the\p@geg@al}% \fi \global\r@zdil\p@geg@al \global\advance\r@zdil-0.51\baselineskip \ifnum\r@zdil>\baselineskip \global\divide\r@zdil by 2 \fi \immediate\write\@auxout {\@percentchar Difference: \the\difference}% \immediate\write\@auxout {\@percentchar Vysledna korekce: \the\r@zdil}% \typeout{*** Priste bych pohnul o \the\r@zdil}% \advance\r@zdil\difference \ifnum\count0=\lastpage\else\r@zdil=0pt\fi \immediate\write\@auxout {\string\global\string\difference=\the\r@zdil\string\relax} \global\let\extrasp@ce\relax}} \Output={\ifnum\count0=1\@ifundefined{lastpage}% {\gdef\lastpage{9999}\global\let\ann@unce\relax}% {\ann@unce}% \fi \p@geg@al=\pagegoal %$$$% \p@get@tal=\pagetotal %$$$% \ifnum\p@geg@al>\p@get@tal \extrasp@ce \fi %$$$% \the\output \ifworked \advance\count0 by -1 % \changes{1.1.1}{1994/09/04}{Updated for LaTeX2e <1994/06/01>} \let\protect\@unexpandable@protect \ifnum \count0=\lastpage \Shipout\vbox{\let\protect\relax \aftergroup\let \aftergroup\protect \aftergroup\relax \box\Page \vskip-\footskip \vbox{\hbox{\kern\oddsidemargin\vbox to \emptyspace{\hsize\textwidth \vspace*{\fill} \copy\Obsah \vfill \copy\Nalepka \vfill \copy\Tiraz}}}% }% \else \Shipout\vbox{\let\protect\relax \aftergroup\let \aftergroup\protect \aftergroup\relax \box\Page}% \fi \immediate\write\@auxout {\string\gdef\string\lastpage{\the\count0}} \ifnum\count0=\lastpage \global\advance\textheight\emptyspace \global\@colht\textheight \global\@colroom\textheight \global\advance\vsize\emptyspace \fi \advance\count0 by 1 \ifnum\count0=\lastpage\thispagestyle{empty}% \global\advance\textheight-\emptyspace \global\@colht\textheight \global\@colroom\textheight \global\advance\vsize-\emptyspace \fi \fi \global\workedfalse } \topskip\baselineskip % \end{macrocode} % % End each file with |\endinput|. % \begin{macrocode} \endinput % \end{macrocode} % % \Finale % \endinput