3
votes
3answers
183 views

How to improve this text highlighting?

I want to highlight some letters which represent an amino acid sequence of a protein using different colors. The below code works fine, but the highlighted box is not fitting exactly the letters, as ...
1
vote
1answer
47 views

Soul letterspacing in memoir sections with \setsecheadstyle

I realize I have asked almost the same question earlier. There, the answer involved xparse or titlesec. Titlesec however gets into conflicts with memoir's pagestyles (running header settings, ...
5
votes
1answer
237 views

Switching a string in a token register to lowercase and processing via the package soul

I would like to store a string in a token register, transform it to all-lowercase, and process the resulting string via the macro \caps provided by the package soul. That is to say, transform the ...
4
votes
1answer
408 views

Letterspacing memoir section headers

I'd like to add letterspacing to the \section commands with \setsecheadstyle in a memoir book. I tried using soul: \sodef\soSection{}{.1em}{.5em plus.1em}{.1em plus.1em minus.1em} ...