In the following example, I using two different text environments to generate text visualizations: texshade and adjustwidth. The code calling texshade hereby generates formatted text in a different font type and font size than the code calling adjustwidth.

\usepackage[active, tightpage]{preview}



        Taxon\_1: Foo Bar Baz Qux\\
        Taxon\_2: Foo Bar Baz Qux


How can I find out what font type and font size is set by default in texshade, and how can I continue to use the exact font type and font size in adjustwidth?

Edit: The content of file test.fas are as follows:

  • What's in test.fas? – Torbjørn T. May 17 '16 at 18:37
  • @TorbjørnT. See edited post. – Michael G May 17 '16 at 18:39
  • Does adding \ttfamily at the start of adjustwidth do it? – Torbjørn T. May 17 '16 at 18:45

Looks like the default monospaced font is used in texshade, so all you need is to add \ttfamily at the start of adjustwidth. I also had to add \usepackage[T1]{fontenc} to get an exact match.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.