[BACK]Return to behringer1.sty CVS log [TXT][DIR] Up to [local] / OpenXM / doc / calc2000p

Annotation of OpenXM/doc/calc2000p/behringer1.sty, Revision 1.1.1.1

1.1       noro        1: % FILENAME: behringer1.sty
                      2: % Physical page layout
                      3: \setlength\topmargin{0.1in}
                      4:  %\setlength\oddsidemargin{-0.14in}
                      5: %\setlength\evensidemargin{-0.14in}
                      6: \setlength\textheight{41pc}
                      7:  \setlength\textwidth{27pc}
                      8: %\setlength\columnsep{0.29in}
                      9:  \setlength\headheight{12pt}
                     10:  \setlength\headsep{14pt}
                     11: \pagestyle{myheadings}
                     12: \flushbottom
                     13:
                     14:
                     15:
                     16:
                     17: \def\@makechapterhead#1{%
                     18:   %\vspace*{50\p@}%
                     19:   {\parindent \z@ \raggedright \normalfont
                     20:     \ifnum \c@secnumdepth >\m@ne
                     21:       \if@mainmatter
                     22:         \huge\bfseries \@chapapp\space \thechapter
                     23:         \par\nobreak
                     24:         \vskip 20\p@
                     25:       \fi
                     26:     \fi
                     27:     \interlinepenalty\@M
                     28:     \huge \bfseries #1\par\nobreak
                     29:     \vskip 40\p@
                     30:   }}
                     31: \def\@schapter#1{\if@twocolumn
                     32:                    \@topnewpage[\@makeschapterhead{#1}]%
                     33:                  \else
                     34:                    \@makeschapterhead{#1}%
                     35:                    \@afterheading
                     36: \addcontentsline{toc}{chapter}{#1}
                     37:                  \fi}
                     38: \def\@makeschapterhead#1{%
                     39:  % \vspace*{50\p@}%
                     40:   {\parindent \z@ \raggedright
                     41:     \normalfont
                     42:     \interlinepenalty\@M
                     43:     \huge \bfseries  #1\par\nobreak
                     44:     \vskip 10\p@
                     45:   }}
                     46:
                     47: \renewcommand\part{%
                     48:   \if@openright
                     49:     \cleardoublepage
                     50:   \else
                     51:     \clearpage
                     52:   \fi
                     53:   \thispagestyle{empty}%
                     54:   \if@twocolumn
                     55:     \onecolumn
                     56:     \@tempswatrue
                     57:   \else
                     58:     \@tempswafalse
                     59:   \fi
                     60:   \null\vfil
                     61:   \secdef\@part\@spart}
                     62:
                     63:
                     64: \def\@part[#1]#2#3{%
                     65:     \ifnum \c@secnumdepth >-2\relax
                     66:       \refstepcounter{part}%
                     67:       \addcontentsline{toc}{part}{\thepart\hspace{1em}#1}%
                     68:     \else
                     69:       \addcontentsline{toc}{part}{#1}%
                     70:     \fi
                     71:     \markboth{}{}%
                     72: \vspace*{-11.5pc}
                     73:     {\centering
                     74:      \interlinepenalty \@M
                     75:      \normalfont
                     76:      \ifnum \c@secnumdepth >-2\relax
                     77:        \huge\bfseries \partname~\thepart
                     78:        \par
                     79:        \vskip 20\p@
                     80:      \fi
                     81:     \Huge \bfseries  #2\par}%
                     82: %\vskip 40\p@
                     83: \vspace*{8pc}
                     84: \normalsize \noindent {\it #3} \par
                     85:     \@endpart}
                     86: \def\@spart#1{%
                     87:     {\centering
                     88:      \interlinepenalty \@M
                     89:      \normalfont
                     90:      \Huge \bfseries #1\par}%
                     91:     \@endpart}
                     92: \def\@endpart{\vfil\newpage
                     93:               \if@twoside
                     94:                 \null
                     95:                 \thispagestyle{empty}%
                     96:                 \newpage
                     97:               \fi
                     98:               \if@tempswa
                     99:                 \twocolumn
                    100:               \fi}
                    101:
                    102: \newcommand\authors[1]{
                    103: {\noindent \large  #1}
                    104: }
                    105: \renewcommand\bibname{References}
                    106: \newcommand\abstract[1]{
                    107: \vskip 40\p@
                    108: \noindent {\bfseries Abstract.} {\itshape #1}}
                    109:
                    110:
                    111: \renewcommand\section{\@startsection {section}{1}{\z@}%
                    112:                                    {-3.5ex \@plus -1ex \@minus -.2ex}%
                    113:                                    {2.3ex \@plus.2ex}%
                    114:                                    {\normalfont\large\bfseries}}
                    115: \renewcommand\subsection{\@startsection{subsection}{2}{\z@}%
                    116:                                      {-3.25ex\@plus -1ex \@minus -.2ex}%
                    117:                                      {1.5ex \@plus .2ex}%
                    118:                                      {\normalfont\large}}
                    119: \renewcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}%
                    120:                                      {-3.25ex\@plus -1ex \@minus -.2ex}%
                    121:                                      {1.5ex \@plus .2ex}%
                    122:                                      {\normalfont\normalsize\bfseries}}
                    123: \renewcommand\paragraph{\@startsection{paragraph}{4}{\z@}%
                    124:                                     {3.25ex \@plus1ex \@minus.2ex}%
                    125:                                     {-1em}%
                    126:                                     {\normalfont\normalsize\bfseries}}
                    127: %\renewcommand\subparagraph{\@startsection{subparagraph}{5}{\parindent}%
                    128:                                %        {3.25ex \@plus1ex \@minus .2ex}%
                    129:                                 %       {-1em}%
                    130:
                    131: \@addtoreset {equation}{chapter}
                    132: \renewcommand\theequation
                    133:  {\ifnum \c@chapter>\z@ \fi \@arabic\c@equation}
                    134: %\newcounter{figure}[chapter]
                    135: \renewcommand \thefigure
                    136:      {\ifnum \c@chapter>\z@ \fi \@arabic\c@figure}
                    137: \renewcommand\thesection {\@arabic\c@section}
                    138: \renewcommand\thesubsection   {\thesection.\@arabic\c@subsection}
                    139: \renewcommand\thesubsubsection{\thesubsection .\@arabic\c@subsubsection                                     {\normalfont\normalsize\bfseries}}
                    140: \newenvironment{thebibliographys}[1]
                    141:      {\section*{\bibname
                    142:         \@mkboth{\bibname}{\bibname}}%
                    143:       \list{\@biblabel{\@arabic\c@enumiv}}%
                    144:            {\settowidth\labelwidth{\@biblabel{#1}}%
                    145:             \leftmargin\labelwidth
                    146:             \advance\leftmargin\labelsep
                    147:             \@openbib@code
                    148:             \usecounter{enumiv}%
                    149:             \let\p@enumiv\@empty
                    150:             \renewcommand\theenumiv{\@arabic\c@enumiv}}%
                    151:       \sloppy
                    152:       \clubpenalty4000
                    153:       \@clubpenalty \clubpenalty
                    154:       \widowpenalty4000%
                    155:       \sfcode`\.\@m}
                    156:      {\def\@noitemerr
                    157:        {\@latex@warning{Empty `thebibliographys' environment}}%
                    158:       \endlist}
                    159: \renewcommand\newblock{\hskip .11em\@plus.33em\@minus.07em}
                    160: \let\@openbib@code\@empty
                    161:
                    162: \def\ps@myheadings{%
                    163:     \let\@oddfoot\@empty\let\@evenfoot\@empty
                    164:     \def\@evenhead{\small \thepage\hfil\slshape\leftmark}%
                    165:     \def\@oddhead{\small {\slshape\rightmark}\hfil\thepage}%
                    166:     \let\@mkboth\@gobbletwo
                    167:     \let\chaptermark\@gobble
                    168:     \let\sectionmark\@gobble
                    169:     }
                    170:
                    171:
                    172: \long\def\@makecaption#1#2{%
                    173:   \vskip\abovecaptionskip
                    174:   \sbox\@tempboxa{\small {\bfseries #1.} #2}%
                    175:   \ifdim \wd\@tempboxa >\hsize
                    176:   {\small \bfseries  #1.} \small #2\par
                    177:   \else
                    178:     \global \@minipagefalse
                    179:     \hb@xt@\hsize{\hfil\box\@tempboxa\hfil}%
                    180:   \fi
                    181:   \vskip\belowcaptionskip}
                    182: %\newcounter{figure}[chapter]
                    183: \renewcommand \thefigure
                    184:      {\ifnum \c@chapter>\z@ \fi \@arabic\c@figure}
                    185: \setlength\abovecaptionskip{5\p@}
                    186: \setlength\belowcaptionskip{0\p@}
                    187:
                    188:
                    189: \def\@citex[#1]#2{\if@filesw\immediate\write\@auxout{\string\citation{#2}}\fi
                    190: \def\@citea{}\@cite{\@for\@citeb:=#2\do
                    191: {\@citea\def\@citea{,\penalty\@m\ }\@ifundefined
                    192:        {b@\@citeb}{{\bf ?}\@warning
                    193:        {Citation `\@citeb' on page \thepage \space undefined}}%
                    194: {\csname b@\@citeb\endcsname}}}{#1}}
                    195: \def\@cite#1#2{[{\normalsize #1\if@tempswa , \rm #2\fi}]}
                    196:
                    197: \def\footcite{\@ifnextchar [{\@footcitea}{\@footcite}}
                    198:
                    199: \def\@footcitea[#1]#2{{\let\@etalbox=\@etalf\def\@cite##1##2{[{\scriptsize ##1\if@tempswa , \rm
                    200: ##2\fi}]}\cite[#1]{#2}}}
                    201: \def\@footcite#1{{\let\@etalbox=\@etalf\def\@cite##1##2{[{\scriptsize ##1\if@tempswa , \rm ##2\fi}]}\cite{#1}}}
                    202:
                    203: \def\smallcite{\@ifnextchar [{\@smallcitea}{\@smallcite}}
                    204: \def\@smallcitea[#1]#2{{\let\@etalbox=\@etals\def\@cite##1##2{[{\footnotesize ##1\if@tempswa ,
                    205: \rm ##2\fi}]}\cite[#1]{#2}}}
                    206: \def\@smallcite#1{{\let\@etalbox=\@etals\def\@cite##1##2{[{\footnotesize ##1\if@tempswa , \rm ##2\fi}]}\cite{#1}}}
                    207: %
                    208: % if the bibliography section is footnotesize, make the
                    209: % labels be footnote size too.
                    210: \def\@biblabel#1{[{\small #1}]\hfill}
                    211: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
                    212: % end of citation definitions
                    213: %%%%
                    214:

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>