sws.sty 1.44 KB
Newer Older
Tilman Steinweg's avatar
Tilman Steinweg committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70
%this file is sws.sty
\setlength{\parskip}{1.5mm}
\setlength{\parindent}{0mm}
\renewcommand{\arraystretch}{1.5}

\newcommand{\TTBS}{\symbol{92}}%teletype backslash
\newcommand{\TTLB}{\symbol{123}}%teletype left brace
\newcommand{\TTRB}{\symbol{125}}%teletype right brace

\newcommand{\MOTTO}[1]{
\begin{flushright}
\emph{#1}
\end{flushright}
}

\newcommand{\EPS}[3]{
\begin{figure}[!hbt]
\begin{center}
\vspace{3ex}
\includegraphics [width=#2]{#1}
\caption{\label{#1}\small #3}
\end{center}
\end{figure}
}

\newcommand{\FIG}[1]{Fig.~\ref{#1}}

\newcommand{\MB}[1]{{\mbox{\mathversion{bold}$#1$}}}

\newcommand{\EQ}[2]{
    \begin{equation}
	\label{#1}
        #2
    \end{equation}
}

\newcommand{\ER}[1]{(\ref{#1})}

\newcommand{\TXT}[1]{\;\;\mbox{#1}\;\;}

\newcommand{\EXP}[1]{\,e \mbox{\raisebox{1.3ex}{$\,#1$}}\,}

\newcommand{\SUB}[1]{\mbox{$_\textrm{#1}$}}


% Aenderung der Numerierung von arabischen auf rmische
% Schriftzeichen:
% Code by Heiko Oberdiek
\makeatletter
% Roman counter
\newcounter{roem}
\renewcommand{\theroem}{\roman{roem}}

% save the original counter
\newcommand{\c@org@eq}{}
\let\c@org@eq\c@equation
\newcommand{\org@theeq}{}
\let\org@theeq\theequation

% setroem sets roman counting
\newcommand{\setroem}{
\let\c@equation\c@roem
\let\theequation\theroem}

% setroem sets roman counting
\newcommand{\setarab}{
\let\c@equation\c@org@eq
\let\theequation\org@theeq}

\makeatother