From 07195949726c1814aaf986dfe993c777f324d0dc Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 12 Jan 2006 23:51:40 +0000 Subject: asaetr git-svn-id: svn://tug.org/texlive/trunk@679 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/asaetr/asaesub.sty | 54 ++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 Master/texmf-dist/tex/latex/asaetr/asaesub.sty (limited to 'Master/texmf-dist/tex/latex/asaetr/asaesub.sty') diff --git a/Master/texmf-dist/tex/latex/asaetr/asaesub.sty b/Master/texmf-dist/tex/latex/asaetr/asaesub.sty new file mode 100644 index 00000000000..e26ce823a62 --- /dev/null +++ b/Master/texmf-dist/tex/latex/asaetr/asaesub.sty @@ -0,0 +1,54 @@ +% asaesub.sty 12-Feb-92 +% James Darrell McCauley +% Department of Agricultural Engineering +% Texas A&M University +% College Station, TX 77843-2117 +% jdm5548@diamond.tamu.edu +% jdm5548@tamagen.bitnet +% Usage: \documentstyle[asaesub]{asaetr} +% Function: make document suitable for paper submission to ASAE + +% change to single column +\onecolumn + +% change to double spacing +%\input doublespace.sty +\def\baselinestretch{2} + +% get rid of dropped letters +\def\drop#1{#1} +% name and page number in top-right of each page (except first) +\pagestyle{myheadings} +\gdef\@firstauthor{} +\def\firstauthor#1{\gdef\@firstauthor{#1}} +\markboth{\hfill{\rm \@firstauthor,}}{\hfill{\rm \@firstauthor,}} +%\markboth{\hfill\rm McCauley\ }{\hfill\rm McCauley\ } + +% don't double space tables and figures (stolen from doublespace.sty) +\def\@xfloat#1[#2]{\ifhmode \@bsphack\@floatpenalty -\@Mii\else + \@floatpenalty-\@Miii\fi\def\@captype{#1}\ifinner + \@parmoderr\@floatpenalty\z@ + \else\@next\@currbox\@freelist{\@tempcnta\csname ftype@#1\endcsname + \multiply\@tempcnta\@xxxii\advance\@tempcnta\sixt@@n + \@tfor \@tempa :=#2\do + {\if\@tempa h\advance\@tempcnta \@ne\fi + \if\@tempa t\advance\@tempcnta \tw@\fi + \if\@tempa b\advance\@tempcnta 4\relax\fi + \if\@tempa p\advance\@tempcnta 8\relax\fi + }\global\count\@currbox\@tempcnta}\@fltovf\fi + \global\setbox\@currbox\vbox\bgroup + \def\baselinestretch{1}\small\normalsize + \boxmaxdepth\z@ + \hsize\columnwidth \@parboxrestore} +\long\def\@footnotetext#1{\insert\footins{\def\baselinestretch{1}\footnotesize + \interlinepenalty\interfootnotelinepenalty + \splittopskip\footnotesep + \splitmaxdepth \dp\strutbox \floatingpenalty \@MM + \hsize\columnwidth \@parboxrestore + \edef\@currentlabel{\csname p@footnote\endcsname\@thefnmark}\@makefntext + {\rule{\z@}{\footnotesep}\ignorespaces + #1\strut}}} + + +% try to put floats on a page by themselves +\def\floatpagefraction{.01} -- cgit v1.2.3