diff options
Diffstat (limited to 'macros/latex/contrib/texshade/texshade.dtx')
-rw-r--r-- | macros/latex/contrib/texshade/texshade.dtx | 25 |
1 files changed, 17 insertions, 8 deletions
diff --git a/macros/latex/contrib/texshade/texshade.dtx b/macros/latex/contrib/texshade/texshade.dtx index 2f14d41653..44fad1c38f 100644 --- a/macros/latex/contrib/texshade/texshade.dtx +++ b/macros/latex/contrib/texshade/texshade.dtx @@ -10,8 +10,7 @@ % `README.txt' for further information! % % -% Copyright (C) 1999-2021 Eric Beitz -% See the file texshade.txt +% Copyright (C) 1999-2023 Eric Beitz % % \fi % @@ -419,6 +418,10 @@ % structure meme paper was added; % `par' line endings now treated correctly.} % +% \changes{1.26b}{2023-05-28}{% +% Corrections: shading, tinting, emphasizing, lower casing +% of motifs now works with set domains.} +% % % % \CharacterTable @@ -458,7 +461,7 @@ % for further information, updates and on-line documentation % see my homepage at % \texttt{www.pharmazie.uni-kiel.de/chem/Prof\_Beitz/biotex.html} }} -% \date{\small v1.26a; 2022/08/29\\[2pt]} +% \date{\small v1.26b; 2023/05/28\\[2pt]} % \maketitle % \begin{abstract} % Setting alignments of nucleotides and peptides for publication @@ -542,12 +545,12 @@ % % \subsection{Version History} % -% \textbf{v1.26(a) 2021/04/01 (2022/08/29)} +% \textbf{v1.26(a, b) 2021/04/01 (2022/08/29, 2023/05/28)} % \medskip % % \emph{Corrections}: Frames at line ends remain open to indicate % continuity of the marked region, and |\par| line endings are now treated -% correctly. +% correctly; motifs are now properly located in set domains for shading etc. % % \emph{Introductions:} % Chimera command file export option for 'structure memes' @@ -6611,8 +6614,8 @@ % \begin{macrocode} %<*texshade> \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{texshade}[2022/08/29 LaTeX TeXshade (v1.26a)] -\message{Package `texshade', Version 1.26a of 2022/08/29.} +\ProvidesPackage{texshade}[2023/05/28 LaTeX TeXshade (v1.26b)] +\message{Package `texshade', Version 1.26b of 2023/05/28.} \PassOptionsToPackage{dvips}{color} \PassOptionsToPackage{dvips}{graphicx} @@ -10073,7 +10076,11 @@ \advance\temp@@count by 1 \xdef\first@@{\csname motif\the\temp@@count\endcsname} \expandafter\get@motif@specs\first@@ - \xdef\first@@{\csname sequence\seq@\endcsname &@} + \if\dom@in\y@ + \xdef\first@@{\csname seq@dom\seq@\endcsname &@} + \else + \xdef\first@@{\csname sequence\seq@\endcsname &@} + \fi \temp@count=\csname res@count\seq@\endcsname \expandafter\ifnum\csname seq@start\seq@\endcsname<0 \ifx\allow@zero\n@ \advance\temp@count by 1 \fi\fi \xdef\f@text@{\@ll} @@ -21371,6 +21378,7 @@ \expandafter\xdef\csname T@cof\the\loopcount\endcsname{\temp@ &@} \expandafter\xdef\csname T@coffee\the\loopcount\endcsname{} \fi + \expandafter\xdef\csname seq@dom\the\loopcount\endcsname{\csname sequence\the\loopcount\endcsname} \expandafter\xdef\csname seq\the\loopcount\endcsname{\csname sequence\the\loopcount\endcsname &@} \expandafter\xdef\csname sequence\the\loopcount\endcsname{} \expandafter\xdef\csname dom@num\the\loopcount\endcsname{} @@ -21486,6 +21494,7 @@ \expandafter\xdef\csname T@cof\the\loopcount\endcsname{\temp@ &@} \expandafter\xdef\csname T@coffee\the\loopcount\endcsname{} \fi + \expandafter\xdef\csname seq@dom\the\loopcount\endcsname{\csname sequence\the\loopcount\endcsname} \expandafter\xdef\csname seq\the\loopcount\endcsname{\csname sequence\the\loopcount\endcsname &@} \expandafter\xdef\csname sequence\the\loopcount\endcsname{} \expandafter\xdef\csname dom@num\the\loopcount\endcsname{} |