summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/seqsplit
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/seqsplit')
-rw-r--r--Master/texmf-dist/tex/latex/seqsplit/seqsplit.sty41
1 files changed, 41 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/seqsplit/seqsplit.sty b/Master/texmf-dist/tex/latex/seqsplit/seqsplit.sty
new file mode 100644
index 00000000000..995f640068d
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/seqsplit/seqsplit.sty
@@ -0,0 +1,41 @@
+%%
+%% This is file `seqsplit.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% seqsplit.dtx (with options: `style')
+%%
+%% IMPORTANT NOTICE:
+%%
+%% For the copyright see the source file.
+%%
+%% Any modified versions of this file must be renamed
+%% with new filenames distinct from seqsplit.sty.
+%%
+%% For distribution of the original source see the terms
+%% for copying and modification in the file seqsplit.dtx.
+%%
+%% This generated file may be distributed as long as the
+%% original source files, as listed above, are part of the
+%% same distribution. (The sources need not necessarily be
+%% in the same archive or directory.)
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{seqsplit}
+[2006/08/07 v0.1 Splitting long sequences (DNA, RNA, proteins, etc.) ]
+\def\seqinsert{\ifmmode\allowbreak\else\hspace{0pt plus 0.02em}\fi}
+\def\seqsplit#1{\SQSPL@scan#1\SQSPL@end}
+\def\SQSPL@scan{\futurelet\SQSPL@next\SQSPL@scani}
+\def\SQSPL@scani#1{%
+ \ifx \SQSPL@end \SQSPL@next \def\SQSPL@process{\@gobble}%
+ \else \def\SQSPL@process{\SQSPL@doprocess}\fi%
+ \SQSPL@process{#1}}
+\def\SQSPL@doprocess#1{#1\SQSPL@insert}
+\def\SQSPL@insert{\futurelet\SQSPL@next\SQSPL@doinsert}
+\def\SQSPL@doinsert{%
+ \ifx \SQSPL@end \SQSPL@next \relax%
+ \else \seqinsert \fi%
+ \SQSPL@scan}
+\endinput
+%%
+%% End of file `seqsplit.sty'.