In the posts to the question of Timtico (here) several ways have been proposed to colour the As,Ts,Cs and Gs differently within a DNA sequence. What I want is also to be able to underline some nucleotides to emphasise them, e.g.: \dna{ATACAG$\underbar{AG}$CATA} but I didn't manage to do so. Does anyone have suggestions to this problem? Thank you very much!
Tell me more
×
TeX - LaTeX Stack Exchange is a question and answer site for
users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.
|
I added a delimiter to the code from my answer at typesetting different characters with different colors in a DNA sequence
The result is I think, this should work for you. |
|||||||||
|

AG? Not everyone here is a biologist. Please describe your question without many professional terms, and provide some examples/pictures to illustrate the question. – Leo Liu May 22 '11 at 11:51texshadepackage (Typesetting nucleotide and peptide alignments) and maybe alsotextopo(for shaded membrane protein topology plots) by the same author. – cgnieder Mar 22 '12 at 17:52