Math & Sciencemultiple Texshade errors in TexLive 2009

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
Samonios
Posts: 5
Joined: Fri Feb 18, 2011 10:15 am

multiple Texshade errors in TexLive 2009

Post by Samonios »

First, Hi to you all :)
I am using TexLive 2009, and the Texshade package for representation og sequence alignments (files are edited using vim and compiling is done from terminal using the latex command). I get the following errors:
-some texshade commands do not work at all:

Code: Select all

! Undefined control sequence.
ex: \featurestylenamesf
-the rendering of the colors is weird when using the similar shading mode (didn't try others for now):colored background, but the rectangular area just around the letter is always white.
-the solving of the typical memory error does not work:
http://www.ctan.org/tex-archive/macros/ ... /tsfaq.pdf
That is, I change what needs to be changed in the corresponding files, but when i run latex, it is still the same word limit as before...

Hope somenone got a clue ^^

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

multiple Texshade errors in TexLive 2009

Post by frabjous »

Please provide a complete minimal working example showing such errors.
Samonios
Posts: 5
Joined: Fri Feb 18, 2011 10:15 am

multiple Texshade errors in TexLive 2009

Post by Samonios »

Sorry for late answer.
Here is the mwe (using the AQPpro.MSF file):

Code: Select all

\documentclass{report}
\usepackage[a4paper]{geometry}
\usepackage[english]{babel}
\usepackage[utf8]{inputenc}
\usepackage{changepage,setspace}
\usepackage{graphicx,booktabs,float,caption, subfigure}
\captionsetup{font=footnotesize,labelfont=bf,singlelinecheck=false}
\captionsetup[table]{position=above,skip=0pt}
\usepackage{amsmath,texshade,amssymb}
\begin{document}
\begin{figure}
\begin{landscape}
\begin{texshade}{AQPpro.MSF}
\shadingmode{similar}
\threshold[80]{50}
\setsize{names}{scriptsize}
\setsize{residues}{scriptsize}
\setsize{numbering}{scriptsize}
\setsize{features}{scriptsize}
\setsize{legend}{scriptsize}
\setends{1}{30..63}
\feature{top}{2}{31..39}{helix}{}
\feature{top}{2}{50..54}{-->}{}
\showfeaturestylename{top}{2nd seq.}
\featurestylenamesf
\hideconsensus
\end{texshade}
\end{landscape}
 \caption{\textbf{Test figure.} Figure generated using the \TeXshade package for latex.}
\end{figure}
\end{document}
Errors (evince mwe.dvi):
alignment not in landscape (I know this is not a texshade error)
colors in the shading boxes
feature arrow not centered
feature name not in scriptsize
texshade logo

colors and textshade logo are fixed when running dvipdf mwe.dvi (?)

Additionnal question: how to get dots instead of the helix when I have gaps in the corresponding sequence?

Thanks in advance.
Post Reply