Browse code

add package to the repository

msa


git-svn-id: file:///home/git/hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/msa@102253 bc3139a8-67e5-0310-9ffc-ced21a209358

Sonali Arora authored on 10/04/2015 00:12:33
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,59 @@
1
+\def\ps@headings{%
2
+      \let\@oddfoot\@empty\let\@evenfoot\@empty
3
+      \def\@evenhead{\underline{\makebox[\textwidth][l]{%
4
+          \sffamily\thepage\hfill\leftmark}}}%
5
+      \def\@oddhead{\underline{\makebox[\textwidth][l]{%
6
+          \sffamily\rightmark\hfill\thepage}}}%
7
+      \let\@mkboth\markboth
8
+    \def\sectionmark##1{%
9
+      \markboth {
10
+        \ifnum \c@secnumdepth >\z@
11
+          \thesection\quad
12
+        \fi
13
+        ##1}{
14
+        \ifnum \c@secnumdepth >\z@
15
+          \thesection\quad
16
+        \fi
17
+        ##1}}%
18
+    \def\subsectionmark##1{}}
19
+\renewenvironment{abstract}{\section*{\abstractname}%
20
+    \@mkboth{\abstractname}{\abstractname}}{}
21
+\newenvironment{acknowledgments}{\section*{Acknowledgments}%
22
+    \@mkboth{Acknowledgments}{Acknowledgments}}{}
23
+\renewcommand\tableofcontents{%
24
+    \section*{\contentsname
25
+        \@mkboth{\contentsname}{\contentsname}}%
26
+    \@starttoc{toc}%
27
+    }
28
+\renewcommand\listoffigures{%
29
+    \section*{\listfigurename}%
30
+      \@mkboth{\listfigurename}%
31
+              {\listfigurename}%
32
+    \@starttoc{lof}%
33
+    }
34
+\renewcommand\listoftables{%
35
+    \section*{\listtablename}%
36
+      \@mkboth{\listtablename}%
37
+         {\listtablename}%
38
+    \@starttoc{lot}%
39
+    }
40
+\renewenvironment{thebibliography}[1]
41
+     {\section*{\refname}%
42
+      \@mkboth{\refname}{\refname}%
43
+      \list{\@biblabel{\@arabic\c@enumiv}}%
44
+           {\settowidth\labelwidth{\@biblabel{#1}}%
45
+            \leftmargin\labelwidth
46
+            \advance\leftmargin\labelsep
47
+            \@openbib@code
48
+            \usecounter{enumiv}%
49
+            \let\p@enumiv\@empty
50
+            \renewcommand\theenumiv{\@arabic\c@enumiv}}%
51
+      \sloppy
52
+      \clubpenalty4000
53
+      \@clubpenalty \clubpenalty
54
+      \widowpenalty4000%
55
+      \sfcode`\.\@m}
56
+     {\def\@noitemerr
57
+       {\@latex@warning{Empty `thebibliography' environment}}%
58
+      \endlist}
59
+\endinput