blob: 995f640068de3729fb28f8ca24a38f95a5ae351b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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'.
|