summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/textopo/biotex.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/textopo/biotex.sty')
-rw-r--r--Master/texmf-dist/tex/latex/textopo/biotex.sty77
1 files changed, 77 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/textopo/biotex.sty b/Master/texmf-dist/tex/latex/textopo/biotex.sty
new file mode 100644
index 00000000000..8462e9ca240
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/textopo/biotex.sty
@@ -0,0 +1,77 @@
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{biotex}[2001/08/08 LaTeX BioTeX Bundle (v1.1)]
+
+\catcode`\@=11
+
+\expandafter\ifx\csname BioTeX\endcsname\relax \else \endinput \fi
+
+\def\BioTeX{\mbox{\textsc{Bio}\kern-0.5ex\TeX}}
+
+\message{Welcome to the BioTeX Bundle Version 1.1 of 01/08/08}
+
+\DeclareOption*{%
+ \PassOptionsToPackage{\CurrentOption}{texshade}%
+ \PassOptionsToPackage{\CurrentOption}{textopo}%
+}
+\ProcessOptions
+
+\newread\in@file
+
+\expandafter\ifx\csname TeXshade\endcsname\relax
+ \openin\in@file = texshade.sty
+ \ifeof\in@file
+ \PackageError{BioTeX}
+ {`texshade.sty' not found}
+ {\MessageBreak
+ I can not find the TeXshade package on your computer.\MessageBreak
+ That means that neither setting of sequence alignments\MessageBreak
+ nor shading of topology plots or helical wheels\MessageBreak
+ can be applied.\MessageBreak
+ TeXshade is available from any CTAN site or from the\MessageBreak
+ BioTeX (TeXshade/TeXtopo) homepage: \MessageBreak
+ http://homepages.uni-tuebingen.de/beitz/tse.html
+ \MessageBreak\MessageBreak
+ You can proceed <return> or stop by typing X <return>. \MessageBreak
+}
+ \else \RequirePackage{texshade}
+ \expandafter\ifx\csname geneticcode\endcsname\relax
+ \PackageError{BioTeX}
+ {(actually a warning only) `texshade.sty' too old}
+ {\MessageBreak
+ The TeXshade version your are about to use is not\MessageBreak
+ compatible with TeXtopo. \MessageBreak
+ In order to apply shading on topology plots you\MessageBreak
+ need to install a more recent TeXshade package\MessageBreak
+ (v1.3 or newer). \MessageBreak
+ TeXshade is available from any CTAN site or from the \MessageBreak
+ BioTeX (TeXshade/TeXtopo) homepage: \MessageBreak
+ http://homepages.uni-tuebingen.de/beitz/tse.html
+ \MessageBreak\MessageBreak
+ You can proceed <return> or stop by typing X <return>. \MessageBreak
+}
+ \fi
+ \closein\in@file
+ \fi
+\fi
+
+\expandafter\ifx\csname TeXtopo\endcsname\relax
+ \openin\in@file = textopo.sty
+ \ifeof\in@file
+ \PackageError{BioTeX}
+ {`textopo.sty' not found}
+ {\MessageBreak
+ I can not find the TeXtopo package on your computer.\MessageBreak
+ That means that neither topology plots nor helical wheels\MessageBreak
+ can be set.\MessageBreak
+ TeXtopo is available from any CTAN site or from the\MessageBreak
+ BioTeX (TeXshade/TeXtopo) homepage: \MessageBreak
+ http://homepages.uni-tuebingen.de/beitz/tse.html
+ \MessageBreak\MessageBreak
+ You can proceed <return> or stop by typing X <return>. \MessageBreak
+}
+ \else \RequirePackage{textopo} \fi
+ \closein\in@file
+\fi
+
+\catcode`\@=12
+