Browse code

Minor corrections and extensions (see inst/NEWS); version number bumped to 1.3.6

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

Ulrich Bodenhofer authored on 18/04/2016 15:12:00
Showing 1 changed files
... ...
@@ -143,6 +143,7 @@ Institute of Bioinformatics\\
143 143
 Johannes Kepler University Linz\\
144 144
 A-4040 Linz, Austria
145 145
 \end{tabular}}}
146
+\put(9.5,0.4){\makebox(0,0)[cb]{\includegraphics[height=0.8cm]{JKU_EN_noName}}}
146 147
 \put(19,0){\makebox(0,0)[rb]{\fontfamily{phv}\normalsize\begin{tabular}[b]{r}
147 148
 Tel. +43 732 2468 4520\\
148 149
 Fax +43 732 2468 4539\\
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,328 @@
1
+%
2
+%
3
+% BIOINF document class
4
+%
5
+% last revision 2010-02-15 by Ulrich Bodenhofer
6
+%
7
+%
8
+\NeedsTeXFormat{LaTeX2e}[1995/12/01]
9
+
10
+\ProvidesClass{bioinf}[2010/02/15]
11
+
12
+\def\bioinf@basisclass{article}
13
+
14
+\newif\ifbasisclassdefined
15
+\basisclassdefinedfalse
16
+
17
+%
18
+% declare options for three basis classes
19
+%
20
+\DeclareOption{article}{\ifbasisclassdefined
21
+\ClassError{bioinf}{You may only supply one basis class.}{Remove the `article' option}
22
+\fi
23
+\def\bioinf@basisclass{article}\basisclassdefinedtrue}
24
+
25
+\DeclareOption{report}{\ifbasisclassdefined
26
+\ClassError{bioinf}{You may only supply one basis class.}{Remove the `report' option}
27
+\fi
28
+\def\bioinf@basisclass{report}\basisclassdefinedtrue}
29
+
30
+\DeclareOption{book}{\ifbasisclassdefined
31
+\ClassError{bioinf}{You may only supply one basis class.}{Remove the `book' option}
32
+\fi
33
+\def\bioinf@basisclass{book}\basisclassdefinedtrue}
34
+
35
+%
36
+% forward all other options to document class article
37
+%
38
+\DeclareOption*{{\ClassError{bioinf}{Option `\CurrentOption' not supported
39
+for BIOINF document class.}{Remove the `\CurrentOption' option}}}
40
+
41
+%
42
+% process options
43
+%
44
+\ProcessOptions\relax
45
+
46
+%
47
+% load document class article (always with options a4paper and titlepage)
48
+%
49
+\LoadClass[a4paper,11pt,twoside]{\bioinf@basisclass}
50
+
51
+\typeout{=============================================================}%
52
+\typeout{BIOINF document class loaded with basis class '\bioinf@basisclass'}%
53
+\typeout{=============================================================}%
54
+
55
+%
56
+% font customizations
57
+%
58
+\renewcommand{\encodingdefault}{T1}
59
+\renewcommand{\rmdefault}{ptm}
60
+\renewcommand{\sfdefault}{phv}
61
+\renewcommand{\ttdefault}{cmtt}
62
+\fontencoding{T1}\selectfont
63
+
64
+%
65
+% customization of item marks
66
+%
67
+\renewcommand{\labelitemi}{\rule[0.2ex]{0.8ex}{0.8ex}}
68
+\renewcommand{\labelitemii}{$\m@th\bullet$}
69
+
70
+%
71
+% include of additional packages
72
+%
73
+\RequirePackage{color}
74
+\RequirePackage{graphicx}
75
+\RequirePackage{ifthen}
76
+
77
+%
78
+% setup of page format
79
+%
80
+\setlength{\evensidemargin}{-1in}
81
+\setlength{\oddsidemargin}{-1in}
82
+\setlength{\topmargin}{-1in}
83
+\addtolength\evensidemargin{30mm}
84
+\addtolength\oddsidemargin{30mm}
85
+\addtolength\topmargin{28mm}
86
+\setlength{\textwidth}{150mm}
87
+\setlength{\headheight}{12pt}
88
+\setlength{\headsep}{8mm}
89
+\setlength{\textheight}{222mm}
90
+
91
+\ifx\pdfoutput\undefined
92
+\relax
93
+\else
94
+\setlength{\pdfpagewidth}{21cm}
95
+\setlength{\pdfpageheight}{29.7cm}
96
+\fi
97
+
98
+%
99
+% setup of customized headings style and listings
100
+%
101
+\input{bioinf-\bioinf@basisclass.txi}
102
+
103
+%
104
+% set page style
105
+%
106
+\pagestyle{headings}
107
+
108
+%
109
+% adjust parskip
110
+%
111
+\setlength{\parskip}{5pt plus 2pt minus 1pt}
112
+
113
+%
114
+% define colors and color commands
115
+%
116
+\definecolor{biowh}{rgb}{1.00,1.00,1.00}
117
+\definecolor{biobl}{rgb}{0.00,0.00,0.00}
118
+\definecolor{bioaz}{rgb}{0.204,0.325,0.631}
119
+\definecolor{biove}{rgb}{0.24,0.63,0.37}
120
+\definecolor{bioli}{rgb}{0.667,0.9333,0.667}
121
+
122
+\newcommand{\blue}{\color{bioaz}}
123
+\newcommand{\green}{\color{biove}}
124
+
125
+%
126
+% define BIOINF title page commands
127
+%
128
+\newcommand{\customtitlepage}[2]{%
129
+\thispagestyle{empty}
130
+#2
131
+\vfill
132
+\noindent\makebox[0pt][l]{%
133
+\setlength{\unitlength}{1cm}
134
+\begin{picture}(0,0)(2,2.4)
135
+%\put(0,25.5){\makebox(0,0)[lb]{\color{bioli}\rule{19cm}{2.2cm}}}
136
+\put(19,25.5){\makebox(0,0)[rb]{\includegraphics[width=19cm]{bioinf-bar}}}
137
+\put(0.3,26.0){\makebox(0,0)[l]{\color{bioaz}\fontfamily{phv}\bfseries\large%
138
+Institute of Bioinformatics, Johannes Kepler University Linz}}
139
+\put(0.3,26.9){\makebox(0,0)[l]{\color{bioaz}\fontfamily{phv}\bfseries\Huge #1}}
140
+\put(0,1.6){\makebox(0,0)[lb]{\color{bioli}\rule{19cm}{1mm}}}
141
+\put(0,0){\makebox(0,0)[lb]{\fontfamily{phv}\normalsize\begin{tabular}[b]{l}
142
+Institute of Bioinformatics\\
143
+Johannes Kepler University Linz\\
144
+A-4040 Linz, Austria
145
+\end{tabular}}}
146
+\put(19,0){\makebox(0,0)[rb]{\fontfamily{phv}\normalsize\begin{tabular}[b]{r}
147
+Tel. +43 732 2468 4520\\
148
+Fax +43 732 2468 4539\\
149
+http://www.bioinf.jku.at
150
+\end{tabular}}}
151
+%\put(0,24.5){\makebox(0,0)[lt]{\noindent\begin{minipage}{19cm}
152
+%#2
153
+%\end{minipage}}}
154
+\end{picture}}\newpage}
155
+
156
+\def\bioinf@number{}
157
+\def\bioinf@keywords{}
158
+\def\bioinf@abstract{}
159
+\def\bioinf@citation{}
160
+\def\bioinf@affiliation{}
161
+
162
+\newcommand{\affiliation}[1]{\def\bioinf@affiliation{#1}}
163
+\newcommand{\pubnumber}[1]{\def\bioinf@number{#1}}
164
+\newcommand{\setkeywords}[1]{\def\bioinf@keywords{#1}}
165
+\newcommand{\setabstract}[1]{\def\bioinf@abstract{#1}}
166
+\newcommand{\setcitation}[1]{\def\bioinf@citation{#1}}
167
+\newcommand{\affilmark}[1]{\textsuperscript{\scriptsize #1}}
168
+
169
+\newcommand{\doi}[1]{%
170
+\ifx\href\undefined
171
+doi:#1
172
+\else
173
+\href{http://dx.doi.org/#1}{doi:#1}
174
+\fi}
175
+
176
+\newcommand{\email}[1]{\ifx\href\undefined
177
+{\em #1}
178
+\else
179
+\href{mailto:#1}{{\em #1}}
180
+\fi}
181
+
182
+\newcommand{\reporttitlepage}[1]{\customtitlepage{#1}{%
183
+\mbox{ }
184
+\vfill
185
+\begin{center}
186
+\sffamily\bfseries\LARGE\@title
187
+\end{center}
188
+
189
+\begin{center}
190
+{\sffamily\bfseries\large\@author}\\[2mm]
191
+\ifx\@empty\bioinf@affiliation
192
+   \relax
193
+\else
194
+{\sffamily\normalsize\bioinf@affiliation}
195
+\end{center}
196
+\fi
197
+
198
+\vspace{1.5cm}
199
+
200
+\ifthenelse{\equal{}{\bioinf@abstract}}{%
201
+   \relax
202
+}{%
203
+    \centerline{\rule{15cm}{1pt}}\vspace{2mm}
204
+    \centerline{\begin{minipage}[b]{15cm}
205
+    \noindent{\bf Abstract --- } \bioinf@abstract
206
+    \end{minipage}}
207
+    \ifx\@empty\bioinf@keywords
208
+    \vspace{-1.5mm}\centerline{\rule{15cm}{1pt}}
209
+    \fi
210
+}
211
+
212
+\ifthenelse{\equal{}{\bioinf@keywords}}{%
213
+   \relax
214
+}{%
215
+    \ifx\@empty\bioinf@abstract
216
+    \centerline{\rule{15cm}{1pt}}\vspace{2mm}
217
+    \else
218
+    \vspace{5mm}
219
+    \fi
220
+    \centerline{\begin{minipage}[b]{15cm}
221
+    \noindent{\bf Key words --- } \bioinf@keywords
222
+    \end{minipage}}
223
+    \vspace{-1.5mm}\centerline{\rule{15cm}{1pt}}
224
+}
225
+
226
+\ifthenelse{\equal{}{\bioinf@citation}}{%
227
+   \relax
228
+}{%
229
+    \vspace{2cm}
230
+    \centerline{\begin{minipage}[b]{15cm}
231
+    \noindent{\bf Citation: } \bioinf@citation
232
+    \end{minipage}}
233
+}
234
+
235
+\vfill}}
236
+
237
+\newcommand{\researchreporttitlepage}{\reporttitlepage{Research Report \bioinf@number}}
238
+
239
+\newcommand{\techreporttitlepage}{\reporttitlepage{Technical Report \bioinf@number}}
240
+
241
+\newcommand{\preprinttitlepage}{\reporttitlepage{Publication Preprint}{}}
242
+
243
+\newcommand{\reprinttitlepage}{\reporttitlepage{Publication Reprint}{}}
244
+
245
+\newcommand{\manualtitlepage}[1][]{\customtitlepage{Software Manual}{%
246
+\mbox{ }
247
+\vfill
248
+\begin{center}
249
+\sffamily\bfseries\LARGE\@title
250
+\end{center}
251
+
252
+\ifthenelse{\equal{\@author}{}}{}{\begin{center}
253
+{\sffamily\bfseries\large\@author}\\[2mm]
254
+\ifx\@empty\bioinf@affiliation
255
+   \relax
256
+\else
257
+{\sffamily\normalsize\bioinf@affiliation}
258
+\end{center}
259
+\fi}
260
+
261
+\vspace{1cm}
262
+
263
+\begin{center}
264
+{\Large\sffamily\bfseries #1}
265
+\end{center}
266
+
267
+\vfill
268
+
269
+\mbox{ }}}
270
+
271
+\newcommand{\lecturenotestitlepage}[1][]{\customtitlepage{Lecture Notes}{%
272
+\ifthenelse{\equal{#1}{}}{%
273
+\vspace*{2cm}
274
+\begin{center}
275
+\sffamily\bfseries\huge \@title
276
+\end{center}
277
+
278
+\vspace{2cm}
279
+
280
+\begin{center}
281
+\sffamily\bfseries\Large \@author
282
+\end{center}
283
+
284
+\vfill
285
+
286
+\mbox{ }}{%
287
+{\LARGE\sffamily\bfseries\mbox{ }
288
+
289
+\vfill
290
+
291
+\begin{center}
292
+#1
293
+\end{center}
294
+\vfill
295
+
296
+\vfill
297
+
298
+\mbox{ }}}}}
299
+
300
+\newcommand{\copyrightpage}[1][]{%
301
+\clearpage
302
+\mbox{ }
303
+
304
+\vfill
305
+
306
+\vfill
307
+
308
+\noindent{\large \textcircled{c}
309
+\ifthenelse{\equal{#1}{}}{%
310
+\@author}{%
311
+#1}}\\[7mm]
312
+\noindent \BIOINFCopyrightNotice\thispagestyle{empty}
313
+
314
+\vfill
315
+
316
+\mbox{ }
317
+\clearpage}
318
+
319
+\newcommand{\BIOINFCopyrightNotice}{This material, no matter whether in printed or electronic
320
+form, may be used for personal and educational use only. Any
321
+reproduction of this manuscript, no matter whether as a whole or in
322
+parts, no matter whether in printed or in electronic form, requires
323
+explicit prior acceptance of the author.}
324
+
325
+\endinput
326
+%
327
+% end of scch-tr.cls
328
+%