summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/imac/imac.sty
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/imac/imac.sty')
-rw-r--r--macros/latex/contrib/imac/imac.sty131
1 files changed, 131 insertions, 0 deletions
diff --git a/macros/latex/contrib/imac/imac.sty b/macros/latex/contrib/imac/imac.sty
new file mode 100644
index 0000000000..412ce38f00
--- /dev/null
+++ b/macros/latex/contrib/imac/imac.sty
@@ -0,0 +1,131 @@
+% This is imac.sty for producing IMAC-format (International
+% Modal Analysis Conference) articles using LaTeX2e
+% Supported by Joseph C. Slater
+% jslater@cs.wright.edu
+% http://www.cs.wright.edu/people/faculty/jslater
+%
+% Copyright (C) 1999 Joseph C. Slater
+%
+% This program is free software; you can redistribute it and/or
+% modify it under the terms of the GNU General Public License
+% as published by the Free Software Foundation; either version 2
+% of the License, or (at your option) any later version.
+%
+% This program is distributed in the hope that it will be useful,
+% but WITHOUT ANY WARRANTY; without even the implied warranty of
+% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+% GNU General Public License for more details.
+%
+%
+% Modified from the ASME style
+% written by Srinivas S. Sripada
+% Research Fellow,
+% Dept. of Mechanical Engg. & Applied Mechanics
+% University of Pennsylvania
+% Philadelphia
+%
+%%%
+%%% Version 1.01, 5/18/99
+%%%
+
+\NeedsTeXFormat{LaTeX2e}
+
+%%%setup 9pt font as the default size
+%%% I really don't understand wny some of this works, and the other
+%%% commands seem to do nothing, but I'm leaving them in anyway.
+\renewcommand{\familydefault}{cmss}
+\renewcommand{\rmdefault}{cmss}
+\renewcommand{\sfdefault}{cmss}
+\renewcommand{\normalsize}{\fontsize{9pt}{11}\normalfont\sffamily}
+%\renewcommand{\normalfont}{cmss}
+
+\font\elevenHelveticaBf=cmssbx10 at 11truept
+\font\tenHelveticaBf=cmssbx10 at 10truept
+\font\tenHelvetica=cmss10 at 10truept
+\font\nineHelveticaBf=cmssbx10 at 9truept
+\font\nineHelvetica=cmss10 at 9truept
+\font\eightHelvetica=cmss10 at 8truept
+
+%% define the section headings
+\setcounter{secnumdepth}{1}
+
+\renewcommand{\section}{\@startsection
+{section}{0}{0 in}{1\baselineskip}{.001 em}{\nineHelveticaBf\uppercase}}
+%\renewcommand{\section}[1]{\Section{\uppercase{#1}}}
+
+
+\renewcommand{\subsection}{\@startsection
+{subsection}{1}{0in}{1\baselineskip}{0.001 em}{\nineHelveticaBf}}
+%\renewcommand{\subsection}[1]{\Subsection{#1}}
+
+
+\renewcommand{\subsubsection}{\@startsection
+{subsubsection}{0}{0 in}{1\baselineskip}{.001 em}{\nineHelveticaBf\uppercase}}
+%\renewcommand{\subsubsection}[1]{\Subsubsection{\uppercase{#1}}}
+
+
+%% define headings for Bibliography listing, figures,tables,programs
+
+\renewcommand{\refname}{\noindent {\nineHelveticaBf REFERENCES}}
+\renewcommand{\abstractname}{\noindent {\nineHelveticaBf ABSTRACT}}
+\renewcommand{\@makecaption}[2]{\vspace{10pt}%
+
+% the following 3 lines give problems in many tex flavors so let's comment
+% it. It's useful only if captions don't fit on one line.
+%\newsavebox{\tempbox}\sbox{\tempbox}{\nineHelveticaBf #1: #2}%
+%\ifthenelse{\lengthtest{\wd\tempbox > \linewidth}}%
+%{ #1: #2\par}% then code
+{\begin{center}{\nineHelveticaBf #1: #2}\end{center}}% else code
+}
+
+\def\tablename{\nineHelveticaBf TABLE}
+\def\Programname{\nineHelveticaBf PROGRAM}
+
+
+\setlength{\topmargin}{0in}
+\setlength{\headheight}{0in}
+\setlength{\headsep}{0in}
+\setlength{\textheight}{9in}
+\setlength{\oddsidemargin}{-0.25 in}
+\setlength{\textwidth}{7.0in}
+\setlength{\columnsep}{.25in}
+\setlength{\footskip}{0in}
+%\setlength{\footheight}{0in}
+\setlength{\itemsep}{0pt}
+\setlength{\parskip}{.1875 in}
+\setlength{\parindent}{0. in}%{1pc}
+\renewcommand{\textfraction}{0.2}
+\renewcommand{\floatsep}{18pt}
+\renewcommand{\textfloatsep}{18pt}
+\renewcommand{\intextsep}{.1875 in}
+\renewcommand{\floatpagefraction}{.7}
+\renewcommand{\dblfloatsep}{18pt}
+\renewcommand{\dbltextfloatsep}{18pt}
+\renewcommand{\dblfloatpagefraction}{0.8}
+
+
+\usepackage{cite,citesort}
+\usepackage{ifthen,amsmath}
+
+
+% Defines citations to be bracketed superscript.
+
+\renewcommand{\@cite}[2]{{$^{[#1]}$\ifthenelse{\boolean{@tempswa}}{,#2}{}}}
+
+% We don't want any headers or footers. IMAC will put on what they like.
+\pagestyle{empty}
+
+% The following prevents the maketitle from putting a page number on
+% page 1
+\let\ps@plain=\ps@empty
+
+\newcommand{\vect}[1]{\ensuremath{\left\{#1\right\}}}
+\newcommand{\matr}[1]{\ensuremath{\left[#1\right]}}
+\newcommand{\elem}[1]{\ensuremath{\left(#1\right)}}
+\newcommand{\dmat}[1]{\ensuremath{[\hbox{\textsf{\`}}#1\raisebox{-5pt}{\hbox{\textsf{\`}}}]}}
+\newcommand{\pnorm}[1]{\ensuremath{\lVert#1\rVert_{p}}}
+
+\endinput
+
+
+