I realize this is a very specific question about a certain package: texshade, but I also realize that some of the users here also use this package and might be able to help me out
I have made a multiple sequence alignment, and show only the sequence logo:
\documentclass{article}
\usepackage{fontspec}
\usepackage{xunicode}
\usepackage{xltxtra}
\usepackage{texshade}
\begin{document}
\begin{texshade}{sample.aln}
\setfamily{numbering}{sf}
\setfamily{names}{sf}
\setfamily{residues}{sf}
\setfamily{features}{sf}
\setfamily{featurestyles}{sf}
\setfamily{hideblock}{sf}
\setfamily{legend}{sf}
\hideconsensus
\hidenumbering
\hideseqs
\showsequencelogo{bottom}
\end{texshade}
\end{document}
As you can see in this example I have tried to set every possible font feature to the sans serif font. However the sequence logo itself is still depicted as a rm font. The labels in the logo (such as the word "logo") are correctly changed to the SF font.
I suspect currently loaded mathfont is used to render the sequencelogo?
NOTE:actual fontspec fontselection not shown.
sample ALN file can be downloaded here
\documentclass{}, thefontspeccode you are using to define fonts, and any other pieces that might be necessary)? Also, if there's code in the example that isn't necessary to show the problem (like thefigureenvironment) it can be removed too. – Alan Munn May 1 '11 at 16:01texshadebeforefontspec. Also, the logo isn't being set in the\rmdefaultfont, it's being set in\ttdefaultfont. – Alan Munn May 1 '11 at 17:40