Subversion Repositories svnkaklik

Rev

Details | Last modification | View Log

Rev Author Line No. Line
1065 kaklik 1
\special{papersize=210mm,297mm}
2
\textwidth=170mm
3
\topmargin= -13.4mm
4
\headheight=10mm \headsep=8mm
5
\footskip=30pt 
6
\textheight 690pt
7
\oddsidemargin  -5.4mm
8
\evensidemargin -10.4mm
9
\fboxsep=0pt
10
 
11
\def\obrznak{:}
12
\long\def\@makecaption#1#2{%
13
  \vskip\abovecaptionskip
14
  \sbox\@tempboxa{#1\obrznak{} #2}%
15
  \ifdim \wd\@tempboxa >\hsize
16
    #1\obrznak{} #2\par
17
  \else
18
    \global \@minipagefalse
19
    \hb@xt@\hsize{\hfil\box\@tempboxa\hfil}%
20
  \fi
21
  \vskip\belowcaptionskip} 
22
 
23
\def\vycentruj{\afterassignment\uvnitrboxu \setbox0=}
24
\def\uvnitrboxu{\aftergroup\usadbox}
25
\def\usadbox{\par \dimen0=\ht0 \advance \dimen0 by \dp0
26
    \divide \dimen0 by \baselineskip
27
    \multiply \dimen0 by \baselineskip
28
    \advance\dimen0 by \baselineskip
29
    \vbox to 0pt{\kern-8.5pt \vbox to\dimen0{\vfil\box0\vfil}\vss}
30
    \nobreak \advance\dimen0 by-2\baselineskip
31
    \vskip \dimen0 \hbox{}}
32
 
33
 
34
\renewcommand\section{\@startsection {section}{1}{\z@}%
35
                                   {-3.5ex \@plus -1ex \@minus -.2ex}%
36
                                   {2.3ex \@plus.2ex}%
37
                                   {\lev\normalfont\Large\bfseries}}
38
\renewcommand\subsection{\@startsection{subsection}{2}{\z@}%
39
                                     {-3.25ex\@plus -1ex \@minus -.2ex}%
40
                                     {1.5ex \@plus .2ex}%
41
                                     {\lev\normalfont\large\bfseries}} 
42
\renewcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}%
43
                                     {-3.25ex\@plus -1ex \@minus -.2ex}%
44
                                     {1.5ex \@plus .2ex}%
45
                                     {\lev\normalfont\normalsize\bfseries}} 
46
 
47
\def\lev{\rightskip 0pt plus 1fill{}}
48
\def\li{\discretionary{-}{-li}{-li}{}}
49
\def\divis{\discretionary{-}{-}{-}{}}
50
\def\vmez#1#2{\vrule height#1pt depth#2pt width0pt}
51
 
52
 
53
 
54
\def\rocnik{YY}
55
\def\cislo{X}
56
\def\rok{ZZZZ}
57
 
58
\columnsep=0.9cm %1cm
59
 
60
\def\headrulewidth{0.6pt}
61
\headwidth=\textwidth
62
\lhead{\ifodd \thepage \else {\small\sc Acta Polytechnica Vol.~\rocnik{} No.~\cislo/\rok}\fi} 
63
\chead{} 
64
\rhead{\ifodd \thepage {\small\sc Acta Polytechnica Vol.~\rocnik{} No.~\cislo/\rok}\fi} 
65
\lfoot{\ifodd \thepage \else {\small\rm \thepage}\fi}
66
\cfoot{} 
67
\rfoot{\ifodd \thepage {\small\rm \thepage}\fi} 
68
\parskip=0pt
69
 
70
\def\title#1{\def\titulpom{#1}}
71
\def\author#1{\def\authorpom{#1}}
72
\def\work#1{$^{#1}$}
73
\def\workplace#1{\def\workplacepom{#1}}
74
\def\next{\\$^\theprace$&}
75
\def\mainauthor#1{\def\mainauthorpom{#1}}
76
 
77
\newcounter{prace}
78
\setcounter{prace}{0}
79
\def\maketitle{%
80
\begin{center}
81
{\LARGE\sf
82
 
83
\titulpom
84
 
85
}
86
 
87
\bigskip\bigskip
88
{\large
89
 
90
\authorpom
91
 
92
}
93
\end{center}
94
 
95
{\small
96
\noindent
97
{\it \begin{tabular}{@{\addtocounter{prace}{1}}l@{}p{479pt}@{}}
98
$^\theprace$& 
99
\workplacepom
100
\end{tabular}}
101
 
102
\medskip
103
\noindent
104
{Corresponding author:} {\sf \mainauthorpom}
105
}
106
 
107
}
108
 
109
 
110
\def\keywords#1{\par\medskip\medskip\noindent{\small{\bf Keywords:} #1.}
111
\par\medskip
112
\noindent\rule{\textwidth}{0.5pt}}
113
\def\nokeywords{\par\medskip
114
\noindent\rule{\textwidth}{0.5pt}}
115
 
116
\def\thanks{\subsection*{Acknowledgement}}
117
 
118
 
119
\renewcommand{\arraystretch}{1.3}
120
%nastaveni poctu obrazku
121
\setcounter{topnumber}{5}
122
\def\topfraction{1}
123
\setcounter{bottomnumber}{5}
124
\def\bottomfraction{1}
125
\setcounter{totalnumber}{10}
126
\def\textfraction{0}
127
\def\floatpagefraction{.7}
128
 
129
\newenvironment{myfigure}{\ifhmode \par \fi\bigskip\parindent=0pt
130
\edef\@captype{figure}}{\ifhmode \par \fi\bigskip}
131
\newenvironment{mytable}{\ifhmode \par \fi\medskip\parindent=0pt
132
\edef\@captype{table}}{\ifhmode \par \fi\bigskip}
133
 
134
\renewenvironment{abstract}{\par\bigskip\bigskip
135
 
136
\centerline{{\bf Abstract}}
137
 
138
\bgroup\small\medskip\noindent}{\egroup}
139
 
140
 
141
 
142
\endinput
143