How can I use the default LaTeX typewriter font along with a Sans Serif libertine font?






\section*{My Section Heading}


The typewriter font in the output PDF does not match with the rest of the document and actually looks weird, as shown in the following picture (a magnified version of the picture is also illustrated).

enter image description here


You just need to add the option mono=false (or tt=false) to

\usepackage[scaled, mono=false]{libertine} 

This is described at the libertine documentation:

Use the mono=false (or tt=false) option to suppress activating LibertineMono.

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.